Home

Awesome

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.

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

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