commit | 199b7250f474b1a6f53dcf0aac0c2966f4987b68 | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Wed Jun 29 08:18:10 2022 -0700 |
committer | GitHub <noreply@github.com> | Wed Jun 29 11:18:10 2022 -0400 |
tree | a5d156e41a0f39a9716ab6facd4ff822e2a473d8 | |
parent | 350e276a5b17483e7347a82f2e195f6619782bec [diff] |
chore(all): auto-regenerate gapics (#6269) * chore(all): auto-regenerate gapics This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: https://github.com/googleapis/go-genproto/pull/838 Changes: chore(talent): add dependencies on date.proto, dayofweek.proto, and any.proto PiperOrigin-RevId: 457816338 Source-Link: https://github.com/googleapis/googleapis/commit/42a7911575fa8702eec68dcfe0a754bacbfcaba6 chore(container): add dependency on duration.proto PiperOrigin-RevId: 457816211 Source-Link: https://github.com/googleapis/googleapis/commit/b9b85181ff3818dc8a38ff547bec3c796c52ebb1 build(talent): library of v4 jobs onboarded to SAM PiperOrigin-RevId: 457783072 Source-Link: https://github.com/googleapis/googleapis/commit/6ff6b49397491751aa8d2281f43bdb11a905e78e feat(video/livestream): add C++ library rules for the Live Stream API PiperOrigin-RevId: 457707448 Source-Link: https://github.com/googleapis/googleapis/commit/a4761d58517fd9f9fe3fcf3d398ed2b2cf4ad9ae fix(pubsublite): set pubsublite back to grpc-only instead of grpc+rest PiperOrigin-RevId: 457558839 Source-Link: https://github.com/googleapis/googleapis/commit/f37528b2c41283c6c19fe3bbdad85c713f1472f3 feat(recommender): Implement configurable recommenders and update .bazel files PiperOrigin-RevId: 457101611 Source-Link: https://github.com/googleapis/googleapis/commit/c13c88b193f97963db62d3093f05c79ca6a5f967 feat(networkmanagement): introduce a projects_missing_permissions field in the AbortInfo structure PiperOrigin-RevId: 457088244 Source-Link: https://github.com/googleapis/googleapis/commit/dfefc95a24360b6ad959d1e2352250d53cf99a93 fix(bigquery/storage): Modify client lib retry policy for CreateWriteStream with longer backoff, more error code and longer overall time PiperOrigin-RevId: 457061436 Source-Link: https://github.com/googleapis/googleapis/commit/8ff130bc81fa1d175e410d14a300caa18d5ebf80 feat(gaming): temporarily remove REGAPIC support feat(privateca): temporarily remove REGAPIC support
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.