chore: release main (#7211)

225 files changed
tree: 4568efe13811126249a6b9573f62f367ea43570a
  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. maps/
  77. mediatranslation/
  78. memcache/
  79. metastore/
  80. monitoring/
  81. networkconnectivity/
  82. networkmanagement/
  83. networksecurity/
  84. notebooks/
  85. optimization/
  86. orchestration/
  87. orgpolicy/
  88. osconfig/
  89. oslogin/
  90. phishingprotection/
  91. policytroubleshooter/
  92. privatecatalog/
  93. profiler/
  94. pubsub/
  95. pubsublite/
  96. recaptchaenterprise/
  97. recommendationengine/
  98. recommender/
  99. redis/
  100. resourcemanager/
  101. resourcesettings/
  102. retail/
  103. rpcreplay/
  104. run/
  105. scheduler/
  106. secretmanager/
  107. security/
  108. securitycenter/
  109. servicecontrol/
  110. servicedirectory/
  111. servicemanagement/
  112. serviceusage/
  113. shell/
  114. spanner/
  115. speech/
  116. storage/
  117. storagetransfer/
  118. talent/
  119. texttospeech/
  120. third_party/
  121. tpu/
  122. trace/
  123. translate/
  124. video/
  125. videointelligence/
  126. vision/
  127. vmmigration/
  128. vmwareengine/
  129. vpcaccess/
  130. webrisk/
  131. websecurityscanner/
  132. workflows/
  133. .gitignore
  134. .release-please-manifest-individual.json
  135. .release-please-manifest-submodules.json
  136. .release-please-manifest.json
  137. CHANGES.md
  138. CODE_OF_CONDUCT.md
  139. CONTRIBUTING.md
  140. doc.go
  141. go.mod
  142. go.sum
  143. LICENSE
  144. migration.md
  145. README.md
  146. release-please-config-individual.json
  147. release-please-config-yoshi-submodules.json
  148. release-please-config.json
  149. RELEASING.md
  150. SECURITY.md
  151. 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