chore: fixup failed regen for release-please (#5668)

Some extra trailers got added to the regen commit so RP could not
process them. Re-listing the changes made in #5659 so they can get
picked up.

Changes:

feat(osconfig/agentendpoint): Add fields to RegisterAgentRequest:   - supported_capabilities   - os_long_name   - os_short_name   - os_version   - os_architecture feat: Add field to PatchConfig message:   - mig_instances_allowed fix: Add NONE Interpreter enum value that should be used over INTERPRETER_UNSPECIFIED in ExecStepConfig message
  PiperOrigin-RevId: 428781221
  Source-Link: googleapis/googleapis@f158f82

feat(servicemanagement): Remove EnableService and DisableService RPC methods and related protos from service management API BREAKING CHANGE:
  PiperOrigin-RevId: 428693468
  Source-Link: googleapis/googleapis@42a19d6

fix(security/privateca): Add google-cloud-location as a dependency for the privateca client
  PiperOrigin-RevId: 428624147
  Source-Link: googleapis/googleapis@d19f69b

chore(video/livestream): Configure Ruby generator for Video Live Stream clients
  PiperOrigin-RevId: 428111509
  Source-Link: googleapis/googleapis@7c7a99a

chore(servicemanagement): cleanup unused imports in google/api/servicemanagement/v1
  PiperOrigin-RevId: 428077790
  Source-Link: googleapis/googleapis@4807247

chore(dataplex): Configure Ruby generator for Dataplex clients
  PiperOrigin-RevId: 428067759
  Source-Link: googleapis/googleapis@1798403

fix(compute): fix breaking changes in Compute API (#701)

  Source-Link: googleapis/googleapis@272c110

fix(pubsub): removing misspelled field, add correctly spelled field
  PiperOrigin-RevId: 428023165
  Source-Link: googleapis/googleapis@63d374d

fix(osconfig/agentendpoint): Fix description of an interpreter field, validate if the field is not unspecified
  PiperOrigin-RevId: 427987153
  Source-Link: googleapis/googleapis@a1b62c1

fix(osconfig/agentendpoint): update third_party protos to the most actual version: - Add item that is affected by vulnerability - Add GetOsPolicyAssignmentReport and analogous List rpc method - Add Inventory to InstanceFilter - Add existing os_policy_assignment_reports.proto fixing the build - Mark methods as deprecated
  PiperOrigin-RevId: 427981818
  Source-Link: googleapis/googleapis@0b2c906

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