Node.js Cloud Client Libraries

The Cloud Client Libraries are the recommended way to access Google Cloud APIs programmatically. The Cloud Client Libraries support accessing Google Cloud services in a way that significantly reduces the boilerplate code you have to write. The libraries provide high-level API abstractions so they're easier to understand. They embrace idioms of the language, work well with the standard library, and integrate better with your codebase.

For more information about client libraries for Cloud APIs, see Cloud Client Libraries explained.

Click an API to find out how to use it in Node.js:

Libraries
AI Platform @google-cloud/aiplatform
@google-cloud/vertexai
AI Platform Data Labeling Service @google-cloud/datalabeling
API Gateway @google-cloud/api-gateway
API Keys API @google-cloud/apikeys
Access Approval @google-cloud/access-approval
Access Context Manager @google-cloud/access-context-manager
Advisory Notifications @google-cloud/advisorynotifications
AlloyDB for PostgreSQL @google-cloud/alloydb
Analytics Admin API @google-analytics/admin
Analytics Data API @google-analytics/data
Analytics Hub API @google-cloud/bigquery-data-exchange
Apigee Connect API @google-cloud/apigee-connect
App Engine Admin API @google-cloud/appengine-admin
App Hub @google-cloud/apphub
Artifact Registry @google-cloud/artifact-registry
Assured Workloads @google-cloud/assured-workloads
AutoML @google-cloud/automl
Backup and DR @google-cloud/backupdr
Backup for GKE @google-cloud/gke-backup
Bare Metal Solution @google-cloud/bare-metal-solution
Batch @google-cloud/batch
BeyondCorp Enterprise @google-cloud/appconnections
@google-cloud/appconnectors
@google-cloud/appgateways
@google-cloud/clientconnectorservices
@google-cloud/clientgateways
BigQuery @google-cloud/bigquery
BigQuery Connection API @google-cloud/bigquery-connection
BigQuery Data QnA @google-cloud/data-qna
BigQuery Data Transfer Service @google-cloud/bigquery-data-transfer
BigQuery DataPolicy API @google-cloud/bigquery-datapolicies
BigQuery Reservation API @google-cloud/bigquery-reservation
BigQuery Storage @google-cloud/bigquery-storage
Bigtable @google-cloud/bigtable
Binary Authorization @google-cloud/binary-authorization
Certificate Authority Service @google-cloud/security-private-ca
Certificate Manager @google-cloud/certificate-manager
Channel Services @google-cloud/channel
Chat API @google-apps/chat
Cloud Asset Inventory @google-cloud/asset
Cloud Billing @google-cloud/billing
Cloud Billing Budget API @google-cloud/billing-budgets
Cloud Build @google-cloud/cloudbuild
Cloud Composer @google-cloud/orchestration-airflow
Cloud DNS @google-cloud/dns
Cloud Data Fusion @google-cloud/data-fusion
Cloud Database Migration Service @google-cloud/dms
Cloud Domains @google-cloud/domains
Cloud IDS @google-cloud/ids
Cloud Key Management Service @google-cloud/kms
Cloud Life Sciences @google-cloud/life-sciences
Cloud Logging @google-cloud/logging
Cloud Monitoring @google-cloud/monitoring
@google-cloud/monitoring-dashboards
Cloud Natural Language API @google-cloud/language
Cloud OS Config @google-cloud/os-config
Cloud OS Login API @google-cloud/os-login
Cloud Optimization AI @google-cloud/optimization
Cloud Profiler @google-cloud/cloudprofiler
@google-cloud/profiler
Cloud Quotas @google-cloud/cloudquotas
Cloud Run @google-cloud/run
Cloud Run functions @google-cloud/functions
Cloud Scheduler @google-cloud/scheduler
Cloud Shell @google-cloud/shell
Cloud Storage @google-cloud/storage
@google-cloud/storage-control
Cloud TPU @google-cloud/tpu
Cloud Talent Solution Job Search @google-cloud/talent
Cloud Tasks @google-cloud/tasks
Cloud Trace @google-cloud/trace-agent
Cloud Translation @google-cloud/translate
Cloud Vision @google-cloud/vision
Cloud Workstations @google-cloud/workstations
Compute Engine @google-cloud/compute
Confidential Space @google-cloud/confidentialcomputing
Confidential VM @google-cloud/confidentialcomputing
Connect Gateway API @google-cloud/gke-connect-gateway
Contact Center AI Insights @google-cloud/contact-center-insights
Container Analysis @google-cloud/containeranalysis
@google-cloud/grafeas
Data Catalog @google-cloud/datacatalog
Data Lineage @google-cloud/lineage
Dataflow @google-cloud/dataflow
Dataform @google-cloud/dataform
Dataplex @google-cloud/dataplex
Dataproc @google-cloud/dataproc
Dataproc Metastore @google-cloud/dataproc-metastore
Datastream @google-cloud/datastream
Developer Connect @google-cloud/developerconnect
Dialogflow @google-cloud/dialogflow
@google-cloud/dialogflow-cx
Discovery Engine API @google-cloud/discoveryengine
Document AI @google-cloud/documentai
Document AI Warehouse @google-cloud/contentwarehouse
Essential Contacts API @google-cloud/essential-contacts
Eventarc @google-cloud/eventarc
Eventarc Publishing API @google-cloud/eventarc-publishing
Filestore @google-cloud/filestore
Firestore @google-cloud/firestore
Firestore in Datastore mode @google-cloud/datastore
Fleet Engine API @googlemaps/fleetengine
GKE Hub API @google-cloud/gke-hub
Google Cloud Deploy @google-cloud/deploy
Google Cloud Managed Service for Apache Kafka @google-cloud/managedkafka
Google Cloud VMware Engine @google-cloud/vmwareengine
Google Meet @google-apps/meet
Google Workspace Add-ons API @google-cloud/gsuiteaddons
IAM Policy Troubleshooter API @google-cloud/policy-troubleshooter
IAM Service Account Credentials API @google-cloud/iam-credentials
Identity and Access Management @google-cloud/iam
@google-cloud/policy-troubleshooter-iam
Identity-Aware Proxy @google-cloud/iap
Infrastructure Manager @google-cloud/config
Integration Connectors @google-cloud/connectors
IoT Core @google-cloud/iot
Kubernetes Engine API @google-cloud/container
Live Stream API @google-cloud/livestream
Managed Service for Microsoft Active Directory @google-cloud/managed-identities
Media CDN @google-cloud/networkservices
Media Translation @google-cloud/media-translation
Memorystore for Memcached @google-cloud/memcache
Memorystore for Redis @google-cloud/redis
@google-cloud/redis-cluster
Migrate to Virtual Machines @google-cloud/vmmigration
Migration Center @google-cloud/migrationcenter
NetApp Volumes @google-cloud/netapp
Network Connectivity Center @google-cloud/network-connectivity
Network Management API @google-cloud/network-management
Network Security API @google-cloud/network-security
Oracle Database@Google Cloud @google-cloud/oracledatabase
Organization Policy @google-cloud/org-policy
Parallelstore @google-cloud/parallelstore
Phishing Protection @google-cloud/phishing-protection
Places API @googlemaps/places
Pub/Sub @google-cloud/pubsub
Public Certificate Authority @google-cloud/publicca
Recommender @google-cloud/recommender
Resource Manager @google-cloud/resource-manager
Retail API @google-cloud/retail
Route Optimization API @googlemaps/routeoptimization
Routes API @googlemaps/routing
Secret Manager @google-cloud/secret-manager
Secure Source Manager @google-cloud/securesourcemanager
Security Command Center @google-cloud/security-center
Sensitive Data Protection @google-cloud/dlp
Service Control API @google-cloud/service-control
Service Directory @google-cloud/service-directory
Service Health @google-cloud/servicehealth
Service Management API @google-cloud/service-management
Service Usage @google-cloud/service-usage
Solar API @googlemaps/solar
Spanner @google-cloud/spanner
Speech-to-Text @google-cloud/speech
Storage Insights @google-cloud/storageinsights
Storage Transfer Service @google-cloud/storage-transfer
Tables by Area 120 @google/area120-tables
Text-to-Speech @google-cloud/text-to-speech
Transcoder API @google-cloud/video-transcoder
Vertex AI @google-cloud/aiplatform
@google-cloud/vertexai
Vertex AI Workbench @google-cloud/notebooks
Video Intelligence API @google-cloud/video-intelligence
Video Stitcher API @google-cloud/video-stitcher
Virtual Private Cloud @google-cloud/vpc-access
Web Risk @google-cloud/web-risk
Web Security Scanner @google-cloud/web-security-scanner
Workflow Executions API @google-cloud/workflows
reCAPTCHA @google-cloud/recaptcha-enterprise