commit | 24e410efbb6add2d33ecfb6ad98b67dc8894e578 | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Wed Nov 01 19:12:14 2023 +0000 |
committer | GitHub <noreply@github.com> | Wed Nov 01 19:12:14 2023 +0000 |
tree | b8632e93ca600ae811385ea639049f311487c53a | |
parent | bed3908a66c153daf9fa8cefe174b2f0575eecad [diff] |
feat(spanner): add directed_read_option in spanner.proto (#8950) - [ ] Regenerate this pull request now. docs(spanner): updated comment formatting PiperOrigin-RevId: 578551679 Source-Link: https://togithub.com/googleapis/googleapis/commit/7c80b961d092ff59576df0eba672958b4954bc4b Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/7b1172ba5e020eaef7de75062a576a11b8e117e4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2IxMTcyYmE1ZTAyMGVhZWY3ZGU3NTA2MmE1NzZhMTFiOGUxMTdlNCJ9 BEGIN_NESTED_COMMIT feat(aiplatform): Adding new fields for concurrent explanations PiperOrigin-RevId: 578251436 Source-Link: https://togithub.com/googleapis/googleapis/commit/e85bb344ac522b5548289569047d06e902f6278d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9a7e2dc85c29658f0782c250f324551f74437068 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWE3ZTJkYzg1YzI5NjU4ZjA3ODJjMjUwZjMyNDU1MWY3NDQzNzA2OCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(documentai): updated comments PiperOrigin-RevId: 578242041 Source-Link: https://togithub.com/googleapis/googleapis/commit/f9bd3d00ef2069a67900f23952ba6b6ffec025a7 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/ee681d8ecb3421017d94dcc4f05423d93deb4a0d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWU2ODFkOGVjYjM0MjEwMTdkOTRkY2M0ZjA1NDIzZDkzZGViNGEwZCJ9 END_NESTED_COMMIT
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:
cd /my/cloud/project
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.
For an updated list of all of our released APIs please see our reference docs.
Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
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))
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.