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

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

Changes:

fix(orgpolicy): Fix constraint resource pattern annotation
  PiperOrigin-RevId: 355915985
  Source-Link: https://github.com/googleapis/googleapis/commit/35ce99fec72979f6f9b2a5adae835a49648a3231

chore(dialogflow/cx): re-enable python generation for dialogflow cx.
  PiperOrigin-RevId: 355906816
  Source-Link: https://github.com/googleapis/googleapis/commit/254325ed3c9caa6bf6d9c8b11ce2674544ba6e7c

build(binaryauthorization): provide hint for npm
  PiperOrigin-RevId: 355861863
  Source-Link: https://github.com/googleapis/googleapis/commit/123cdc60a294e77267b56f4d3676d3713c90c7b1

fix(errorreporting): Update bazel builds for ER client libraries.
  PiperOrigin-RevId: 355832930
  Source-Link: https://github.com/googleapis/googleapis/commit/408590478542a058f2f1a706a402beb44844f66b

build(accessapproval): add package name to BUILD file for nodejs-access-approval
  PiperOrigin-RevId: 355768486
  Source-Link: https://github.com/googleapis/googleapis/commit/53dd6b53c7af308c69581c364ad20c52aa4c6ca0

build(managedidentities): change package name to correct name
  PiperOrigin-RevId: 355768415
  Source-Link: https://github.com/googleapis/googleapis/commit/bc89fd90b0dc87b387d83a56b27789f807d9da11

build(networkconnectivity): change package name to correct name
  PiperOrigin-RevId: 355768365
  Source-Link: https://github.com/googleapis/googleapis/commit/bb17e41ec1e9f1197520560bc13cc5da24e04e6f

build(domains): add package name for npm
  PiperOrigin-RevId: 355707258
  Source-Link: https://github.com/googleapis/googleapis/commit/856e4b4151e50e527f923845901ec810355c95f8

build(retail): add package-name for npm
  PiperOrigin-RevId: 355707039
  Source-Link: https://github.com/googleapis/googleapis/commit/d5259926ab0cc4b7d4c195b38a8c9ddceee005a1

feat(networkconnectivity): Add state field in resources docs: Minor changes
  PiperOrigin-RevId: 355488930
  Source-Link: https://github.com/googleapis/googleapis/commit/5e27c5cafe0952f50ff81552526b3e3d333ef2c3
144 files changed
tree: 552b0cebb86361270bf61235b49613aa9bb55b05
  1. .github/
  2. accessapproval/
  3. analytics/
  4. appengine/
  5. area120/
  6. artifactregistry/
  7. asset/
  8. assuredworkloads/
  9. automl/
  10. bigquery/
  11. bigtable/
  12. billing/
  13. binaryauthorization/
  14. channel/
  15. civil/
  16. cloudbuild/
  17. cloudtasks/
  18. cmd/
  19. compute/
  20. container/
  21. containeranalysis/
  22. datacatalog/
  23. datalabeling/
  24. dataproc/
  25. dataqna/
  26. datastore/
  27. debugger/
  28. dialogflow/
  29. dlp/
  30. documentai/
  31. domains/
  32. errorreporting/
  33. firestore/
  34. functions/
  35. gaming/
  36. grafeas/
  37. httpreplay/
  38. iam/
  39. internal/
  40. iot/
  41. kms/
  42. language/
  43. logging/
  44. longrunning/
  45. managedidentities/
  46. mediatranslation/
  47. memcache/
  48. monitoring/
  49. networkconnectivity/
  50. notebooks/
  51. orgpolicy/
  52. osconfig/
  53. oslogin/
  54. phishingprotection/
  55. policytroubleshooter/
  56. profiler/
  57. pubsub/
  58. pubsublite/
  59. recaptchaenterprise/
  60. recommender/
  61. redis/
  62. resourcemanager/
  63. retail/
  64. rpcreplay/
  65. scheduler/
  66. secretmanager/
  67. security/
  68. securitycenter/
  69. servicecontrol/
  70. servicedirectory/
  71. servicemanagement/
  72. spanner/
  73. speech/
  74. storage/
  75. talent/
  76. texttospeech/
  77. third_party/
  78. trace/
  79. translate/
  80. video/
  81. videointelligence/
  82. vision/
  83. webrisk/
  84. websecurityscanner/
  85. workflows/
  86. .gitignore
  87. CHANGES.md
  88. CODE_OF_CONDUCT.md
  89. CONTRIBUTING.md
  90. doc.go
  91. examples_test.go
  92. go.mod
  93. go.sum
  94. LICENSE
  95. license_test.go
  96. README.md
  97. RELEASING.md
  98. testing.md
  99. tools.go
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

Google APIStatusPackage
Assetstablecloud.google.com/go/asset/apiv1
Automlstablecloud.google.com/go/automl/apiv1
BigQuerystablecloud.google.com/go/bigquery
Bigtablestablecloud.google.com/go/bigtable
Cloudbuildstablecloud.google.com/go/cloudbuild/apiv1
Cloudtasksstablecloud.google.com/go/cloudtasks/apiv2
Containerstablecloud.google.com/go/container/apiv1
ContainerAnalysisbetacloud.google.com/go/containeranalysis/apiv1
Dataprocstablecloud.google.com/go/dataproc/apiv1
Datastorestablecloud.google.com/go/datastore
Debuggerstablecloud.google.com/go/debugger/apiv2
Dialogflowstablecloud.google.com/go/dialogflow/apiv2
Data Loss Preventionstablecloud.google.com/go/dlp/apiv2
ErrorReportingalphacloud.google.com/go/errorreporting
Firestorestablecloud.google.com/go/firestore
IAMstablecloud.google.com/go/iam
IoTstablecloud.google.com/go/iot/apiv1
IRMalphacloud.google.com/go/irm/apiv1alpha2
KMSstablecloud.google.com/go/kms/apiv1
Natural Languagestablecloud.google.com/go/language/apiv1
Loggingstablecloud.google.com/go/logging
Memorystorealphacloud.google.com/go/redis/apiv1
Monitoringstablecloud.google.com/go/monitoring/apiv3
OS Loginstablecloud.google.com/go/oslogin/apiv1
Pub/Substablecloud.google.com/go/pubsub
Phishing Protectionalphacloud.google.com/go/phishingprotection/apiv1beta1
reCAPTCHA Enterprisealphacloud.google.com/go/recaptchaenterprise/apiv1beta1
Recommenderbetacloud.google.com/go/recommender/apiv1beta1
Schedulerstablecloud.google.com/go/scheduler/apiv1
Securitycenterstablecloud.google.com/go/securitycenter/apiv1
Spannerstablecloud.google.com/go/spanner
Speechstablecloud.google.com/go/speech/apiv1
Storagestablecloud.google.com/go/storage
Talentalphacloud.google.com/go/talent/apiv4beta1
Text To Speechstablecloud.google.com/go/texttospeech/apiv1
Tracestablecloud.google.com/go/trace/apiv2
Translatestablecloud.google.com/go/translate
Video Intelligencebetacloud.google.com/go/videointelligence/apiv1beta2
Visionstablecloud.google.com/go/vision/apiv1
Webriskalphacloud.google.com/go/webrisk/apiv1beta1

Alpha status: the API is still being actively developed. As a result, it might change in backward-incompatible ways and is not recommended for production use.

Beta status: the API is largely complete, but still has outstanding features and bugs to be addressed. There may be minor backwards-incompatible changes where necessary.

Stable status: the API is mature and ready for production use. We will continue addressing bugs and feature requests.

Documentation and examples are available at pkg.go.dev/cloud.google.com/go

Go Versions Supported

We currently support Go versions 1.11 and newer.

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