commit | fa91b478a55d6347f5c4fd29f2490316b2f31072 | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Mon Jun 12 19:48:17 2023 +0000 |
committer | GitHub <noreply@github.com> | Mon Jun 12 19:48:17 2023 +0000 |
tree | 1b8956ef6c14f96315b06b2053f03112f238b8d8 | |
parent | 210584df494e9627dd13c24138fcbebe85048647 [diff] |
chore(firestore): Add bloom filter related comments (#8079) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 538646627 Source-Link: https://togithub.com/googleapis/googleapis/commit/1ceef690800f953d50235540b91d10ef2b2cf36e Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/fb7c4c4aef630f4957fa501c48587f983e17644a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmI3YzRjNGFlZjYzMGY0OTU3ZmE1MDFjNDg1ODdmOTgzZTE3NjQ0YSJ9 BEGIN_NESTED_COMMIT docs(gkebackup): minor documentation fixes PiperOrigin-RevId: 538564373 Source-Link: https://togithub.com/googleapis/googleapis/commit/477cf967cc10f831ab017a594e06949d0aa914ba Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/51fbcf5f64fd2f1b8eee7f426da712e98cc7d960 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTFmYmNmNWY2NGZkMmYxYjhlZWU3ZjQyNmRhNzEyZTk4Y2M3ZDk2MCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(migrationcenter): Migration Center API PiperOrigin-RevId: 538419060 Source-Link: https://togithub.com/googleapis/googleapis/commit/145066395eca3dd6bbbb4c9b51ee36e220eefa44 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f980c5aef46d708b84709ea70baf93b7d7419941 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjk4MGM1YWVmNDZkNzA4Yjg0NzA5ZWE3MGJhZjkzYjdkNzQxOTk0MSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(vmwareengine): Adding private connection CRUD, updating management subnets and time-limited PC features PiperOrigin-RevId: 538382998 Source-Link: https://togithub.com/googleapis/googleapis/commit/e51050b46b19ddbfc74386942fd5a1f781a912df Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/3bbb92be95f03a8df4e5747eeec924752392c396 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2JiYjkyYmU5NWYwM2E4ZGY0ZTU3NDdlZWVjOTI0NzUyMzkyYzM5NiJ9 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:
Change to your project directory:
cd /my/cloud/project
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.
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: snip:# (auth-ts)
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.