commit | 2cdc40a0b4288f5ab5f2b2b8f5c1d6453a9c81ec | [log] [tgz] |
---|---|---|
author | gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> | Tue Apr 02 23:32:16 2024 +0000 |
committer | GitHub <noreply@github.com> | Tue Apr 02 23:32:16 2024 +0000 |
tree | c0fd93b00e4176a2b0efaa6c0f86dd305f9db56a | |
parent | faa61a6ea882e3f307b4e531138a49887ef8fcd5 [diff] |
docs(firestore/apiv1): Allow 14 week backup retention for Firestore daily backups (#9685) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 621269025 Source-Link: https://togithub.com/googleapis/googleapis/commit/d0ed6724c4f2868bf4c6d8e0fe9223221f0f0e50 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/73c87bc51e565666bf4e399b194b3d71e1340ee7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzNjODdiYzUxZTU2NTY2NmJmNGUzOTliMTk0YjNkNzFlMTM0MGVlNyJ9 BEGIN_NESTED_COMMIT feat(spanner/executor): Add SessionPoolOptions, SpannerOptions protos in executor protos PiperOrigin-RevId: 621265883 Source-Link: https://togithub.com/googleapis/googleapis/commit/fed9845c564d6acf8d03beee69b36666c8bd7fa4 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c66a76957e2e16347bc1dd3f4c638223f065ee80 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzY2YTc2OTU3ZTJlMTYzNDdiYzFkZDNmNGM2MzgyMjNmMDY1ZWU4MCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(cloudquotas): Add `rollout_info` field to `QuotaDetails` message PiperOrigin-RevId: 621249697 Source-Link: https://togithub.com/googleapis/googleapis/commit/a74854dfc497c175b997b7fe1b264a898f594da6 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c9c7eb0653b6593d1e1d24551f31237513fe0a48 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzljN2ViMDY1M2I2NTkzZDFlMWQyNDU1MWYzMTIzNzUxM2ZlMGE0OCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(documentai): Support a new Layout Processor in Document AI docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 621233157 Source-Link: https://togithub.com/googleapis/googleapis/commit/d5020fff4cbe108bdf506074791c56cff7840bef Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/3beacfd02f8cf650bbae6ef8c37131c98723fa17 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2JlYWNmZDAyZjhjZjY1MGJiYWU2ZWY4YzM3MTMxYzk4NzIzZmExNyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(security/privateca): Add encoding format to `.google.cloud.security.privateca.v1.CaPool` Resource docs: A comment for field `maximum_lifetime` in message `.google.cloud.security.privateca.v1.CaPool` is changed docs: A comment for field `maximum_lifetime` in message `.google.cloud.security.privateca.v1.CertificateTemplate` is changed docs: A comment for field `subject_key_id` in message `.google.cloud.security.privateca.v1.CertificateConfig` is changed docs: A comment for method `FetchCaCerts` in service `CertificateAuthorityService` is changed docs: A comment for field `ignore_dependent_resources` in message `.google.cloud.security.privateca.v1.DisableCertificateAuthorityRequest` is changed docs: A comment for field `ignore_dependent_resources` in message `.google.cloud.security.privateca.v1.DeleteCertificateAuthorityRequest` is changed docs: A comment for field `ignore_dependent_resources` in message `.google.cloud.security.privateca.v1.DeleteCaPoolRequest` is changed docs: A comment for field `ca_certs` in message `.google.cloud.security.privateca.v1.FetchCaCertsResponse` is changed PiperOrigin-RevId: 620969058 Source-Link: https://togithub.com/googleapis/googleapis/commit/8d326d5a7e7146e41ecce7f921e51c97504f7487 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/24634b50df6fde9fd2485a0ec2705a99722707f3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ2MzRiNTBkZjZmZGU5ZmQyNDg1YTBlYzI3MDVhOTk3MjI3MDdmMyJ9 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.