feat(spanner): add directed_read_option in spanner.proto (#8950)

- [ ] Regenerate this pull request now.

docs(spanner): updated comment formatting

PiperOrigin-RevId: 578551679

Source-Link: https://togithub.com/googleapis/googleapis/commit/7c80b961d092ff59576df0eba672958b4954bc4b

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/7b1172ba5e020eaef7de75062a576a11b8e117e4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2IxMTcyYmE1ZTAyMGVhZWY3ZGU3NTA2MmE1NzZhMTFiOGUxMTdlNCJ9
BEGIN_NESTED_COMMIT
feat(aiplatform): Adding new fields for concurrent explanations
PiperOrigin-RevId: 578251436

Source-Link: https://togithub.com/googleapis/googleapis/commit/e85bb344ac522b5548289569047d06e902f6278d

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9a7e2dc85c29658f0782c250f324551f74437068
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWE3ZTJkYzg1YzI5NjU4ZjA3ODJjMjUwZjMyNDU1MWY3NDQzNzA2OCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
docs(documentai): updated comments
PiperOrigin-RevId: 578242041

Source-Link: https://togithub.com/googleapis/googleapis/commit/f9bd3d00ef2069a67900f23952ba6b6ffec025a7

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

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:

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