commit | de4e16a498354ea7271f5b396f7cb2bb430052aa | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Fri Oct 14 12:46:39 2022 -0700 |
committer | GitHub <noreply@github.com> | Fri Oct 14 15:46:39 2022 -0400 |
tree | b79d060c1cc649fdf840d0a9156996a5e419754e | |
parent | faaab066d8e509dc440bcbc87391557ecee7dbf2 [diff] |
chore(all): auto-regenerate gapics (#6839) 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/919 Changes: feat(recaptchaenterprise/v2): add RetrieveLegacySecretKey method feat: add annotation reasons REFUND, REFUND_FRAUD, TRANSACTION_ACCEPTED, TRANSACTION_DECLINED and SOCIAL_SPAM PiperOrigin-RevId: 480357575 Source-Link: https://github.com/googleapis/googleapis/commit/cbd4501e0c0f53ef459f4c54d8cc7bbf6586be55 feat(spanner): Update result_set.proto to return undeclared parameters in ExecuteSql API PiperOrigin-RevId: 480025979 Source-Link: https://github.com/googleapis/googleapis/commit/cb6fbe8784479b22af38c09a5039d8983e894566 feat(container): launch GKE Cost Allocations configuration to the v1 GKE API PiperOrigin-RevId: 479682735 Source-Link: https://github.com/googleapis/googleapis/commit/4a3979503f6b5814742eef42621c9673d2f929f1 chore(dataplex): rename warm_pool_enabled to fast_startup_enabled While this would normally be a breaking change, libraries haven't been released yet with the old value warm_pool_enabled. PiperOrigin-RevId: 479215286 Source-Link: https://github.com/googleapis/googleapis/commit/767dc45050047fd0e6a9ceb3a56ed6cdb4cb3ed2 feat(asset): add a new searchable field kmsKeys fix: deprecate searchable field kmsKey PiperOrigin-RevId: 479103182 Source-Link: https://github.com/googleapis/googleapis/commit/7b5a467b978ff2dde6cd34717ebad5728d05f2bb feat(edgecontainer): temporally remove the version fields feat: add a field in cluster to describe whether the machine is disabled. fix: mark VPC project and service account as optional fields and add details for service account format PiperOrigin-RevId: 478593325 Source-Link: https://github.com/googleapis/googleapis/commit/052985c2c39acb3019459d0cc84664d50a616569 chore(bigquery/analyticshub): Configure Ruby clients for analyticshub PiperOrigin-RevId: 478537382 Source-Link: https://github.com/googleapis/googleapis/commit/5e8b7729fb8a1756baece78c5712970ec6028e3b feat(dialogflow): include conversation dataset name to be created with dataset creation metadata docs: clarify SuggestionFeature enums which are specific to chat agents PiperOrigin-RevId: 478522249 Source-Link: https://github.com/googleapis/googleapis/commit/8bd89cd4fc964360198362ef49c72ef90543bf45 chore(gsuiteaddons): Prepare google/cloud/gsuiteaddons/v1 BUILD.bazel for release PiperOrigin-RevId: 478495969 Source-Link: https://github.com/googleapis/googleapis/commit/ef8a5429145c241dcb256b0b84fa8e477facc9e1 feat(certificatemanager): added support for Private Trust to Certificate Manager API docs: See https://cloud.google.com/certificate-manager/docs/deploy-google-managed-cas PiperOrigin-RevId: 478406005 Source-Link: https://github.com/googleapis/googleapis/commit/fe486dded299ab28f647f22add01474b906fc5c4 docs(dialogflow/cx): clarified gcs_bucket field of the SecuritySettings message PiperOrigin-RevId: 478035442 Source-Link: https://github.com/googleapis/googleapis/commit/8cb255f53114838674ca2657862d59f5dea53a21 feat(assuredworkloads): add apis for AssuredWorkload monitoring feature and to restrict allowed resources AssuredWorkload monitoring is a new feature which provides apis to fetch compliance violation for AssuredWorkloads. It also provides an api to acknowledge an unresolved violation. RestrictAllowedResources api allows restricting list of available resources in Workload environment. Committer: @viswask PiperOrigin-RevId: 477959383 Source-Link: https://github.com/googleapis/googleapis/commit/0cad78c955be529d8a0e95d4fc70077ec2772602 feat(dataplex): Add support for notebook tasks PiperOrigin-RevId: 477935449 Source-Link: https://github.com/googleapis/googleapis/commit/9e3a1dd591e5a5ace521726f79a265eaab52843b
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.