chore(all): auto-regenerate gapics (#6207)

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/829

Changes:

feat(aiplatform): add model_version_id to UploadModelResponse in aiplatform v1 model_service.proto
  PiperOrigin-RevId: 455486702
  Source-Link: https://github.com/googleapis/googleapis/commit/f2e55382d437b3f7463176c95cedc1293c5971fb

docs(storage/internal): Clarified how clients should work with resumable uploads docs: Clarified ListNotifications pagination docs: Made "live generation" wording consistent with docs for other Cloud Storage APIs fix: Made negative offsets larger in magnitude that object size return the full object for ReadObject operations fix: Made naming format for Logging.log_bucket be a path rather than raw bucket name, to be consistent with the rest of the API feat: Changed Custom Dual Regions to be specified in a proto message rather than a syntactic encoding within the bucket location feat: Added etag support
  PiperOrigin-RevId: 455465509
  Source-Link: https://github.com/googleapis/googleapis/commit/0470cd6d5019a397cc132b34551a83d2bc309d35

feat(binaryauthorization): Adds a pod_namespace field to pod events created by Continuous Validation, to distinguish pods with the same name that run in different namespaces
  Committer: @tswift242
  PiperOrigin-RevId: 455380856
  Source-Link: https://github.com/googleapis/googleapis/commit/1cbacff2f2fe932f91a39d7c1538cb1afc50bd89

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