Skip to content

anuragsrivstv/google-cloud-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Package Latest version Description
Google.Analytics.Admin.V1Alpha NuGet Analytics Admin
Google.Analytics.Admin.V1Beta NuGet Google Analytics Admin
Google.Analytics.Data.V1Beta NuGet Google Analytics Data
Google.Apps.Script.Type NuGet Version-agnostic types for Apps Script APIs
Google.Area120.Tables.V1Alpha1 NuGet Google Area 120 Tables
Google.Cloud.AccessApproval.V1 NuGet Access Approval
Google.Cloud.AdvisoryNotifications.V1 NuGet Advisory Notifications
Google.Cloud.AlloyDb.V1 NuGet AlloyDB (V1 API)
Google.Cloud.AlloyDb.V1Alpha NuGet AlloyDB (V1Alpha API)
Google.Cloud.AlloyDb.V1Beta NuGet AlloyDB (V1Beta API)
Google.Cloud.ApiGateway.V1 NuGet API Gateway
Google.Cloud.AIPlatform.V1 NuGet Cloud AI Platform
Google.Cloud.ApiKeys.V2 NuGet API Keys
Google.Cloud.ApigeeConnect.V1 NuGet Apigee Connect
Google.Cloud.ApigeeRegistry.V1 NuGet Apigee Registry
Google.Cloud.AppEngine.Logging.V1 NuGet App Engine Logging Data
Google.Cloud.AppEngine.V1 NuGet App Engine
Google.Cloud.ArtifactRegistry.V1 NuGet Artifact Registry (V1 API)
Google.Cloud.ArtifactRegistry.V1Beta2 NuGet Artifact Registry (V1Beta2 API)
Google.Cloud.Asset.V1 NuGet Google Cloud Asset Inventory
Google.Cloud.AssuredWorkloads.V1 NuGet Assured Workloads (V1 API)
Google.Cloud.AssuredWorkloads.V1Beta1 NuGet Assured Workloads (V1Beta1 API)
Google.Cloud.Audit NuGet Google Cloud Audit
Google.Cloud.AutoML.V1 NuGet Google AutoML
Google.Cloud.BareMetalSolution.V2 NuGet Bare Metal Solution
Google.Cloud.Batch.V1 NuGet Batch (V1 API)
Google.Cloud.Batch.V1Alpha NuGet Batch (V1Alpha API)
Google.Cloud.BeyondCorp.AppConnections.V1 NuGet BeyondCorp AppConnections
Google.Cloud.BeyondCorp.AppConnectors.V1 NuGet BeyondCorp AppConnectors
Google.Cloud.BeyondCorp.AppGateways.V1 NuGet BeyondCorp AppGateways
Google.Cloud.BeyondCorp.ClientGateways.V1 NuGet BeyondCorp Client Gateways
Google.Cloud.BigQuery.AnalyticsHub.V1 NuGet Analytics Hub (V1 API)
Google.Cloud.BigQuery.Connection.V1 NuGet BigQuery Connection
Google.Cloud.BigQuery.DataExchange.V1Beta1 NuGet Analytics Hub (V1Beta1 API)
Google.Cloud.BigQuery.DataPolicies.V1 NuGet BigQuery Data Policy (V1 API)
Google.Cloud.BigQuery.DataPolicies.V1Beta1 NuGet BigQuery Data Policy (V1Beta1 API)
Google.Cloud.BigQuery.DataTransfer.V1 NuGet Google BigQuery Data Transfer
Google.Cloud.BigQuery.Logging.V1 NuGet BigQuery Audit Data Logging
Google.Cloud.BigQuery.Migration.V2 NuGet BigQuery Migration
Google.Cloud.BigQuery.Reservation.V1 NuGet BigQuery Reservation
Google.Cloud.BigQuery.V2 NuGet Google BigQuery
Google.Cloud.BigQuery.Storage.V1 NuGet Google BigQuery Storage
Google.Cloud.Bigtable.Admin.V2 NuGet Google Cloud Bigtable Administration
Google.Cloud.Bigtable.Common.V2 NuGet Common code used by Bigtable V2 APIs
Google.Cloud.Bigtable.V2 NuGet Google Bigtable
Google.Cloud.Billing.Budgets.V1 NuGet Cloud Billing Budget (V1 API)
Google.Cloud.Billing.Budgets.V1Beta1 NuGet Cloud Billing Budget (V1Beta1 API)
Google.Cloud.Billing.V1 NuGet Google Cloud Billing
Google.Cloud.BinaryAuthorization.V1 NuGet Binary Authorization (V1 API)
Google.Cloud.BinaryAuthorization.V1Beta1 NuGet Binary Authorization (V1Beta1 API)
Google.Cloud.CertificateManager.V1 NuGet Certificate Manager
Google.Cloud.Channel.V1 NuGet Cloud Channel
Google.Cloud.CloudBuild.V1 NuGet Cloud Build (V1 API)
Google.Cloud.CloudBuild.V2 NuGet Cloud Build
Google.Cloud.CloudDms.V1 NuGet Database Migration
Google.Cloud.Commerce.Consumer.Procurement.V1 NuGet Cloud Commerce Consumer Procurement
Google.Cloud.Common NuGet Common protos for Cloud APIs
Google.Cloud.Compute.V1 NuGet Compute Engine
Google.Cloud.ConfidentialComputing.V1 NuGet Confidential Computing (V1 API)
Google.Cloud.ConfidentialComputing.V1Alpha1 NuGet Confidential Computing (V1Alpha1 API)
Google.Cloud.Config.V1 NuGet Infrastructure Manager
Google.Cloud.Connectors.V1 NuGet Integration Connectors
Google.Cloud.ContactCenterInsights.V1 NuGet Contact Center AI Insights
Google.Cloud.Container.V1 NuGet Google Kubernetes Engine
Google.Cloud.DataCatalog.Lineage.V1 NuGet Data Lineage
Google.Cloud.DataCatalog.V1 NuGet Data Catalog
Google.Cloud.DataFusion.V1 NuGet Cloud Data Fusion
Google.Cloud.DataLabeling.V1Beta1 NuGet Data Labeling
Google.Cloud.DataQnA.V1Alpha NuGet Data QnA
Google.Cloud.Dataflow.V1Beta3 NuGet Dataflow
Google.Cloud.Dataform.V1Beta1 NuGet Dataform
Google.Cloud.Dataplex.V1 NuGet Cloud Dataplex
Google.Cloud.Dataproc.V1 NuGet Google Cloud Dataproc
Google.Cloud.Datastore.Admin.V1 NuGet Cloud Datastore
Google.Cloud.Datastore.V1 NuGet Google Cloud Datastore
Google.Cloud.Datastream.V1 NuGet DataStream (V1 API)
Google.Cloud.Datastream.V1Alpha1 NuGet DataStream (V1Alpha1 API)
Google.Cloud.Deploy.V1 NuGet Google Cloud Deploy
Google.Cloud.DevTools.Common NuGet Common Protocol Buffer messages for Google Cloud Developer Tools APIs
Google.Cloud.DevTools.ContainerAnalysis.V1 NuGet Google Container Analysis
Google.Cloud.Diagnostics.AspNetCore3 NuGet Google Cloud Logging, Trace and Error Reporting Instrumentation Libraries for ASP.NET Core 3
Google.Cloud.Diagnostics.Common NuGet Google Cloud Logging, Trace and Error Reporting Instrumentation Libraries Common Components
Google.Cloud.Dialogflow.Cx.V3 NuGet Dialogflow
Google.Cloud.Dialogflow.V2 NuGet Google Cloud Dialogflow (V2 API)
Google.Cloud.Dialogflow.V2Beta1 NuGet Google Cloud Dialogflow (V2Beta1 API)
Google.Cloud.DiscoveryEngine.V1 NuGet Discovery Engine (V1 API)
Google.Cloud.DiscoveryEngine.V1Beta NuGet Discovery Engine (V1Beta API)
Google.Cloud.Dlp.V2 NuGet Google Cloud Data Loss Prevention
Google.Cloud.DocumentAI.V1 NuGet Cloud Document AI (V1 API)
Google.Cloud.DocumentAI.V1Beta3 NuGet Cloud Document AI (V1Beta3 API)
Google.Cloud.Domains.V1 NuGet Cloud Domains (V1 API)
Google.Cloud.Domains.V1Beta1 NuGet Cloud Domains (V1Beta1 API)
Google.Cloud.EnterpriseKnowledgeGraph.V1 NuGet Enterprise Knowledge Graph
Google.Cloud.ErrorReporting.V1Beta1 NuGet Google Cloud Error Reporting
Google.Cloud.EssentialContacts.V1 NuGet Essential Contacts
Google.Cloud.Eventarc.Publishing.V1 NuGet Eventarc Publishing
Google.Cloud.Eventarc.V1 NuGet Eventarc
Google.Cloud.Filestore.V1 NuGet Cloud Filestore
Google.Cloud.Firestore.Admin.V1 NuGet Firestore Administration (e.g. index management)
Google.Cloud.Firestore NuGet Firestore high-level library
Google.Cloud.Firestore.V1 NuGet Firestore low-level API access
Google.Cloud.Functions.V1 NuGet Cloud Functions (V1 API)
Google.Cloud.Functions.V2 NuGet Cloud Functions (V2 API)
Google.Cloud.Functions.V2Beta NuGet Cloud Functions (V2Beta API)
Google.Cloud.GSuiteAddOns.V1 NuGet Google Workspace Add-ons
Google.Cloud.GkeBackup.V1 NuGet Backup for GKE
Google.Cloud.GkeConnect.Gateway.V1Beta1 NuGet Connect Gateway
Google.Cloud.GkeHub.V1Beta1 NuGet GKE Hub (V1Beta1 API)
Google.Cloud.GkeHub.V1 NuGet GKE Hub (V1 API)
Google.Cloud.GkeMultiCloud.V1 NuGet Anthos Multi-Cloud
Google.Cloud.Iam.Admin.V1 NuGet Identity and Access Management (IAM)
Google.Cloud.Iam.Credentials.V1 NuGet IAM Service Account Credentials
Google.Cloud.Iam.V1 NuGet Google Cloud Identity and Access Management (IAM) (V1 API)
Google.Cloud.Iam.V2 NuGet Google Cloud Identity and Access Management (IAM) (V2 API)
Google.Cloud.Iap.V1 NuGet Cloud Identity-Aware Proxy
Google.Cloud.Ids.V1 NuGet Cloud IDS
Google.Cloud.Kms.Inventory.V1 NuGet KMS Inventory
Google.Cloud.Kms.V1 NuGet Google Cloud Key Management Service
Google.Cloud.Language.V1 NuGet Google Cloud Natural Language
Google.Cloud.Language.V2 NuGet Cloud Natural Language
Google.Cloud.LifeSciences.V2Beta NuGet Cloud Life Sciences
Google.Cloud.Location NuGet Support for the Google Cloud Locations mix-in API pattern
Google.Cloud.Logging.Log4Net NuGet Log4Net client library for the Google Cloud Logging API
Google.Cloud.Logging.Console NuGet ConsoleFormatter for Google Cloud Logging
Google.Cloud.Logging.NLog NuGet NLog target for the Google Cloud Logging API
Google.Cloud.Logging.Type NuGet Version-agnostic types for the Google Cloud Logging API
Google.Cloud.Logging.V2 NuGet Google Cloud Logging
Google.Cloud.ManagedIdentities.V1 NuGet Managed Service for Microsoft Active Directory
Google.Cloud.MediaTranslation.V1Beta1 NuGet Media Translation
Google.Cloud.Memcache.V1 NuGet Cloud Memorystore for Memcached
Google.Cloud.Memcache.V1Beta2 NuGet Google Cloud Memorystore for Memcache
Google.Cloud.Metastore.V1 NuGet Dataproc Metastore (V1 API)
Google.Cloud.Metastore.V1Alpha NuGet Dataproc Metastore (V1Alpha API)
Google.Cloud.Metastore.V1Beta NuGet Dataproc Metastore (V1Beta API)
Google.Cloud.MigrationCenter.V1 NuGet Migration Center
Google.Cloud.Monitoring.V3 NuGet Google Cloud Monitoring
Google.Cloud.NetApp.V1 NuGet NetApp
Google.Cloud.NetworkConnectivity.V1 NuGet Network Connectivity (V1 API)
Google.Cloud.NetworkConnectivity.V1Alpha1 NuGet Network Connectivity (V1Alpha1 API)
Google.Cloud.NetworkManagement.V1 NuGet Network Management
Google.Cloud.NetworkSecurity.V1Beta1 NuGet Network Security
Google.Cloud.Notebooks.V1 NuGet AI Platform Notebooks (V1 API)
Google.Cloud.Notebooks.V1Beta1 NuGet AI Platform Notebooks (V1Beta1 API)
Google.Cloud.Notebooks.V2 NuGet Notebooks
Google.Cloud.Optimization.V1 NuGet Cloud Optimization
Google.Cloud.Orchestration.Airflow.Service.V1 NuGet Cloud Composer
Google.Cloud.OrgPolicy.V1 NuGet OrgPolicy API messages
Google.Cloud.OrgPolicy.V2 NuGet Organization Policy
Google.Cloud.OsConfig.V1 NuGet Google Cloud OS Config (V1 API)
Google.Cloud.OsConfig.V1Alpha NuGet Google Cloud OS Config (V1Alpha API)
Google.Cloud.OsLogin.Common NuGet Version-agnostic types for the Google OS Login API
Google.Cloud.OsLogin.V1 NuGet Google Cloud OS Login (V1 API)
Google.Cloud.OsLogin.V1Beta NuGet Google Cloud OS Login (V1Beta API)
Google.Cloud.PhishingProtection.V1Beta1 NuGet Cloud Phishing Protection
Google.Cloud.PolicySimulator.V1 NuGet Policy Simulator
Google.Cloud.PolicyTroubleshooter.Iam.V3 NuGet Policy Troubleshooter (V3 API)
Google.Cloud.PolicyTroubleshooter.V1 NuGet Policy Troubleshooter (V1 API)
Google.Cloud.PrivateCatalog.V1Beta1 NuGet Cloud Private Catalog
Google.Cloud.Profiler.V2 NuGet Cloud Profiler
Google.Cloud.PubSub.V1 NuGet Cloud Pub/Sub
Google.Cloud.RapidMigrationAssessment.V1 NuGet Rapid Migration Assessment
Google.Cloud.RecaptchaEnterprise.V1 NuGet Google Cloud reCAPTCHA Enterprise (V1 API)
Google.Cloud.RecaptchaEnterprise.V1Beta1 NuGet Google Cloud reCAPTCHA Enterprise (V1Beta1 API)
Google.Cloud.RecommendationEngine.V1Beta1 NuGet Recommendations AI
Google.Cloud.Recommender.V1 NuGet Google Cloud Recommender
Google.Cloud.Redis.V1 NuGet Google Cloud Memorystore for Redis (V1 API)
Google.Cloud.Redis.V1Beta1 NuGet Google Cloud Memorystore for Redis (V1Beta1 API)
Google.Cloud.ResourceManager.V3 NuGet Cloud Resource Manager
Google.Cloud.ResourceSettings.V1 NuGet Resource Settings
Google.Cloud.Retail.V2 NuGet Retail
Google.Cloud.Run.V2 NuGet Cloud Run Admin
Google.Cloud.Scheduler.V1 NuGet Google Cloud Scheduler
Google.Cloud.SecretManager.V1 NuGet Secret Manager (V1 API)
Google.Cloud.SecretManager.V1Beta1 NuGet Secret Manager (V1Beta1 API)
Google.Cloud.Security.PrivateCA.V1 NuGet Certificate Authority
Google.Cloud.Security.PublicCA.V1Beta1 NuGet Public Certificate Authority
Google.Cloud.SecurityCenter.Settings.V1Beta1 NuGet Google Cloud Security Command Center Settings
Google.Cloud.SecurityCenter.V1 NuGet Google Cloud Security Command Center (V1 API)
Google.Cloud.SecurityCenter.V1P1Beta1 NuGet Google Cloud Security Command Center (V1P1Beta1 API)
Google.Cloud.ServiceControl.V1 NuGet Service Control
Google.Cloud.ServiceDirectory.V1 NuGet Service Directory (V1 API)
Google.Cloud.ServiceDirectory.V1Beta1 NuGet Service Directory (V1Beta1 API)
Google.Cloud.ServiceManagement.V1 NuGet Service Management
Google.Cloud.ServiceUsage.V1 NuGet Service Usage
Google.Cloud.Shell.V1 NuGet Cloud Shell
Google.Cloud.Spanner.Admin.Database.V1 NuGet Google Cloud Spanner Database Administration
Google.Cloud.Spanner.Admin.Instance.V1 NuGet Google Cloud Spanner Instance Administration
Google.Cloud.Spanner.Data NuGet Google ADO.NET Provider for Google Cloud Spanner
Google.Cloud.Spanner.Common.V1 NuGet Common resource names used by all Spanner V1 APIs
Google.Cloud.Spanner.V1 NuGet Google Cloud Spanner
Google.Cloud.Speech.V1 NuGet Google Cloud Speech (V1 API)
Google.Cloud.Speech.V1P1Beta1 NuGet Google Cloud Speech (V1P1Beta1 API)
Google.Cloud.Speech.V2 NuGet Cloud Speech-to-Text
Google.Cloud.Storage.V1 NuGet Google Cloud Storage
Google.Cloud.StorageInsights.V1 NuGet Google Cloud Storage Insights
Google.Cloud.StorageTransfer.V1 NuGet Storage Transfer
Google.Cloud.Support.V2 NuGet Google Cloud Support
Google.Cloud.Talent.V4 NuGet Google Cloud Talent Solution (V4 API)
Google.Cloud.Talent.V4Beta1 NuGet Google Cloud Talent Solution (V4Beta1 API)
Google.Cloud.Tasks.V2 NuGet Google Cloud Tasks (V2 API)
Google.Cloud.Tasks.V2Beta3 NuGet Google Cloud Tasks (V2Beta3 API)
Google.Cloud.TextToSpeech.V1 NuGet Google Cloud Text-to-Speech (V1 API)
Google.Cloud.TextToSpeech.V1Beta1 NuGet Google Cloud Text-to-Speech (V1Beta1 API)
Google.Cloud.Tpu.V1 NuGet Cloud TPU
Google.Cloud.Trace.V1 NuGet Google Cloud Trace (V1 API)
Google.Cloud.Trace.V2 NuGet Google Cloud Trace (V2 API)
Google.Cloud.Translate.V3 NuGet Google Cloud Translation (V3 API)
Google.Cloud.Translation.V2 NuGet Google Cloud Translation (V2 API)
Google.Cloud.VMMigration.V1 NuGet VM Migration
Google.Cloud.Video.LiveStream.V1 NuGet Live Stream
Google.Cloud.Video.Stitcher.V1 NuGet Video Stitcher
Google.Cloud.Video.Transcoder.V1 NuGet Transcoder
Google.Cloud.VideoIntelligence.V1 NuGet Google Cloud Video Intelligence
Google.Cloud.Vision.V1 NuGet Google Cloud Vision
Google.Cloud.VmwareEngine.V1 NuGet VMware Engine
Google.Cloud.VpcAccess.V1 NuGet Serverless VPC Access
Google.Cloud.WebRisk.V1 NuGet Google Cloud Web Risk (V1 API)
Google.Cloud.WebRisk.V1Beta1 NuGet Google Cloud Web Risk (V1Beta1 API)
Google.Cloud.WebSecurityScanner.V1 NuGet Web Security Scanner
Google.Cloud.Workflows.Common.V1 NuGet Common resource names used by all Workflows V1 APIs
Google.Cloud.Workflows.Common.V1Beta NuGet Common resource names used by all Workflows V1Beta APIs
Google.Cloud.Workflows.Executions.V1 NuGet Workflow Executions (V1 API)
Google.Cloud.Workflows.Executions.V1Beta NuGet Workflow Executions (V1Beta API)
Google.Cloud.Workflows.V1 NuGet Workflows (V1 API)
Google.Cloud.Workflows.V1Beta NuGet Workflows (V1Beta API)
Google.Cloud.Workstations.V1 NuGet Cloud Workstations
Google.Geo.Type NuGet Version-agnostic types for Geo APIs
Google.Identity.AccessContextManager.Type NuGet Version-agnostic types for the Google Identity Access Context Manager API
Google.Identity.AccessContextManager.V1 NuGet Identity Access Context Manager
Google.LongRunning NuGet Support for the Long-Running Operations API pattern
Google.Maps.AddressValidation.V1 NuGet Address Validation
Google.Maps.MapsPlatformDatasets.V1 NuGet Maps Platform Datasets (V1 API)
Google.Maps.MapsPlatformDatasets.V1Alpha NuGet Maps Platform Datasets (V1Alpha API)
Google.Maps.Routing.V2 NuGet Maps Routing
Google.Shopping.Merchant.Inventories.V1Beta NuGet Merchant Inventories
Google.Shopping.Type NuGet Version-agnostic types for Shopping APIs
Grafeas.V1 NuGet Grafeas

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.

About

Google Cloud Client Libraries for .NET

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%