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
45 files changed
tree: b79d060c1cc649fdf840d0a9156996a5e419754e
  1. .github/
  2. accessapproval/
  3. accesscontextmanager/
  4. aiplatform/
  5. analytics/
  6. apigateway/
  7. apigeeconnect/
  8. apigeeregistry/
  9. apikeys/
  10. appengine/
  11. area120/
  12. artifactregistry/
  13. asset/
  14. assuredworkloads/
  15. automl/
  16. baremetalsolution/
  17. batch/
  18. beyondcorp/
  19. bigquery/
  20. bigtable/
  21. billing/
  22. binaryauthorization/
  23. certificatemanager/
  24. channel/
  25. civil/
  26. cloudbuild/
  27. clouddms/
  28. cloudtasks/
  29. cmd/
  30. compute/
  31. contactcenterinsights/
  32. container/
  33. containeranalysis/
  34. datacatalog/
  35. dataflow/
  36. dataform/
  37. datafusion/
  38. datalabeling/
  39. dataplex/
  40. dataproc/
  41. dataqna/
  42. datastore/
  43. datastream/
  44. debugger/
  45. deploy/
  46. dialogflow/
  47. dlp/
  48. documentai/
  49. domains/
  50. edgecontainer/
  51. errorreporting/
  52. essentialcontacts/
  53. eventarc/
  54. filestore/
  55. firestore/
  56. functions/
  57. gaming/
  58. gkebackup/
  59. gkeconnect/
  60. gkehub/
  61. gkemulticloud/
  62. grafeas/
  63. gsuiteaddons/
  64. httpreplay/
  65. iam/
  66. iap/
  67. ids/
  68. internal/
  69. iot/
  70. kms/
  71. language/
  72. lifesciences/
  73. logging/
  74. longrunning/
  75. managedidentities/
  76. mediatranslation/
  77. memcache/
  78. metastore/
  79. monitoring/
  80. networkconnectivity/
  81. networkmanagement/
  82. networksecurity/
  83. notebooks/
  84. optimization/
  85. orchestration/
  86. orgpolicy/
  87. osconfig/
  88. oslogin/
  89. phishingprotection/
  90. policytroubleshooter/
  91. privatecatalog/
  92. profiler/
  93. pubsub/
  94. pubsublite/
  95. recaptchaenterprise/
  96. recommendationengine/
  97. recommender/
  98. redis/
  99. resourcemanager/
  100. resourcesettings/
  101. retail/
  102. rpcreplay/
  103. run/
  104. scheduler/
  105. secretmanager/
  106. security/
  107. securitycenter/
  108. servicecontrol/
  109. servicedirectory/
  110. servicemanagement/
  111. serviceusage/
  112. shell/
  113. spanner/
  114. speech/
  115. storage/
  116. storagetransfer/
  117. talent/
  118. texttospeech/
  119. third_party/
  120. tpu/
  121. trace/
  122. translate/
  123. video/
  124. videointelligence/
  125. vision/
  126. vmmigration/
  127. vpcaccess/
  128. webrisk/
  129. websecurityscanner/
  130. workflows/
  131. .gitignore
  132. .release-please-manifest-submodules.json
  133. .release-please-manifest.json
  134. CHANGES.md
  135. CODE_OF_CONDUCT.md
  136. CONTRIBUTING.md
  137. doc.go
  138. go.mod
  139. go.sum
  140. LICENSE
  141. migration.md
  142. README.md
  143. release-please-config-yoshi-submodules.json
  144. release-please-config.json
  145. RELEASING.md
  146. SECURITY.md
  147. testing.md
README.md

Google Cloud Client Libraries for Go

Go Reference

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:

  1. Change to your project directory:

    cd /my/cloud/project
    
  2. 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.

Supported APIs

For an updated list of all of our released APIs please see our reference docs.

Go Versions Supported

Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:

  • Go 1.19
  • Go 1.18
  • Go 1.17
  • Go 1.16
  • Go 1.15

Authorization

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))

Contributing

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.

Links