GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codeincanada/google-cloud-go: Google Cloud Client Libraries for Go.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

6,701 Commits
6,701 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
accessapproval
accessapproval
 
 
accesscontextmanager
accesscontextmanager
 
 
advisorynotifications
advisorynotifications
 
 
aiplatform
aiplatform
 
 
alloydb
alloydb
 
 
analytics
analytics
 
 
apigateway
apigateway
 
 
apigeeconnect
apigeeconnect
 
 
apigeeregistry
apigeeregistry
 
 
apikeys
apikeys
 
 
appengine
appengine
 
 
area120
area120
 
 
artifactregistry
artifactregistry
 
 
asset
asset
 
 
assuredworkloads
assuredworkloads
 
 
automl
automl
 
 
baremetalsolution
baremetalsolution
 
 
batch
batch
 
 
beyondcorp
beyondcorp
 
 
bigquery
bigquery
 
 
bigtable
bigtable
 
 
billing
billing
 
 
binaryauthorization
binaryauthorization
 
 
certificatemanager
certificatemanager
 
 
channel
channel
 
 
civil
civil
 
 
cloudbuild
cloudbuild
 
 
clouddms
clouddms
 
 
cloudtasks
cloudtasks
 
 
compute
compute
 
 
contactcenterinsights
contactcenterinsights
 
 
container
container
 
 
containeranalysis
containeranalysis
 
 
datacatalog
datacatalog
 
 
dataflow
dataflow
 
 
dataform
dataform
 
 
datafusion
datafusion
 
 
datalabeling
datalabeling
 
 
dataplex
dataplex
 
 
dataproc
dataproc
 
 
dataqna
dataqna
 
 
datastore
datastore
 
 
datastream
datastream
 
 
debugger
debugger
 
 
deploy
deploy
 
 
dialogflow
dialogflow
 
 
discoveryengine
discoveryengine
 
 
dlp
dlp
 
 
documentai
documentai
 
 
domains
domains
 
 
edgecontainer
edgecontainer
 
 
errorreporting
errorreporting
 
 
essentialcontacts
essentialcontacts
 
 
eventarc
eventarc
 
 
filestore
filestore
 
 
firestore
firestore
 
 
functions
functions
 
 
gaming
gaming
 
 
gkebackup
gkebackup
 
 
gkeconnect
gkeconnect
 
 
gkehub
gkehub
 
 
gkemulticloud
gkemulticloud
 
 
grafeas
grafeas
 
 
gsuiteaddons
gsuiteaddons
 
 
httpreplay
httpreplay
 
 
iam
iam
 
 
iap
iap
 
 
ids
ids
 
 
internal
internal
 
 
iot
iot
 
 
kms
kms
 
 
language
language
 
 
lifesciences
lifesciences
 
 
logging
logging
 
 
longrunning
longrunning
 
 
managedidentities
managedidentities
 
 
maps
maps
 
 
mediatranslation
mediatranslation
 
 
memcache
memcache
 
 
metastore
metastore
 
 
monitoring
monitoring
 
 
networkconnectivity
networkconnectivity
 
 
networkmanagement
networkmanagement
 
 
networksecurity
networksecurity
 
 
notebooks
notebooks
 
 
optimization
optimization
 
 
orchestration
orchestration
 
 
orgpolicy
orgpolicy
 
 
osconfig
osconfig
 
 
oslogin
oslogin
 
 
phishingprotection
phishingprotection
 
 
policytroubleshooter
policytroubleshooter
 
 
privatecatalog
privatecatalog
 
 
profiler
profiler
 
 
pubsub
pubsub
 
 
pubsublite
pubsublite
 
 
recaptchaenterprise
recaptchaenterprise
 
 
recommendationengine
recommendationengine
 
 
recommender
recommender
 
 

Repository files navigation

Google Cloud Client Libraries for Go

Go Reference

Go packages for Google Cloud Platform services.

import "cloud.google.com/go"

To install the packages on your system, do not clone the repo. Instead:

  1. Change to your project directory:

    cd /my/cloud/project
  2. Get the package you want to use. Some products have their own module, so it's best to go get the package(s) you want to use:

    $ go get cloud.google.com/go/firestore # Replace with the package you want to use.
    

NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.

Supported APIs

For an updated list of all of our released APIs please see our reference docs.

Go Versions Supported

Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:

  • Go 1.20
  • Go 1.19
  • Go 1.18
  • Go 1.17

Authorization

By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.

client, err := storage.NewClient(ctx)

To authorize using a JSON key file, pass option.WithCredentialsFile to the NewClient function of the desired package. For example:

client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))

You can exert more control over authorization by using the golang.org/x/oauth2 package to create an oauth2.TokenSource. Then pass option.WithTokenSource to the NewClient function: snip:# (auth-ts)

tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.

Links

  • Go on Google Cloud
  • Getting started with Go on Google Cloud
  • App Engine Quickstart
  • Cloud Functions Quickstart
  • Cloud Run Quickstart

About

Google Cloud Client Libraries for Go.

cloud.google.com/go/docs/reference

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.