Home

Awesome

Google Cloud Libraries for .NET

.NET idiomatic client libraries for Google Cloud Platform services.

GitHub Actions status

Available APIs

This repository contains code for the following client libraries. Each package name links to the documentation for that package.

PackageLatest versionDescription
Google.Ads.AdManager.V1NuGetGoogle Ad Manager
Google.Ads.MarketingPlatform.Admin.V1AlphaNuGetGoogle Marketing Platform Admin
Google.Analytics.Admin.V1AlphaNuGetAnalytics Admin
Google.Analytics.Admin.V1BetaNuGetGoogle Analytics Admin
Google.Analytics.Data.V1BetaNuGetGoogle Analytics Data
Google.Apps.Card.V1NuGetTypes for Apps APIs using Cards
Google.Apps.Chat.V1NuGetGoogle Chat
Google.Apps.Events.Subscriptions.V1NuGetGoogle Workspace Events
Google.Apps.Meet.V2NuGetGoogle Meet (V2 API)
Google.Apps.Meet.V2BetaNuGetGoogle Meet (V2Beta API)
Google.Apps.Script.TypeNuGetVersion-agnostic types for Apps Script APIs
Google.Area120.Tables.V1Alpha1NuGetGoogle Area 120 Tables
Google.Cloud.AccessApproval.V1NuGetAccess Approval
Google.Cloud.AdvisoryNotifications.V1NuGetAdvisory Notifications
Google.Cloud.AlloyDb.V1NuGetAlloyDB (V1 API)
Google.Cloud.AlloyDb.V1AlphaNuGetAlloyDB (V1Alpha API)
Google.Cloud.AlloyDb.V1BetaNuGetAlloyDB (V1Beta API)
Google.Cloud.ApiGateway.V1NuGetAPI Gateway
Google.Cloud.AIPlatform.V1Beta1NuGetCloud AI Platform (V1Beta1 API)
Google.Cloud.AIPlatform.V1NuGetCloud AI Platform (V1 API)
Google.Cloud.ApiHub.V1NuGetAPI hub
Google.Cloud.ApiKeys.V2NuGetAPI Keys
Google.Cloud.ApigeeConnect.V1NuGetApigee Connect
Google.Cloud.ApigeeRegistry.V1NuGetApigee Registry
Google.Cloud.AppEngine.Logging.V1NuGetApp Engine Logging Data
Google.Cloud.AppEngine.V1NuGetApp Engine
Google.Cloud.AppHub.V1NuGetApp Hub
Google.Cloud.ArtifactRegistry.V1NuGetArtifact Registry (V1 API)
Google.Cloud.ArtifactRegistry.V1Beta2NuGetArtifact Registry (V1Beta2 API)
Google.Cloud.Asset.V1NuGetGoogle Cloud Asset Inventory
Google.Cloud.AssuredWorkloads.V1NuGetAssured Workloads (V1 API)
Google.Cloud.AssuredWorkloads.V1Beta1NuGetAssured Workloads (V1Beta1 API)
Google.Cloud.AuditNuGetGoogle Cloud Audit
Google.Cloud.AutoML.V1NuGetGoogle AutoML
Google.Cloud.BackupDR.V1NuGetBackup and DR Service
Google.Cloud.BareMetalSolution.V2NuGetBare Metal Solution
Google.Cloud.Batch.V1NuGetBatch (V1 API)
Google.Cloud.Batch.V1AlphaNuGetBatch (V1Alpha API)
Google.Cloud.BeyondCorp.AppConnections.V1NuGetBeyondCorp AppConnections
Google.Cloud.BeyondCorp.AppConnectors.V1NuGetBeyondCorp AppConnectors
Google.Cloud.BeyondCorp.AppGateways.V1NuGetBeyondCorp AppGateways
Google.Cloud.BeyondCorp.ClientGateways.V1NuGetBeyondCorp Client Gateways
Google.Cloud.BigQuery.AnalyticsHub.V1NuGetAnalytics Hub (V1 API)
Google.Cloud.BigQuery.Connection.V1NuGetBigQuery Connection
Google.Cloud.BigQuery.DataExchange.V1Beta1NuGetAnalytics Hub (V1Beta1 API)
Google.Cloud.BigQuery.DataPolicies.V1NuGetBigQuery Data Policy (V1 API)
Google.Cloud.BigQuery.DataPolicies.V1Beta1NuGetBigQuery Data Policy (V1Beta1 API)
Google.Cloud.BigQuery.DataTransfer.V1NuGetGoogle BigQuery Data Transfer
Google.Cloud.BigQuery.Logging.V1NuGetBigQuery Audit Data Logging
Google.Cloud.BigQuery.Migration.V2NuGetBigQuery Migration
Google.Cloud.BigQuery.Reservation.V1NuGetBigQuery Reservation
Google.Cloud.BigQuery.V2NuGetGoogle BigQuery
Google.Cloud.BigQuery.Storage.V1NuGetGoogle BigQuery Storage
Google.Cloud.Bigtable.Admin.V2NuGetGoogle Cloud Bigtable Administration
Google.Cloud.Bigtable.Common.V2NuGetCommon code used by Bigtable V2 APIs
Google.Cloud.Bigtable.V2NuGetGoogle Bigtable
Google.Cloud.Billing.Budgets.V1NuGetCloud Billing Budget (V1 API)
Google.Cloud.Billing.Budgets.V1Beta1NuGetCloud Billing Budget (V1Beta1 API)
Google.Cloud.Billing.V1NuGetGoogle Cloud Billing
Google.Cloud.BinaryAuthorization.V1NuGetBinary Authorization (V1 API)
Google.Cloud.BinaryAuthorization.V1Beta1NuGetBinary Authorization (V1Beta1 API)
Google.Cloud.CertificateManager.V1NuGetCertificate Manager
Google.Cloud.Channel.V1NuGetCloud Channel
Google.Cloud.CloudBuild.V1NuGetCloud Build (V1 API)
Google.Cloud.CloudBuild.V2NuGetCloud Build
Google.Cloud.CloudControlsPartner.V1NuGetCloud Controls Partner (V1 API)
Google.Cloud.CloudControlsPartner.V1BetaNuGetCloud Controls Partner (V1Beta API)
Google.Cloud.CloudDms.V1NuGetDatabase Migration
Google.Cloud.CloudQuotas.V1NuGetCloud Quotas
Google.Cloud.Commerce.Consumer.Procurement.V1NuGetCloud Commerce Consumer Procurement
Google.Cloud.CommonNuGetCommon protos for Cloud APIs
Google.Cloud.Compute.V1NuGetCompute Engine
Google.Cloud.ConfidentialComputing.V1NuGetConfidential Computing (V1 API)
Google.Cloud.ConfidentialComputing.V1Alpha1NuGetConfidential Computing (V1Alpha1 API)
Google.Cloud.Config.V1NuGetInfrastructure Manager
Google.Cloud.Connectors.V1NuGetIntegration Connectors
Google.Cloud.ContactCenterInsights.V1NuGetContact Center AI Insights
Google.Cloud.Container.V1NuGetGoogle Kubernetes Engine
Google.Cloud.DataCatalog.Lineage.V1NuGetData Lineage
Google.Cloud.DataCatalog.V1NuGetData Catalog
Google.Cloud.DataFusion.V1NuGetCloud Data Fusion
Google.Cloud.Dataflow.V1Beta3NuGetDataflow
Google.Cloud.Dataform.V1Beta1NuGetDataform
Google.Cloud.Dataplex.V1NuGetCloud Dataplex
Google.Cloud.Dataproc.V1NuGetGoogle Cloud Dataproc
Google.Cloud.Datastore.Admin.V1NuGetCloud Datastore
Google.Cloud.Datastore.V1NuGetGoogle Cloud Datastore
Google.Cloud.Datastream.V1NuGetDataStream (V1 API)
Google.Cloud.Datastream.V1Alpha1NuGetDataStream (V1Alpha1 API)
Google.Cloud.Deploy.V1NuGetGoogle Cloud Deploy
Google.Cloud.DevTools.CommonNuGetCommon Protocol Buffer messages for Google Cloud Developer Tools APIs
Google.Cloud.DevTools.ContainerAnalysis.V1NuGetGoogle Container Analysis
Google.Cloud.Diagnostics.AspNetCore3NuGetGoogle Cloud Logging, Trace and Error Reporting Instrumentation Libraries for ASP.NET Core 3
Google.Cloud.Diagnostics.CommonNuGetGoogle Cloud Logging, Trace and Error Reporting Instrumentation Libraries Common Components
Google.Cloud.Dialogflow.Cx.V3NuGetDialogflow
Google.Cloud.Dialogflow.V2NuGetGoogle Cloud Dialogflow (V2 API)
Google.Cloud.Dialogflow.V2Beta1NuGetGoogle Cloud Dialogflow (V2Beta1 API)
Google.Cloud.DiscoveryEngine.V1NuGetDiscovery Engine (V1 API)
Google.Cloud.DiscoveryEngine.V1BetaNuGetDiscovery Engine (V1Beta API)
Google.Cloud.Dlp.V2NuGetGoogle Cloud Data Loss Prevention
Google.Cloud.DocumentAI.V1NuGetCloud Document AI (V1 API)
Google.Cloud.DocumentAI.V1Beta3NuGetCloud Document AI (V1Beta3 API)
Google.Cloud.Domains.V1NuGetCloud Domains (V1 API)
Google.Cloud.Domains.V1Beta1NuGetCloud Domains (V1Beta1 API)
Google.Cloud.EdgeNetwork.V1NuGetDistributed Cloud Edge Network
Google.Cloud.EnterpriseKnowledgeGraph.V1NuGetEnterprise Knowledge Graph
Google.Cloud.ErrorReporting.V1Beta1NuGetGoogle Cloud Error Reporting
Google.Cloud.EssentialContacts.V1NuGetEssential Contacts
Google.Cloud.Eventarc.Publishing.V1NuGetEventarc Publishing
Google.Cloud.Eventarc.V1NuGetEventarc
Google.Cloud.Filestore.V1NuGetCloud Filestore
Google.Cloud.Firestore.Admin.V1NuGetFirestore Administration (e.g. index management)
Google.Cloud.FirestoreNuGetFirestore high-level library
Google.Cloud.Firestore.V1NuGetFirestore low-level API access
Google.Cloud.Functions.V1NuGetCloud Functions (V1 API)
Google.Cloud.Functions.V2NuGetCloud Functions (V2 API)
Google.Cloud.Functions.V2BetaNuGetCloud Functions (V2Beta API)
Google.Cloud.GSuiteAddOns.V1NuGetGoogle Workspace Add-ons
Google.Cloud.GdcHardwareManagement.V1AlphaNuGetGDC Hardware Management
Google.Cloud.GkeBackup.V1NuGetBackup for GKE
Google.Cloud.GkeConnect.Gateway.V1NuGetConnect Gateway
Google.Cloud.GkeHub.V1Beta1NuGetGKE Hub (V1Beta1 API)
Google.Cloud.GkeHub.V1NuGetGKE Hub (V1 API)
Google.Cloud.GkeMultiCloud.V1NuGetAnthos Multi-Cloud
Google.Cloud.Iam.Admin.V1NuGetIdentity and Access Management (IAM)
Google.Cloud.Iam.Credentials.V1NuGetIAM Service Account Credentials
Google.Cloud.Iam.V1NuGetGoogle Cloud Identity and Access Management (IAM) (V1 API)
Google.Cloud.Iam.V2NuGetGoogle Cloud Identity and Access Management (IAM) (V2 API)
Google.Cloud.Iap.V1NuGetCloud Identity-Aware Proxy
Google.Cloud.Ids.V1NuGetCloud IDS
Google.Cloud.Kms.Inventory.V1NuGetKMS Inventory
Google.Cloud.Kms.V1NuGetGoogle Cloud Key Management Service
Google.Cloud.Language.V1NuGetGoogle Cloud Natural Language
Google.Cloud.Language.V2NuGetCloud Natural Language
Google.Cloud.LifeSciences.V2BetaNuGetCloud Life Sciences
Google.Cloud.LocationNuGetSupport for the Google Cloud Locations mix-in API pattern
Google.Cloud.Logging.Log4NetNuGetLog4Net client library for the Google Cloud Logging API
Google.Cloud.Logging.ConsoleNuGetConsoleFormatter for Google Cloud Logging
Google.Cloud.Logging.NLogNuGetNLog target for the Google Cloud Logging API
Google.Cloud.Logging.TypeNuGetVersion-agnostic types for the Google Cloud Logging API
Google.Cloud.Logging.V2NuGetGoogle Cloud Logging
Google.Cloud.ManagedIdentities.V1NuGetManaged Service for Microsoft Active Directory
Google.Cloud.ManagedKafka.V1NuGetManaged Service for Apache Kafka API
Google.Cloud.MediaTranslation.V1Beta1NuGetMedia Translation
Google.Cloud.Memcache.V1NuGetCloud Memorystore for Memcached
Google.Cloud.Memcache.V1Beta2NuGetGoogle Cloud Memorystore for Memcached
Google.Cloud.Metastore.V1NuGetDataproc Metastore (V1 API)
Google.Cloud.Metastore.V1AlphaNuGetDataproc Metastore (V1Alpha API)
Google.Cloud.Metastore.V1BetaNuGetDataproc Metastore (V1Beta API)
Google.Cloud.MigrationCenter.V1NuGetMigration Center
Google.Cloud.Monitoring.V3NuGetGoogle Cloud Monitoring
Google.Cloud.NetApp.V1NuGetNetApp
Google.Cloud.NetworkConnectivity.V1NuGetNetwork Connectivity (V1 API)
Google.Cloud.NetworkConnectivity.V1Alpha1NuGetNetwork Connectivity (V1Alpha1 API)
Google.Cloud.NetworkManagement.V1NuGetNetwork Management
Google.Cloud.NetworkSecurity.V1Beta1NuGetNetwork Security
Google.Cloud.NetworkServices.V1NuGetNetwork Services
Google.Cloud.Notebooks.V1NuGetAI Platform Notebooks (V1 API)
Google.Cloud.Notebooks.V1Beta1NuGetAI Platform Notebooks (V1Beta1 API)
Google.Cloud.Notebooks.V2NuGetNotebooks
Google.Cloud.Optimization.V1NuGetCloud Optimization
Google.Cloud.OracleDatabase.V1NuGetOracle Database@Google Cloud
Google.Cloud.Orchestration.Airflow.Service.V1NuGetCloud Composer
Google.Cloud.OrgPolicy.V1NuGetOrgPolicy API messages
Google.Cloud.OrgPolicy.V2NuGetOrganization Policy
Google.Cloud.OsConfig.V1NuGetGoogle Cloud OS Config (V1 API)
Google.Cloud.OsConfig.V1AlphaNuGetGoogle Cloud OS Config (V1Alpha API)
Google.Cloud.OsLogin.CommonNuGetVersion-agnostic types for the Google OS Login API
Google.Cloud.OsLogin.V1NuGetGoogle Cloud OS Login (V1 API)
Google.Cloud.OsLogin.V1BetaNuGetGoogle Cloud OS Login (V1Beta API)
Google.Cloud.Parallelstore.V1NuGetParallelstore (V1 API)
Google.Cloud.Parallelstore.V1BetaNuGetParallelstore (V1Beta API)
Google.Cloud.PhishingProtection.V1Beta1NuGetCloud Phishing Protection
Google.Cloud.PolicySimulator.V1NuGetPolicy Simulator
Google.Cloud.PolicyTroubleshooter.Iam.V3NuGetPolicy Troubleshooter (V3 API)
Google.Cloud.PolicyTroubleshooter.V1NuGetPolicy Troubleshooter (V1 API)
Google.Cloud.PrivateCatalog.V1Beta1NuGetCloud Private Catalog
Google.Cloud.PrivilegedAccessManager.V1NuGetPrivileged Access Manager
Google.Cloud.Profiler.V2NuGetCloud Profiler
Google.Cloud.PubSub.V1NuGetCloud Pub/Sub
Google.Cloud.RapidMigrationAssessment.V1NuGetRapid Migration Assessment
Google.Cloud.RecaptchaEnterprise.V1NuGetGoogle Cloud reCAPTCHA Enterprise (V1 API)
Google.Cloud.RecaptchaEnterprise.V1Beta1NuGetGoogle Cloud reCAPTCHA Enterprise (V1Beta1 API)
Google.Cloud.RecommendationEngine.V1Beta1NuGetRecommendations AI
Google.Cloud.Recommender.V1NuGetGoogle Cloud Recommender
Google.Cloud.Redis.Cluster.V1NuGetGoogle Cloud Memorystore for Redis (cluster management)
Google.Cloud.Redis.V1NuGetGoogle Cloud Memorystore for Redis (V1 API)
Google.Cloud.Redis.V1Beta1NuGetGoogle Cloud Memorystore for Redis (V1Beta1 API)
Google.Cloud.ResourceManager.V3NuGetCloud Resource Manager
Google.Cloud.ResourceSettings.V1NuGetResource Settings
Google.Cloud.Retail.V2NuGetRetail
Google.Cloud.Run.V2NuGetCloud Run Admin
Google.Cloud.Scheduler.V1NuGetGoogle Cloud Scheduler
Google.Cloud.SecretManager.V1NuGetSecret Manager (V1 API)
Google.Cloud.SecretManager.V1Beta2NuGetSecret Manager (V1Beta2 API)
Google.Cloud.SecretManager.V1Beta1NuGetSecret Manager (V1Beta1 API)
Google.Cloud.Security.PrivateCA.V1NuGetCertificate Authority
Google.Cloud.Security.PublicCA.V1NuGetPublic Certificate Authority (V1 API)
Google.Cloud.Security.PublicCA.V1Beta1NuGetPublic Certificate Authority (V1Beta1 API)
Google.Cloud.SecurityCenter.Settings.V1Beta1NuGetGoogle Cloud Security Command Center Settings
Google.Cloud.SecurityCenter.V1NuGetGoogle Cloud Security Command Center (V1 API)
Google.Cloud.SecurityCenter.V1P1Beta1NuGetGoogle Cloud Security Command Center (V1P1Beta1 API)
Google.Cloud.SecurityCenter.V2NuGetSecurity Command Center
Google.Cloud.SecurityCenterManagement.V1NuGetSecurity Center Management
Google.Cloud.ServiceControl.V1NuGetService Control
Google.Cloud.ServiceDirectory.V1NuGetService Directory (V1 API)
Google.Cloud.ServiceDirectory.V1Beta1NuGetService Directory (V1Beta1 API)
Google.Cloud.ServiceHealth.V1NuGetService Health
Google.Cloud.ServiceManagement.V1NuGetService Management
Google.Cloud.ServiceUsage.V1NuGetService Usage
Google.Cloud.Shell.V1NuGetCloud Shell
Google.Cloud.Spanner.Admin.Database.V1NuGetGoogle Cloud Spanner Database Administration
Google.Cloud.Spanner.Admin.Instance.V1NuGetGoogle Cloud Spanner Instance Administration
Google.Cloud.Spanner.DataNuGetGoogle ADO.NET Provider for Google Cloud Spanner
Google.Cloud.Spanner.Common.V1NuGetCommon resource names used by all Spanner V1 APIs
Google.Cloud.Spanner.V1NuGetGoogle Cloud Spanner
Google.Cloud.Speech.V1NuGetGoogle Cloud Speech (V1 API)
Google.Cloud.Speech.V1P1Beta1NuGetGoogle Cloud Speech (V1P1Beta1 API)
Google.Cloud.Speech.V2NuGetCloud Speech-to-Text
Google.Cloud.Storage.Control.V2NuGetCloud Storage
Google.Cloud.Storage.V1NuGetGoogle Cloud Storage (V1 API)
Google.Cloud.StorageInsights.V1NuGetGoogle Cloud Storage Insights
Google.Cloud.StorageTransfer.V1NuGetStorage Transfer
Google.Cloud.Support.V2NuGetGoogle Cloud Support
Google.Cloud.Talent.V4NuGetGoogle Cloud Talent Solution (V4 API)
Google.Cloud.Talent.V4Beta1NuGetGoogle Cloud Talent Solution (V4Beta1 API)
Google.Cloud.Tasks.V2NuGetGoogle Cloud Tasks (V2 API)
Google.Cloud.Tasks.V2Beta3NuGetGoogle Cloud Tasks (V2Beta3 API)
Google.Cloud.TelcoAutomation.V1NuGetTelco Automation
Google.Cloud.TextToSpeech.V1NuGetGoogle Cloud Text-to-Speech (V1 API)
Google.Cloud.TextToSpeech.V1Beta1NuGetGoogle Cloud Text-to-Speech (V1Beta1 API)
Google.Cloud.Tpu.V1NuGetCloud TPU
Google.Cloud.Trace.V1NuGetGoogle Cloud Trace (V1 API)
Google.Cloud.Trace.V2NuGetGoogle Cloud Trace (V2 API)
Google.Cloud.Translate.V3NuGetGoogle Cloud Translation (V3 API)
Google.Cloud.Translation.V2NuGetGoogle Cloud Translation (V2 API)
Google.Cloud.VMMigration.V1NuGetVM Migration
Google.Cloud.Video.LiveStream.V1NuGetLive Stream
Google.Cloud.Video.Stitcher.V1NuGetVideo Stitcher
Google.Cloud.Video.Transcoder.V1NuGetTranscoder
Google.Cloud.VideoIntelligence.V1NuGetGoogle Cloud Video Intelligence
Google.Cloud.Vision.V1NuGetGoogle Cloud Vision
Google.Cloud.VmwareEngine.V1NuGetVMware Engine
Google.Cloud.VpcAccess.V1NuGetServerless VPC Access
Google.Cloud.WebRisk.V1NuGetGoogle Cloud Web Risk (V1 API)
Google.Cloud.WebRisk.V1Beta1NuGetGoogle Cloud Web Risk (V1Beta1 API)
Google.Cloud.WebSecurityScanner.V1NuGetWeb Security Scanner
Google.Cloud.Workflows.Common.V1NuGetCommon resource names used by all Workflows V1 APIs
Google.Cloud.Workflows.Common.V1BetaNuGetCommon resource names used by all Workflows V1Beta APIs
Google.Cloud.Workflows.Executions.V1NuGetWorkflow Executions (V1 API)
Google.Cloud.Workflows.Executions.V1BetaNuGetWorkflow Executions (V1Beta API)
Google.Cloud.Workflows.V1NuGetWorkflows (V1 API)
Google.Cloud.Workflows.V1BetaNuGetWorkflows (V1Beta API)
Google.Cloud.Workstations.V1NuGetCloud Workstations
Google.Geo.TypeNuGetVersion-agnostic types for Geo APIs
Google.Identity.AccessContextManager.TypeNuGetVersion-agnostic types for the Google Identity Access Context Manager API
Google.Identity.AccessContextManager.V1NuGetIdentity Access Context Manager
Google.LongRunningNuGetSupport for the Long-Running Operations API pattern
Google.Maps.AddressValidation.V1NuGetAddress Validation
Google.Maps.AreaInsights.V1NuGetArea Insights
Google.Maps.FleetEngine.Delivery.V1NuGetLast Mile Fleet Solution Delivery
Google.Maps.FleetEngine.V1NuGetLocal Rides and Deliveries
Google.Maps.MapsPlatformDatasets.V1NuGetMaps Platform Datasets
Google.Maps.Places.V1NuGetPlaces API
Google.Maps.RouteOptimization.V1NuGetRoute Optimization
Google.Maps.Routing.V2NuGetMaps Routing
Google.Shopping.Css.V1NuGetCSS
Google.Shopping.Merchant.Accounts.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Conversions.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.DataSources.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Inventories.V1BetaNuGetMerchant Inventories
Google.Shopping.Merchant.Lfp.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Notifications.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Products.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Promotions.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Quota.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.Merchant.Reports.V1BetaNuGetMerchant (V1Beta API)
Google.Shopping.TypeNuGetVersion-agnostic types for Shopping APIs
Grafeas.V1NuGetGrafeas

If you need support for other Google APIs, check out the Google .NET API Client library

Example Applications

Specifying a Project ID

Most Google Cloud Libraries for .NET require a project ID. If you don't remember yours (or haven't created a project yet), navigate to the Google Developers Console to view your project ID (or create a new project and then get the ID). Once done, record the value and make sure to pass it as a parameter to the methods that require it.

Authentication

Every API call needs to be authenticated. In order to successfully make a call, first ensure that the necessary Google Cloud APIs are enabled for your project and that you've downloaded the right set of keys (if it applies to you) as explained in the authentication documentation.

Next, choose a method for authenticating API requests from within your project:

  1. When using google-cloud-dotnet libraries from within Compute/App Engine, no additional authentication steps are necessary.
  2. When using google-cloud-dotnet libraries elsewhere, you can do one of the following:
    • Define the environment variable GOOGLE_APPLICATION_CREDENTIALS to be the location of the key. For example:

      set GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/key.json
      
    • If running locally for development/testing, you can authenticate using the Google Cloud SDK. Download the SDK if you haven't already, then login by running the following in the command line:

      gcloud auth application-default login
      

Supported platforms

See the Supported Platforms documentation for details on where the Google Cloud Libraries for .NET are supported.

Versioning

The Google Cloud Client Libraries for .NET follow Semantic Versioning.

The version number in the package name (and .NET namespace) represents the version of the underlying API; the version number for the package itself indicates the status of the client library.

See the Versioning documentation for more details.

License

Apache 2.0 - See LICENSE for more information.