commit | 8a1ad06572a65afa91a0a77a85b849e766876671 | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Thu Jul 07 06:53:43 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Jul 07 09:53:43 2022 -0400 |
tree | 1a0b628e74456009867f16993199c17726576528 | |
parent | 83320c600b5a2824ef7e6f47817c345b8e319cdd [diff] |
chore(all): auto-regenerate gapics (#6306) 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/845 Changes: build(gkebackup): correct artifact name for npm PiperOrigin-RevId: 459090417 Source-Link: https://github.com/googleapis/googleapis/commit/fac1400504c560101583bdb4ddb9e817bced505c build(eventarc/publishing): correct artifact name for npm PiperOrigin-RevId: 459081757 Source-Link: https://github.com/googleapis/googleapis/commit/7fc003279b5507647464c6d8402beaa2ae7c5d4a chore(gkemulticloud): prepare for the v1 release of google/cloud/gkemulticloud PiperOrigin-RevId: 458913879 Source-Link: https://github.com/googleapis/googleapis/commit/e0d0106516a5c613510533821e4508bc6c943b11 feat(spanner/admin/instance): Adding two new fields for Instance create_time and update_time PiperOrigin-RevId: 458877561 Source-Link: https://github.com/googleapis/googleapis/commit/207bf593dc2eed95581bb38bdf95b9e0648acd24 feat(securitycenter): Added contacts field to findings attributes, specifying Essential Contacts defined at org, folder or project level within a GCP org feat: Added process signature fields to the indicator attribute that helps surface multiple types of signature defined IOCs PiperOrigin-RevId: 458537238 Source-Link: https://github.com/googleapis/googleapis/commit/7fdec62959f080693e8e137c7772970cb45ecffd feat(dialogflow): deprecated the filter field and add resource_definition docs: add more meaningful comments PiperOrigin-RevId: 458520697 Source-Link: https://github.com/googleapis/googleapis/commit/2bf9d8d49e07e77cb06ea2e50589eb3e76b013f1 chore(trace): remove unused protos PiperOrigin-RevId: 458507973 Source-Link: https://github.com/googleapis/googleapis/commit/b574c0bc836c580cb6e7585301c61fa313ce3253 feat(dataform): remove unused filter field from alpha2 version of API before release PiperOrigin-RevId: 458454533 Source-Link: https://github.com/googleapis/googleapis/commit/9b52d26b4f10b15044fa79318d6c53ab94eddcad
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.