commit | 19a9ef2d9b8d77d3bc3e4c11c7f1f3e47700edd4 | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Thu Apr 14 10:21:44 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 14 11:21:44 2022 -0600 |
tree | a8176484153c79bc17e3cb3e6b153f0d9d21120f | |
parent | 0300d0cf7e473a4a23d1089b3c8069ef28638f4c [diff] |
chore(all): auto-regenerate gapics (#5889) 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/793 Changes: fix(compute): remove proto3_optional from parent_id (#712) Source-Link: https://github.com/googleapis/googleapis/commit/fd16b6a2379e37089a2877d0b320e3d4f293ef0e docs(firestore): clarifications for filters PiperOrigin-RevId: 441242400 Source-Link: https://github.com/googleapis/googleapis/commit/9ef00159f265f7fcbcee5645af1402f4d39b2f6a fix(compute): replace missing REQUIRED for parent_id (#711) Source-Link: https://github.com/googleapis/googleapis/commit/4bb6fd659f4edcc7df980f7387c96a49cf556289 docs(bigquery/reservation): cleanup and clarifications feat: add UpdateAssignment method feat: add "concurrency" and "multi_region_auxiliary" in reservation feat: add preferred table. PiperOrigin-RevId: 440912466 Source-Link: https://github.com/googleapis/googleapis/commit/7ab53cabd3f30bf27836cd6675d6328818f3c254 fix(speech): use full link in comment to fix JSDoc broken link Committer: @summer-ji-eng PiperOrigin-RevId: 440481666 Source-Link: https://github.com/googleapis/googleapis/commit/6a211105d97cc92e053b2d281a4bb2df1366f3e0 chore(servicedirectory): remove unused imports PiperOrigin-RevId: 440391736 Source-Link: https://github.com/googleapis/googleapis/commit/5d8422267cb40b035825dee8b6494cf2b9031613 docs(datacatalog): update taxonomy display_name comment feat: added Dataplex specific fields PiperOrigin-RevId: 440386238 Source-Link: https://github.com/googleapis/googleapis/commit/99fd8be66d7b04e7f73c801be1b4d49867e3b7e1 chore(pubsublite): remove unused imports PiperOrigin-RevId: 440384445 Source-Link: https://github.com/googleapis/googleapis/commit/97350b3c2704c4f6f25fe30151d247be80a9510c feat(securitycenter): Add next_steps field to finding's list of attributes PiperOrigin-RevId: 440383959 Source-Link: https://github.com/googleapis/googleapis/commit/6a276f6af8e0c2d98084249fd9dadd531c789ec4 feat(monitoring/dashboard): Sync public protos with latests public api state. This adds support for collapsible groups, filters, labels, drilldowns, logs panels and tables PiperOrigin-RevId: 440139643 Source-Link: https://github.com/googleapis/googleapis/commit/2bff0f31f05f5d49ef33a11297cf3640c13ec2ac
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.