chore: release main (#8560)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
9 files changed
tree: 749f97491c3eb0f9c0266232a37f336b8cb5d04b
  1. .github/
  2. accessapproval/
  3. accesscontextmanager/
  4. advisorynotifications/
  5. ai/
  6. aiplatform/
  7. alloydb/
  8. analytics/
  9. apigateway/
  10. apigeeconnect/
  11. apigeeregistry/
  12. apikeys/
  13. appengine/
  14. area120/
  15. artifactregistry/
  16. asset/
  17. assuredworkloads/
  18. auth/
  19. automl/
  20. baremetalsolution/
  21. batch/
  22. beyondcorp/
  23. bigquery/
  24. bigtable/
  25. billing/
  26. binaryauthorization/
  27. certificatemanager/
  28. channel/
  29. civil/
  30. cloudbuild/
  31. clouddms/
  32. cloudtasks/
  33. commerce/
  34. compute/
  35. confidentialcomputing/
  36. config/
  37. contactcenterinsights/
  38. container/
  39. containeranalysis/
  40. datacatalog/
  41. dataflow/
  42. dataform/
  43. datafusion/
  44. datalabeling/
  45. dataplex/
  46. dataproc/
  47. dataqna/
  48. datastore/
  49. datastream/
  50. debugger/
  51. deploy/
  52. dialogflow/
  53. discoveryengine/
  54. dlp/
  55. documentai/
  56. domains/
  57. edgecontainer/
  58. errorreporting/
  59. essentialcontacts/
  60. eventarc/
  61. filestore/
  62. firestore/
  63. functions/
  64. gkebackup/
  65. gkeconnect/
  66. gkehub/
  67. gkemulticloud/
  68. grafeas/
  69. gsuiteaddons/
  70. httpreplay/
  71. iam/
  72. iap/
  73. ids/
  74. internal/
  75. iot/
  76. kms/
  77. language/
  78. lifesciences/
  79. logging/
  80. longrunning/
  81. managedidentities/
  82. maps/
  83. mediatranslation/
  84. memcache/
  85. metastore/
  86. migrationcenter/
  87. monitoring/
  88. netapp/
  89. networkconnectivity/
  90. networkmanagement/
  91. networksecurity/
  92. notebooks/
  93. optimization/
  94. orchestration/
  95. orgpolicy/
  96. osconfig/
  97. oslogin/
  98. phishingprotection/
  99. policysimulator/
  100. policytroubleshooter/
  101. privatecatalog/
  102. profiler/
  103. pubsub/
  104. pubsublite/
  105. rapidmigrationassessment/
  106. recaptchaenterprise/
  107. recommendationengine/
  108. recommender/
  109. redis/
  110. resourcemanager/
  111. resourcesettings/
  112. retail/
  113. rpcreplay/
  114. run/
  115. scheduler/
  116. secretmanager/
  117. security/
  118. securitycenter/
  119. servicecontrol/
  120. servicedirectory/
  121. servicemanagement/
  122. serviceusage/
  123. shell/
  124. spanner/
  125. speech/
  126. storage/
  127. storageinsights/
  128. storagetransfer/
  129. support/
  130. talent/
  131. texttospeech/
  132. third_party/
  133. tpu/
  134. trace/
  135. translate/
  136. video/
  137. videointelligence/
  138. vision/
  139. vmmigration/
  140. vmwareengine/
  141. vpcaccess/
  142. webrisk/
  143. websecurityscanner/
  144. workflows/
  145. workstations/
  146. .gitignore
  147. .release-please-manifest-individual.json
  148. .release-please-manifest-submodules.json
  149. .release-please-manifest.json
  150. CHANGES.md
  151. CODE_OF_CONDUCT.md
  152. CONTRIBUTING.md
  153. debug.md
  154. doc.go
  155. go.mod
  156. go.sum
  157. go.work
  158. go.work.sum
  159. LICENSE
  160. migration.md
  161. README.md
  162. release-please-config-individual.json
  163. release-please-config-yoshi-submodules.json
  164. release-please-config.json
  165. RELEASING.md
  166. SECURITY.md
  167. 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.20
  • Go 1.19
  • Go 1.18
  • Go 1.17

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