Skip to content

googleapis/google-api-java-client-services

Google Java API Client Services

This repository contains the generated source for individual APIs that utilize Google APIs Client Library for Java. We recommend using the Google Auth Library for Java for handling authentication.

Requirements

Supported Google APIs

You can find the list of available APIs below or you can find the published packages on Maven Central.

API Versions
AI Platform Training & Prediction API v1
API Discovery Service v1
API Gateway API v1, v1beta
API Keys API v2
API Management API v1alpha
Abusive Experience Report API v1
Accelerated Mobile Pages (AMP) URL API v1
Access Approval API v1
Access Context Manager API v1
Ad Exchange Buyer API II v2beta1
Ad Experience Report API v1
AdMob API v1, v1beta
AdSense Host API v4.1
AdSense Management API v2
AdSense Platform API v1, v1alpha
Address Validation API v1
Admin SDK API datatransfer_v1, directory_v1, reports_v1
Advisory Notifications API v1
Air Quality API v1
AlloyDB API v1, v1alpha, v1beta
Analytics Hub API v1, v1beta1
Analytics Reporting API v4
Android Device Provisioning Partner API v1
Android Management API v1
Apigee API v1
Apigee Registry API v1
App Engine Admin API v1, v1alpha, v1beta
App Hub API v1, v1alpha
Application Integration API v1
Apps Script API v1
Area120 Tables API v1alpha1
Artifact Registry API v1, v1beta1, v1beta2
Assured Workloads API v1, v1beta1
Authorized Buyers Marketplace API v1, v1alpha
Backup and DR Service API v1
Backup for GKE API v1
Bare Metal Solution API v2
Batch API v1
BeyondCorp API v1, v1alpha
BigLake API v1
BigQuery API v2
BigQuery Connection API v1, v1beta1
BigQuery Data Policy API v1
BigQuery Data Transfer API v1
BigQuery Reservation API v1
Binary Authorization API v1, v1beta1
Blockchain Node Engine API v1
Blogger API v2, v3
Books API v1
Business Profile Performance API v1
CSS API v1
Calendar API v3
Campaign Manager 360 API v3.5, v4
Certificate Authority API v1, v1beta1
Certificate Manager API v1
Checks API v1alpha
Chrome Management API v1
Chrome Policy API v1
Chrome UX Report API v1
Chrome Verified Access API v1, v2
Cloud Asset API v1, v1beta1, v1p1beta1, v1p5beta1, v1p7beta1
Cloud Bigtable Admin API v2
Cloud Billing API v1, v1beta
Cloud Billing Budget API v1, v1beta1
Cloud Build API v1, v2
Cloud Channel API v1
Cloud Composer API v1, v1beta1
Cloud Controls Partner API v1, v1beta
Cloud DNS API v1, v1beta2
Cloud Data Fusion API v1, v1beta1
Cloud Dataplex API v1
Cloud Dataproc API v1
Cloud Datastore API v1, v1beta1, v1beta3
Cloud Deploy API v1
Cloud Deployment Manager V2 API alpha, v2, v2beta
Cloud Document AI API v1, v1beta2, v1beta3
Cloud Domains API v1, v1alpha2, v1beta1
Cloud Filestore API v1, v1beta1
Cloud Firestore API v1, v1beta1, v1beta2
Cloud Functions API v1, v2, v2alpha, v2beta
Cloud Healthcare API v1, v1beta1
Cloud IDS API v1
Cloud Identity API v1, v1beta1
Cloud Identity-Aware Proxy API v1, v1beta1
Cloud Key Management Service (KMS) API v1
Cloud Life Sciences API v2beta
Cloud Logging API v2
Cloud Memorystore for Memcached API v1, v1beta2
Cloud Monitoring API v1, v3
Cloud Natural Language API v1, v1beta2, v2
Cloud OS Login API v1, v1alpha, v1beta
Cloud Profiler API v2
Cloud Pub/Sub API v1, v1beta1a, v1beta2
Cloud Resource Manager API v1, v1beta1, v2, v2beta1, v3
Cloud Run Admin API v1, v2
Cloud Runtime Configuration API v1, v1beta1
Cloud SQL Admin API v1, v1beta4
Cloud Scheduler API v1, v1beta1
Cloud Search API v1
Cloud Shell API v1
Cloud Spanner API v1
Cloud Speech-to-Text API v1, v1p1beta1
Cloud Storage JSON API v1
Cloud Storage for Firebase API v1beta
Cloud TPU API v1, v1alpha1, v2, v2alpha1
Cloud Talent Solution API v3, v3p1beta1, v4
Cloud Tasks API v2, v2beta2, v2beta3
Cloud Testing API v1
Cloud Text-to-Speech API v1, v1beta1
Cloud Tool Results API v1beta3
Cloud Trace API v1, v2, v2beta1
Cloud Translation API v3, v3beta1
Cloud Video Intelligence API v1, v1beta2, v1p1beta1, v1p2beta1, v1p3beta1
Cloud Vision API v1, v1p1beta1, v1p2beta1
Cloud Workstations API v1, v1beta
Compute Engine API alpha, beta, v1
Connectors API v1, v2
Contact Center AI Insights API v1
Contact Center AI Platform API v1alpha1
Container Analysis API v1, v1alpha1, v1beta1
Content API for Shopping v2.1
Custom Search API v1
Data Labeling API v1beta1
Data Lineage API v1
Data Portability API v1, v1beta
Data pipelines API v1
Database Migration API v1, v1beta1
Dataflow API v1b3
Dataform API v1beta1
Dataproc Metastore API v1, v1alpha, v1beta
Datastream API v1, v1alpha1
Developer Connect API v1
Dialogflow API v2, v2beta1, v3, v3beta1
Digital Asset Links API v1
Discovery Engine API v1, v1alpha, v1beta
Display & Video 360 API v2, v3
Document AI Warehouse API v1
DoubleClick Bid Manager API v2
Drive Activity API v2
Drive Labels API v2, v2beta
Enterprise License Manager API v1
Error Reporting API v1beta1
Essential Contacts API v1
Eventarc API v1
Fact Check Tools API v1alpha1
Firebase App Check API v1, v1beta
Firebase App Distribution API v1, v1alpha
Firebase Cloud Messaging API v1
Firebase Cloud Messaging Data API v1beta1
Firebase Dynamic Links API v1
Firebase Hosting API v1, v1beta1
Firebase ML API v1, v1beta2, v2beta
Firebase Management API v1beta1
Firebase Realtime Database API v1beta
Firebase Rules API v1
Fitness API v1
GDC Virtual API v1
GKE Hub API v1, v1alpha, v1beta, v1beta1, v2, v2alpha, v2beta
Gmail API v1
Gmail Postmaster Tools API v1, v1beta1
Google Analytics API v3
Google Analytics Admin API v1alpha, v1beta
Google Analytics Data API v1beta
Google Chat API v1
Google Civic Information API v2
Google Classroom API v1
Google Cloud Data Catalog API v1, v1beta1
Google Cloud Memorystore for Redis API v1, v1beta1
Google Cloud Support API v2, v2beta
Google Cloud Translation API v2
Google Docs API v1
Google Drive API v2, v3
Google Forms API v1
Google Identity Toolkit API v3
Google Keep API v1
Google Marketing Platform Admin API v1alpha
Google Meet API v2
Google OAuth2 API v2
Google Play Android Developer API v3
Google Play Custom App Publishing API v1
Google Play Developer Reporting API v1alpha1, v1beta1
Google Play EMM API v1
Google Play Game Management v1management
Google Play Game Services v1
Google Play Game Services Publishing API v1configuration
Google Play Grouping API v1alpha1
Google Play Integrity API v1
Google Search Console API v1
Google Sheets API v4
Google Site Verification API v1
Google Slides API v1
Google Tasks API v1
Google Vault API v1
Google Wallet API v1
Google Workspace Alert Center API v1beta1
Google Workspace Events API v1
Google Workspace Reseller API v1
Groups Migration API v1
Groups Settings API v1
HomeGraph API v1
IAM Service Account Credentials API v1
Identity Toolkit API v1, v2
Identity and Access Management (IAM) API v1, v2, v2beta
Infrastructure Manager API v1
KMS Inventory API v1
Knowledge Graph Search API v1
Kubernetes Engine API v1, v1beta1
Library Agent API v1
Local Services API v1
Looker (Google Cloud core) API v1
Managed Service for Microsoft Active Directory API v1, v1alpha1, v1beta1
Manufacturer Center API v1
Merchant API accounts_v1beta, conversions_v1beta, datasources_v1beta, inventories_v1beta, lfp_v1beta, notifications_v1beta, products_v1beta, promotions_v1beta, quota_v1beta, reports_v1beta
Migration Center API v1, v1alpha1
My Business Account Management API v1
My Business Business Information API v1
My Business Lodging API v1
My Business Notifications API v1
My Business Place Actions API v1
My Business Q&A API v1
My Business Verifications API v1
Network Connectivity API v1, v1alpha1
Network Management API v1, v1beta1
Network Security API v1, v1beta1
Network Services API v1, v1beta1
Notebooks API v1, v2
OS Config API v1, v1alpha, v1beta
On-Demand Scanning API v1, v1beta1
Organization Policy API v2
PageSpeed Insights API v5
Payments Reseller Subscription API v1
People API v1
Places API (New) v1
Policy Analyzer API v1, v1beta1
Policy Simulator API v1, v1alpha, v1beta
Policy Troubleshooter API v1, v1beta
Pollen API v1
Pub/Sub Lite API v1
Public Certificate Authority API v1, v1alpha1, v1beta1
Rapid Migration Assessment API v1
Reader Revenue Subscription Linking API v1
Real-time Bidding API v1
Recommendations AI (Beta) v1beta1
Recommender API v1, v1beta1
Resource Settings API v1
SAS Portal API v1alpha1
SAS Portal API (Testing) v1alpha1
Safe Browsing API v4, v5
Search Ads 360 API v2
Search Ads 360 Reporting API v0
Secret Manager API v1, v1beta1, v1beta2
Security Command Center API v1, v1beta1, v1beta2
Security Token Service API v1, v1beta
Sensitive Data Protection (DLP) v2
Serverless VPC Access API v1, v1beta1
Service Consumer Management API v1, v1beta1
Service Control API v1, v2
Service Directory API v1, v1beta1
Service Management API v1
Service Networking API v1, v1beta
Service Usage API v1, v1beta1
Smart Device Management API v1
Solar API v1
Storage Transfer API v1
Street View Publish API v1
Tag Manager API v1, v2
Traffic Director API v2, v3
Transcoder API v1
Travel Impact Model API v1
VM Migration API v1, v1alpha1
VMware Engine API v1
Vertex AI API v1, v1beta1
Vertex AI Search for Retail API v2, v2alpha, v2beta
Web Fonts Developer API v1
Web Risk API v1
Web Search Indexing API v3
Web Security Scanner API v1, v1alpha, v1beta
Workflow Executions API v1, v1beta
Workflows API v1, v1beta
Workload Manager API v1
YouTube Analytics API v2
YouTube Data API v3 v3
YouTube Reporting API v1
reCAPTCHA Enterprise API v1
versionhistory.googleapis.com API v1

Authentication

google-api-java recommends using the google-auth-library-java library to authenticate HTTPS requests. google-auth-library-java supports a wide range of authentication types; see the project's README for how to use credentials with google-http-client and javadoc for more details.

How the code is updated and published

See document.

Generating the API clients locally

If you want to generate certain code locally for troubleshooting purpose, please follow these steps:

Generating the API clients requires git and Python 3.6.

  1. Install the generator dependencies:

    cd /path/to/google-api-java-client-services/generator
    python -m pip install -r generator_requirements.in
  2. Run the generator:

    This is an example for Admin Directory v1. Note that 2.0.0 corresponds to the latest variant of the generator. Make sure your discovery-artifact-manager repo is up to date. Output doesn't have to be the exact location of the old library.

    python /path/to/google-api-java-client-services/generator/src/googleapis/codegen \
        --input=/path/to/discovery-artifact-manager/discoveries/admin.directory_v1.json \
        --output_dir=/path/to/google-api-java-client-services/clients/google-api-services-admin/directory_v1/2.0.0 \
        --language=java \
        --language_variant=2.0.0 \
        --package_path=api/services