cloud.google.com/go => github.com/googleapis/google-cloud-go (every 8h) https://github.com/googleapis/google-cloud-go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eric Bueno d10ff30974 cbt docs: Calling out raw byte support for cbt lookup command and generating docs for dropallrows. 5 days ago
asset all: regen 1 week ago
automl all: regen 1 week ago
bigquery all: get latest api, genproto 1 day ago
bigtable cbt docs: Calling out raw byte support for cbt lookup command and generating docs for dropallrows. 1 hour ago
civil all: modify copyright notice 1 year ago
cloudbuild/apiv1 cloudbuild: fix import path 1 week ago
cloudtasks all: regen 1 week ago
cmd/go-cloud-debug-agent internal: add licenses to shell scripts 2 months ago
compute/metadata b*-z*: add .repo-metadata.json 1 month ago
container All: regen gapics. 1 month ago
containeranalysis all: regen 1 week ago
dataproc all: regen 1 week ago
datastore all: get latest api, genproto 1 day ago
debugger/apiv2 all: regen 1 week ago
dialogflow/apiv2 all: regen 1 week ago
dlp/apiv2 all: regen 1 week ago
errorreporting all: regen 1 week ago
expr/apiv1alpha1 all: regen 1 week ago
firestore Set admin credentials when using the emulator 1 day ago
functions/metadata b*-z*: add .repo-metadata.json 1 month ago
grafeas/apiv1 All: regen gapics. 1 month ago
httpreplay internal: add licenses to shell scripts 2 months ago
iam all: regen 1 week ago
internal internal: fix runnning all tests 4 days ago
iot/apiv1 all: regen 1 week ago
irm/apiv1alpha2 all: regen 1 week ago
kms/apiv1 all: regen 1 week ago
language all: regen 1 week ago
logging all: get latest api, genproto 1 day ago
longrunning all: regen 1 week ago
monitoring/apiv3 all: regen 1 week ago
oslogin all: regen 1 week ago
phishingprotection/apiv1beta1 all: regen 1 week ago
profiler profiler: increase the test bench duration 3 weeks ago
pubsub pubsub: skip flakey TestIntegration_All 2 hours ago
recaptchaenterprise/apiv1beta1 all: regen 1 week ago
recommender/apiv1beta1 all: regen 1 week ago
redis all: regen 1 week ago
rpcreplay All: regen gapics. 1 month ago
scheduler all: regen 1 week ago
securitycenter all: regen 1 week ago
spanner spanner: less stress testing tests 4 hours ago
speech all: regen 1 week ago
storage storage: skip TestIntegration_UpdateRetentionPolicy 2 hours ago
talent/apiv4beta1 all: regen 1 week ago
texttospeech/apiv1 all: regen 2 weeks ago
trace all: regen 1 week ago
translate all: regen 1 week ago
videointelligence all: regen 1 week ago
vision all: regen 1 week ago
webrisk/apiv1beta1 all: regen 1 week ago
CHANGES.md all: release v0.47.0 1 week ago
CODE_OF_CONDUCT.md docs: add code of conduct 1 year ago
CONTRIBUTING.md docs: small CONTRIBUTING.md fixes 6 days ago
LICENSE LICENSE: use verbatim text 1 year ago
README.md docs: fix godoc README link 1 week ago
RELEASING.md docs: update RELEASING.md to clarify tag management 1 week ago
doc.go docs: Add scopes documentation 1 month ago
examples_test.go docs: Add scopes documentation 1 month ago
gapics.txt cloudbuild: add apiv1 client 1 week ago
go.mod all: get latest api, genproto 1 day ago
go.sum all: get latest api, genproto 1 day ago
issue_template.md internal: add issue template 1 year ago
license_test.go all: modify copyright notice 1 year ago
manuals.txt texttospeech: generate with microgenerator 3 weeks ago
microgens.csv all: regen 1 week ago
regen-gapic.sh regen-gapic.sh: fix microregen for macos 1 week ago
tidyall.sh all: get latest api, genproto 1 day ago
tools.go internal/kokoro: add apidiff 7 months ago

README.md

Google Cloud Client Libraries for Go

GoDoc

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
  1. 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.

NOTE: Github repo is a mirror of https://code.googlesource.com/gocloud.

Supported APIs

Google API Status Package
Asset alpha cloud.google.com/go/asset/v1beta
BigQuery stable cloud.google.com/go/bigquery
Bigtable stable cloud.google.com/go/bigtable
Cloudtasks stable cloud.google.com/go/cloudtasks/apiv2
Container stable cloud.google.com/go/container/apiv1
ContainerAnalysis beta cloud.google.com/go/containeranalysis/apiv1beta1
Dataproc stable cloud.google.com/go/dataproc/apiv1
Datastore stable cloud.google.com/go/datastore
Debugger alpha cloud.google.com/go/debugger/apiv2
Dialogflow alpha cloud.google.com/go/dialogflow/apiv2
Data Loss Prevention alpha cloud.google.com/go/dlp/apiv2
ErrorReporting alpha cloud.google.com/go/errorreporting
Firestore stable cloud.google.com/go/firestore
IAM stable cloud.google.com/go/iam
IoT alpha cloud.google.com/iot/apiv1
KMS stable cloud.google.com/go/kms
Natural Language stable cloud.google.com/go/language/apiv1
Logging stable cloud.google.com/go/logging
Monitoring alpha cloud.google.com/go/monitoring/apiv3
OS Login alpha cloud.google.com/go/oslogin/apiv1
Pub/Sub stable cloud.google.com/go/pubsub
Phishing Protection alpha cloud.google.com/go/phishingprotection/apiv1betad1
reCAPTCHA Enterprise alpha cloud.google.com/go/recaptchaenterprise/apiv1betad1
Memorystore alpha cloud.google.com/go/redis/apiv1
Scheduler stable cloud.google.com/go/scheduler/apiv1
Spanner stable cloud.google.com/go/spanner
Speech stable cloud.google.com/go/speech/apiv1
Storage stable cloud.google.com/go/storage
Talent alpha cloud.google.com/go/talent/apiv4beta1
Text To Speech alpha cloud.google.com/go/texttospeech/apiv1
Trace alpha cloud.google.com/go/trace/apiv2
Translate stable cloud.google.com/go/translate
Video Intelligence alpha cloud.google.com/go/videointelligence/apiv1beta1
Vision stable cloud.google.com/go/vision/apiv1

Alpha status: the API is still being actively developed. As a result, it might change in backward-incompatible ways and is not recommended for production use.

Beta status: the API is largely complete, but still has outstanding features and bugs to be addressed. There may be minor backwards-incompatible changes where necessary.

Stable status: the API is mature and ready for production use. We will continue addressing bugs and feature requests.

Documentation and examples are available at godoc.org/cloud.google.com/go

Go Versions Supported

We support the two most recent major versions of Go. If Google App Engine uses an older version, we support that as well.

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:

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

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details. We’re using Gerrit for our code reviews. Please don’t open pull requests against this repo, new pull requests will be automatically closed.

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.