| commit | 35d75787536876c61ef70682a7ee5407579e41e6 | [log] [tgz] |
|---|---|---|
| author | cloud-sdk-librarian-robot <cloud-sdk-librarian-robot@google.com> | Fri Jan 02 09:39:33 2026 -0500 |
| committer | GitHub <noreply@github.com> | Fri Jan 02 09:39:33 2026 -0500 |
| tree | 5b39128ca27d9f9bf375d79d5b708dc5ab5247a9 | |
| parent | 90a4f21fc7c19aec71e92dfa9b810bad9544a7c0 [diff] |
chore: librarian generate pull request: 20251231T080340Z (#13528) PR created by the Librarian CLI to generate Cloud Client Libraries code from protos. BEGIN_COMMIT BEGIN_NESTED_COMMIT docs: change comment indicating `enable_gemini_in_bigquery` field for BigQuery Reservation Assignments is deprecated PiperOrigin-RevId: 850121797 Library-IDs: bigquery Source-link: [googleapis/googleapis@94ccedca](https://github.com/googleapis/googleapis/commit/94ccedca) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: expose BigtableProtoConfig for bigtable integration PiperOrigin-RevId: 850096604 Library-IDs: bigquery/v2 Source-link: [googleapis/googleapis@2c8fbf7f](https://github.com/googleapis/googleapis/commit/2c8fbf7f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: add index ID to IndexPruningStats PiperOrigin-RevId: 850096604 Library-IDs: bigquery/v2 Source-link: [googleapis/googleapis@2c8fbf7f](https://github.com/googleapis/googleapis/commit/2c8fbf7f) END_NESTED_COMMIT END_COMMIT This pull request is generated with proto changes between [googleapis/googleapis@535d161c](https://github.com/googleapis/googleapis/commit/535d161c24965e9ed1a0b27032cc1c8b4beab818) (exclusive) and [googleapis/googleapis@94ccedca](https://github.com/googleapis/googleapis/commit/94ccedca05acb0bb60780789e93371c9e4100ddc) (inclusive). Librarian Version: v0.0.0-20251218164811-cd2252e38d0a Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-go@sha256:718167d5c23ed389b41f617b3a00ac839bdd938a6bd2d48ae0c2f1fa51ab1c3d
Go packages for Google Cloud Platform services.
go get cloud.google.com/go/firestore@latest # Replace firestore 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 the two most recent major Go releases, the same policy the Go programming language follows. This means the currently supported versions are:
By default, each client library will use Application Default Credentials (ADC) to automatically configure the credentials used in calling the API endpoint. When using the libraries in a Google Cloud Platform environment such as Compute Engine, Kubernetes Engine, or App Engine, no additional authentication steps are necessary. See Authentication methods at Google and Authenticate for using client libraries for more information.
client, err := storage.NewClient(ctx)
For applications running elsewhere, such as your local development environment, you can use the gcloud auth application-default login command from the Google Cloud CLI to set user credentials in your local filesystem. Application Default Credentials will automatically detect these credentials. See Set up ADC for a local development environment for more information.
Alternately, you may need to provide an explicit path to your credentials. To authenticate using a service account key file, either set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to your key file, or programmatically 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 even more control over authentication by using the credentials package to create an auth.Credentials. Then pass option.WithAuthCredentials to the NewClient function:
creds, err := credentials.DetectDefault(&credentials.DetectOptions{...})
...
client, err := storage.NewClient(ctx, option.WithAuthCredentials(creds))
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.