.NET 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 .NET:

Libraries
Access Approval Google.Cloud.AccessApproval.V1
Access Context Manager Google.Identity.AccessContextManager.Type
Google.Identity.AccessContextManager.V1
Advisory Notifications Google.Cloud.AdvisoryNotifications.V1
AI Platform Google.Cloud.AIPlatform.V1
AI Platform Data Labeling Service Google.Cloud.DataLabeling.V1Beta1
AlloyDB for PostgreSQL Google.Cloud.AlloyDb.V1
Google.Cloud.AlloyDb.V1Alpha
Google.Cloud.AlloyDb.V1Beta
Analytics Hub API Google.Cloud.BigQuery.AnalyticsHub.V1
Google.Cloud.BigQuery.DataExchange.V1Beta1
API Gateway Google.Cloud.ApiGateway.V1
API Keys API Google.Cloud.ApiKeys.V2
Apigee Connect API Google.Cloud.ApigeeConnect.V1
App Engine Admin API Google.Cloud.AppEngine.V1
App Hub Google.Cloud.AppHub.V1
Artifact Registry Google.Cloud.ArtifactRegistry.V1
Google.Cloud.ArtifactRegistry.V1Beta2
Assured Workloads Google.Cloud.AssuredWorkloads.V1
Google.Cloud.AssuredWorkloads.V1Beta1
AutoML Google.Cloud.AutoML.V1
Bare Metal Solution Google.Cloud.BareMetalSolution.V2
Batch Google.Cloud.Batch.V1
Google.Cloud.Batch.V1Alpha
BeyondCorp Enterprise Google.Cloud.BeyondCorp.AppConnections.V1
Google.Cloud.BeyondCorp.AppConnectors.V1
Google.Cloud.BeyondCorp.AppGateways.V1
Google.Cloud.BeyondCorp.ClientConnectorServices.V1
Google.Cloud.BeyondCorp.ClientGateways.V1
BigQuery Google.Cloud.BigQuery.V2
BigQuery Connection API Google.Cloud.BigQuery.Connection.V1
BigQuery Data Transfer Service Google.Cloud.BigQuery.DataTransfer.V1
BigQuery DataPolicy API Google.Cloud.BigQuery.DataPolicies.V1
Google.Cloud.BigQuery.DataPolicies.V1Beta1
BigQuery Migration Google.Cloud.BigQuery.Migration.V2
BigQuery Reservation API Google.Cloud.BigQuery.Reservation.V1
BigQuery Storage Google.Cloud.BigQuery.Storage.V1
Bigtable Google.Cloud.Bigtable.Common.V2
Google.Cloud.Bigtable.V2
Binary Authorization Google.Cloud.BinaryAuthorization.V1
Google.Cloud.BinaryAuthorization.V1Beta1
Certificate Authority Service Google.Cloud.Security.PrivateCA.V1
Google.Cloud.Security.PrivateCA.V1Beta1
Certificate Manager Google.Cloud.CertificateManager.V1
Channel Services Google.Cloud.Channel.V1
Cloud Asset Inventory Google.Cloud.Asset.V1
Google.Cloud.Asset.V1Beta1
Cloud Bigtable Admin API Google.Cloud.Bigtable.Admin.V2
Cloud Billing Google.Cloud.Billing.V1
Cloud Billing Budget API Google.Cloud.Billing.Budgets.V1
Google.Cloud.Billing.Budgets.V1Beta1
Cloud Build Google.Cloud.CloudBuild.V1
Google.Cloud.CloudBuild.V2
Cloud Composer Google.Cloud.Orchestration.Airflow.Service.V1
Cloud Data Fusion Google.Cloud.DataFusion.V1
Cloud Database Migration Service Google.Cloud.CloudDms.V1
Cloud Debugger Google.Cloud.Debugger.V2
Cloud Domains Google.Cloud.Domains.V1
Google.Cloud.Domains.V1Beta1
Cloud Functions Google.Cloud.Functions.Framework
Google.Cloud.Functions.V1
Google.Cloud.Functions.V2
Google.Cloud.Functions.V2Beta
Cloud IDS Google.Cloud.Ids.V1
Cloud Key Management Service Google.Cloud.Kms.V1
Cloud Life Sciences Google.Cloud.LifeSciences.V2Beta
Cloud Logging Google.Cloud.Logging.Log4Net
Google.Cloud.Logging.NLog
Google.Cloud.Logging.Type
Google.Cloud.Logging.V2
Cloud Monitoring Google.Cloud.Monitoring.V3
Cloud Natural Language API Google.Cloud.Language.V1
Google.Cloud.Language.V2
Cloud Optimization AI Google.Cloud.Optimization.V1
Cloud OS Config Google.Cloud.OsConfig.V1
Google.Cloud.OsConfig.V1Alpha
Cloud OS Login API Google.Cloud.OsLogin.Common
Google.Cloud.OsLogin.V1
Google.Cloud.OsLogin.V1Beta
Cloud Profiler Google.Cloud.Profiler.V2
Cloud Run Google.Cloud.Run.V2
Cloud Scheduler Google.Cloud.Scheduler.V1
Google.Cloud.Scheduler.V1Beta1
Cloud Shell Google.Cloud.Shell.V1
Cloud Storage Google.Cloud.Storage.Control.V2
Google.Cloud.Storage.V1
Cloud Talent Solution Job Search Google.Cloud.Talent.V4
Google.Cloud.Talent.V4Beta1
Cloud Tasks Google.Cloud.Tasks.V2
Google.Cloud.Tasks.V2Beta3
Cloud TPU Google.Cloud.Tpu.V1
Cloud Trace Google.Cloud.Trace.V1
Google.Cloud.Trace.V2
Cloud Translation Google.Cloud.Translate.V3
Google.Cloud.Translation.V2
Cloud Vision Google.Cloud.Vision.V1
Cloud Workstations Google.Cloud.Workstations.V1
Compute Engine Google.Cloud.Compute.V1
Confidential Space Google.Cloud.ConfidentialComputing.V1
Google.Cloud.ConfidentialComputing.V1Alpha1
Connect Gateway API Google.Cloud.GkeConnect.Gateway.V1Beta1
Contact Center AI Insights Google.Cloud.ContactCenterInsights.V1
Container Analysis Google.Cloud.DevTools.ContainerAnalysis.V1
Grafeas.V1
Data Catalog Google.Cloud.DataCatalog.V1
Data Lineage Google.Cloud.DataCatalog.Lineage.V1
Dataflow Google.Cloud.Dataflow.V1Beta3
Dataform Google.Cloud.Dataform.V1Beta1
Dataplex Google.Cloud.Dataplex.V1
Dataproc Google.Cloud.Dataproc.V1
Dataproc Metastore Google.Cloud.Metastore.V1
Google.Cloud.Metastore.V1Alpha
Google.Cloud.Metastore.V1Beta
Datastream Google.Cloud.Datastream.V1
Google.Cloud.Datastream.V1Alpha1
Dialogflow Google.Cloud.Dialogflow.Cx.V3
Google.Cloud.Dialogflow.V2
Google.Cloud.Dialogflow.V2Beta1
Discovery Engine API Google.Cloud.DiscoveryEngine.V1
Google.Cloud.DiscoveryEngine.V1Beta
Document AI Google.Cloud.DocumentAI.V1
Google.Cloud.DocumentAI.V1Beta3
Enterprise Knowledge Graph Google.Cloud.EnterpriseKnowledgeGraph.V1
Error Reporting Google.Cloud.ErrorReporting.V1Beta1
Eventarc Google.Cloud.Eventarc.V1
Filestore Google.Cloud.Filestore.V1
Firestore Google.Cloud.Firestore
Google.Cloud.Firestore.Admin.V1
Google.Cloud.Firestore.V1
Firestore in Datastore mode Google.Cloud.Datastore.Admin.V1
Google.Cloud.Datastore.V1
Game Servers Google.Cloud.Gaming.V1
Google.Cloud.Gaming.V1Beta
GKE Hub API Google.Cloud.GkeHub.V1
Google.Cloud.GkeHub.V1Beta1
Google Cloud Deploy Google.Cloud.Deploy.V1
Google Cloud Observability Google.Cloud.Diagnostics.AspNet
Google.Cloud.Diagnostics.AspNetCore
Google.Cloud.Diagnostics.AspNetCore.Analyzers
Google.Cloud.Diagnostics.Common
Google Cloud VMware Engine Google.Cloud.VmwareEngine.V1
IAM Policy Troubleshooter API Google.Cloud.PolicyTroubleshooter.Iam.V3
Google.Cloud.PolicyTroubleshooter.V1
IAM Service Account Credentials API Google.Cloud.Iam.Credentials.V1
Identity and Access Management Google.Cloud.Iam.Admin.V1
Google.Cloud.Iam.V1
Google.Cloud.Iam.V2
Identity-Aware Proxy Google.Cloud.Iap.V1
Kubernetes Engine API Google.Cloud.Container.V1
Live Stream API Google.Cloud.Video.LiveStream.V1
Managed Service for Microsoft Active Directory Google.Cloud.ManagedIdentities.V1
Media Translation Google.Cloud.MediaTranslation.V1Beta1
Memorystore for Memcached Google.Cloud.Memcache.V1
Google.Cloud.Memcache.V1Beta2
Memorystore for Redis Google.Cloud.Redis.Cluster.V1
Google.Cloud.Redis.V1
Google.Cloud.Redis.V1Beta1
Migrate to Virtual Machines Google.Cloud.VMMigration.V1
NetApp Volumes Google.Cloud.NetApp.V1
Network Connectivity Center Google.Cloud.NetworkConnectivity.V1
Google.Cloud.NetworkConnectivity.V1Alpha1
Network Management API Google.Cloud.NetworkManagement.V1
Network Security API Google.Cloud.NetworkSecurity.V1Beta1
Organization Policy Google.Cloud.OrgPolicy.V1
Google.Cloud.OrgPolicy.V2
Phishing Protection Google.Cloud.PhishingProtection.V1Beta1
Pub/Sub Google.Cloud.PubSub.V1
Public Certificate Authority Google.Cloud.Security.PublicCA.V1Beta1
reCAPTCHA Enterprise Google.Cloud.RecaptchaEnterprise.V1
Google.Cloud.RecaptchaEnterprise.V1Beta1
Recommendations AI Google.Cloud.RecommendationEngine.V1Beta1
Recommender Google.Cloud.Recommender.V1
Resource Manager Google.Cloud.ResourceManager.V3
Retail API Google.Cloud.Retail.V2
Secret Manager Google.Cloud.SecretManager.V1
Google.Cloud.SecretManager.V1Beta1
Google.Cloud.SecretManager.V1Beta2
Security Command Center Google.Cloud.SecurityCenter.Settings.V1Beta1
Google.Cloud.SecurityCenter.V1
Google.Cloud.SecurityCenter.V1P1Beta1
Google.Cloud.SecurityCenter.V2
Sensitive Data Protection Google.Cloud.Dlp.V2
Google.Cloud.Dlp.V2Beta1
Service Catalog Google.Cloud.PrivateCatalog.V1Beta1
Service Control API Google.Cloud.ServiceControl.V1
Service Directory Google.Cloud.ServiceDirectory.V1
Google.Cloud.ServiceDirectory.V1Beta1
Service Health Google.Cloud.ServiceHealth.V1
Service Management API Google.Cloud.ServiceManagement.V1
Service Usage Google.Cloud.ServiceUsage.V1
Spanner Google.Cloud.Spanner.Admin.Database.V1
Google.Cloud.Spanner.Admin.Instance.V1
Google.Cloud.Spanner.Common.V1
Google.Cloud.Spanner.Data
Google.Cloud.Spanner.V1
Speech-to-Text Google.Cloud.Speech.V1
Google.Cloud.Speech.V1P1Beta1
Google.Cloud.Speech.V2
Storage Transfer Service Google.Cloud.StorageTransfer.V1
Text-to-Speech Google.Cloud.TextToSpeech.V1
Google.Cloud.TextToSpeech.V1Beta1
Transcoder API Google.Cloud.Video.Transcoder.V1
Google.Cloud.Video.Transcoder.V1Beta1
Vertex AI Workbench Google.Cloud.Notebooks.V1
Google.Cloud.Notebooks.V1Beta1
Google.Cloud.Notebooks.V2
Video Intelligence API Google.Cloud.VideoIntelligence.V1
Google.Cloud.VideoIntelligence.V1Beta1
Google.Cloud.VideoIntelligence.V1Beta2
Video Stitcher API Google.Cloud.Video.Stitcher.V1
Virtual Private Cloud Google.Cloud.VpcAccess.V1
Web Risk Google.Cloud.WebRisk.V1
Google.Cloud.WebRisk.V1Beta1
Web Security Scanner Google.Cloud.WebSecurityScanner.V1
Workflow Executions API Google.Cloud.Workflows.Executions.V1
Google.Cloud.Workflows.Executions.V1Beta
Workflows Google.Cloud.Workflows.Common.V1
Google.Cloud.Workflows.Common.V1Beta
Google.Cloud.Workflows.V1
Google.Cloud.Workflows.V1Beta