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

* chore(all): auto-regenerate gapics

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

Changes:

docs(networksecurity): update the comments of various networksecurity resources fix!: fix annotation of parent in Create*Request
  PiperOrigin-RevId: 462271672
  Source-Link: https://github.com/googleapis/googleapis/commit/9213efa96e4fc4d3a37899e4a2cde06598607941

feat(securitycenter): Added container field to findings attributes feat: Added kubernetes field to findings attribute. This field is populated only when the container is a kubernetes cluster explicitly
  PiperOrigin-RevId: 462248767
  Source-Link: https://github.com/googleapis/googleapis/commit/dd2b0d26b27854124812db3db7841ad65d85910a

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