Skip to content

googleapis/google-cloud-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Google Cloud Java Client Libraries

Java idiomatic client for Google Cloud Platform services.

Documentation

See the official guide to get setup and started with development.

Supported APIs

Libraries are available on GitHub and Maven Central for developing Java applications that interact with individual Google Cloud services:

Client Release Level Version
AI Platform Notebooks stable Maven
API Gateway stable Maven
API Keys API stable Maven
Access Approval stable Maven
Advisory Notifications API stable Maven
AlloyDB stable Maven
AlloyDB connectors stable Maven
Analytics Hub API stable Maven
Apigee Connect stable Maven
App Engine Admin API stable Maven
Artifact Registry stable Maven
Asset Inventory stable Maven
Assured Workloads for Government stable Maven
Auto ML stable Maven
Backup and DR Service API stable Maven
BigQuery stable Maven
BigQuery Connection stable Maven
BigQuery Data Transfer Service stable Maven
BigQuery Reservation stable Maven
BigQuery Storage stable Maven
Bigtable stable Maven
Bigtable Hbase Client stable Maven
Billing stable Maven
Billing Budgets stable Maven
Binary Authorization stable Maven
Build stable Maven
CCAI Insights stable Maven
Certificate Authority Service stable Maven
Channel Services stable Maven
Composer stable Maven
Compute Engine stable Maven
Connect Gateway API stable Maven
Container Analysis stable Maven
Controls Partner API stable Maven
DNS stable Maven
Data Catalog stable Maven
Data Fusion stable Maven
Data Lineage stable Maven
Data Loss Prevention stable Maven
Database Migration Service stable Maven
Dataplex stable Maven
Dataproc stable Maven
Dataproc Metastore stable Maven
Datastore stable Maven
Datastream stable Maven
Deploy stable Maven
Dialogflow API stable Maven
Discovery Engine API stable Maven
Distributed Edge stable Maven
Distributed Edge Network API stable Maven
Document AI stable Maven
Domains stable Maven
Essential Contacts API stable Maven
Eventarc stable Maven
Filestore API stable Maven
Firestore stable Maven
Fleet Routing stable Maven
Functions stable Maven
GKE Hub API stable Maven
IAM stable Maven
IAM Admin API stable Maven
IAM Policy Troubleshooter API stable Maven
IAM Service Account Credentials API stable Maven
Identity Access Context Manager stable Maven
Identity-Aware Proxy API stable Maven
Infrastructure Manager API stable Maven
Internet of Things (IoT) Core stable Maven
Intrusion Detection System stable Maven
Key Management Service stable Maven
Kubernetes Engine stable Maven
Logging stable Maven
Managed Service for Microsoft Active Directory stable Maven
Memcache stable Maven
Monitoring Dashboards stable Maven
Natural Language stable Maven
Network Connectivity Center stable Maven
Network Management API stable Maven
Network Security API stable Maven
OS Config API stable Maven
OS Login stable Maven
Organization Policy stable Maven
Profiler stable Maven
Pub/Sub stable Maven
Pub/Sub Group Kafka Connector stable Maven
Pub/Sub Lite stable Maven
Pub/Sub Lite Kafka Shim stable Maven
Pub/Sub Lite Spark Connector stable Maven
Public Certificate Authority API stable Maven
Quotas API stable Maven
Recommender stable Maven
Redis stable Maven
Resource Manager API stable Maven
Retail stable Maven
Routes API stable Maven
Scheduler stable Maven
Secret Management stable Maven
Secure Source Manager API stable Maven
Security Center Management API stable Maven
Security Command Center stable Maven
Security Posture API stable Maven
Security Scanner stable Maven
Serverless VPC Access stable Maven
Service Control API stable Maven
Service Directory stable Maven
Service Management API stable Maven
Service Usage stable Maven
Shell stable Maven
Spanner stable Maven
Spanner JDBC stable Maven
Speech stable Maven
Stackdriver Monitoring stable Maven
Stackdriver Trace stable Maven
Storage stable Maven
Storage Transfer Service stable Maven
TPU stable Maven
Talent Solution stable Maven
Tasks stable Maven
Telco Automation API stable Maven
Text-to-Speech stable Maven
Translation stable Maven
VM Migration stable Maven
Vertex AI stable Maven
VertexAI API stable Maven
Video Intelligence stable Maven
Video Stitcher API stable Maven
Video Transcoder stable Maven
Vision stable Maven
Web Risk stable Maven
Workflow Executions stable Maven
Workflows stable Maven
Workspace Add-ons API stable Maven
Workstations stable Maven
reCAPTCHA Enterprise stable Maven
API hub API preview Maven
Ad Manager API preview Maven
Address Validation API preview Maven
Analytics Admin preview Maven
Analytics Data preview Maven
Analytics Hub preview Maven
Anthos Multicloud preview Maven
Managed Service for Apache Kafka API preview Maven
App Hub API preview Maven
Area 120 Tables preview Maven
Backup for GKE preview Maven
Bare Metal Solution preview Maven
Batch preview Maven
BeyondCorp AppConnections preview Maven
BeyondCorp AppConnectors preview Maven
BeyondCorp AppGateways preview Maven
BeyondCorp ClientConnectorServices preview Maven
BeyondCorp ClientGateways preview Maven
BigLake preview Maven
BigQuery DataPolicy API preview Maven
BigQuery Migration preview Maven
CSS API preview Maven
Certificate Manager preview Maven
Chat API preview Maven
Commerce Consumer Procurement preview Maven
Confidential Computing API preview Maven
Connect Gateway API preview Maven
Data Labeling preview Maven
Dataflow preview Maven
Dataform preview Maven
Developer Connect API preview Maven
Dialogflow CX preview Maven
Document AI Warehouse preview Maven
Enterprise Knowledge Graph preview Maven
Error Reporting preview Maven
Eventarc Publishing preview Maven
GDC Hardware Management API preview Maven
KMS Inventory API preview Maven
Life Sciences preview Maven
Live Stream API preview Maven
Logging Logback Appender preview Maven
Logging Servlet Initializer preview Maven
Maps Platform Datasets API preview Maven
Marketing Platform Admin API preview Maven
Media Translation API preview Maven
Meet API preview Maven
Memorystore for Redis API preview Maven
Merchant API preview Maven
Merchant API preview Maven
Merchant API preview Maven
Merchant API preview Maven
Merchant API preview Maven
Merchant API preview Maven
Merchant Conversions API preview Maven
Merchant LFP API preview Maven
Merchant Notifications API preview Maven
Merchant Quota API preview Maven
Migration Center API preview Maven
Monitoring Metrics Scopes preview Maven
NIO Filesystem Provider for Storage preview Maven
NetApp API preview Maven
Network Services API preview Maven
Oracle Database@API preview Maven
Parallelstore API preview Maven
Phishing Protection preview Maven
Places API (New) preview Maven
Places Insights API preview Maven
Policy Simulator API preview Maven
Private Catalog preview Maven
Privileged Access Manager API preview Maven
Pub/Sub Lite Flink Connector preview Maven
Rapid Migration Assessment API preview Maven
Recommendations AI preview Maven
Registry API preview Maven
Route Optimization API preview Maven
Run preview Maven
Security Command Center Settings API preview Maven
Service Health API preview Maven
Solar API preview Maven
Storage Insights API preview Maven
Support API preview Maven
VMware Engine preview Maven
Vision AI API preview Maven
Workspace Events API preview Maven

If the service is not listed, google-api-java-client interfaces with additional Google Cloud APIs using a legacy REST interface.

When building Java applications, preference should be given to the libraries listed in the table.

Testing

This library provides tools to help write tests for code that uses google-cloud services.

See TESTING to read more about using our testing helpers.

Versioning

This library follows Semantic Versioning, with some additional qualifications:

  1. Components marked with @BetaApi or @Experimental are considered to be "0.x" features inside a "1.x" library. This means they can change between minor and patch releases in incompatible ways. These features should not be used by any library "B" that itself has consumers, unless the components of library B that use @BetaApi features are also marked with @BetaApi. Features marked as @BetaApi are on a path to eventually become "1.x" features with the marker removed.

    Special exception for google-cloud-java: google-cloud-java is allowed to depend on @BetaApi features in gax-java without declaring the consuming code @BetaApi, because gax-java and google-cloud-java move in step with each other. For this reason, gax-java should not be used independently of google-cloud-java.

  2. Components marked with @InternalApi are technically public, but only because of the limitations of Java's access modifiers. For the purposes of semver, they should be considered private.

  3. Interfaces marked with @InternalExtensionOnly are public, but should only be implemented by internal classes. For the purposes of semver, we reserve the right to add to these interfaces without default implementations (for Java 7).

Please note these clients are currently under active development. Any release versioned 0.x.y is subject to backwards incompatible changes at any time.

Stable

Libraries defined at a Stable quality level are expected to be stable and all updates in the libraries are guaranteed to be backwards-compatible. Any backwards-incompatible changes will lead to the major version increment (1.x.y -> 2.0.0).

Preview

Libraries defined at a Preview quality level are still a work-in-progress and are more likely to get backwards-incompatible updates. Additionally, it's possible for Preview libraries to get deprecated and deleted before ever being promoted to Preview or Stable.

IDE Plugins

If you're using IntelliJ or Eclipse, you can add client libraries to your project using these IDE plugins:

Besides adding client libraries, the plugins provide additional functionality, such as service account key management. Refer to the documentation for each plugin for more details.

These client libraries can be used on App Engine standard for Java 8 runtime and App Engine flexible (including the Compat runtime). Most of the libraries do not work on the App Engine standard for Java 7 runtime. However, Datastore, Storage, and Bigquery should work.

Contributing

See CONTRIBUTING.md.

License

Apache 2.0 - See LICENSE for more information.