Maven-distributed Java clients for Google Cloud APIs with idiomatic abstractions. Stable and preview libraries cover storage, BigQuery, compute, and dozens of other GCP products.
Overview
Google Cloud Java Client Libraries let Java applications call Google Cloud Platform services using language-idiomatic wrappers rather than hand-written REST calls. Google’s documentation recommends these clients as the primary way to access Cloud APIs, emphasizing reduced boilerplate and clearer high-level types.
Individual artifacts on Maven Central correspond to services such as BigQuery, Cloud Storage, Firestore, Kubernetes Engine, Dialogflow, and many admin APIs. When a service lacks a dedicated client, the older google-api-java-client REST stack remains available, but new work should prefer the listed Cloud clients.
Libraries follow semantic versioning with stability tiers. Stable modules promise backward-compatible updates except for major bumps; preview-quality modules may change more often. Annotations mark beta or internal APIs that consumers should treat cautiously.
IDE plugins for IntelliJ and Eclipse can add clients to a project and help manage service account keys. The clients run on App Engine standard Java 8, App Engine flexible, and compatible runtimes, with some limitations on older App Engine Java 7 except for a subset including Datastore, Storage, and BigQuery.
Key features
- Maven Central artifacts per GCP API
- Stable and preview release levels
- Semantic versioning policy
- High-level service abstractions
- IntelliJ and Eclipse IDE plugins
- App Engine and flexible runtime support
- Fallback legacy REST client option
- Wide coverage of GCP product APIs
Use cases
- Java backends using Cloud Storage
- Enterprise apps on App Engine
- Data pipelines with BigQuery clients
- GKE and Compute administration code
- Firestore and Datastore application data