chore(edgenetwork): update copyright year in protos (#10103)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 631222220

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

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c28bfdd580ab31cdb15bee5a6905b84f515a08a0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzI4YmZkZDU4MGFiMzFjZGIxNWJlZTVhNjkwNWI4NGY1MTVhMDhhMCJ9
BEGIN_NESTED_COMMIT
chore(backupdr): Update copyright year
PiperOrigin-RevId: 631106766

Source-Link: https://togithub.com/googleapis/googleapis/commit/51883cbb1ceae7bdb7698b5eb9b2574afe1cac7d

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c95b86ed950406a38288d22f2561b37c25d84d80
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzk1Yjg2ZWQ5NTA0MDZhMzgyODhkMjJmMjU2MWIzN2MyNWQ4NGQ4MCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat(dlp): add RPCs for deleting TableDataProfiles
feat: Add RPCs for enabling discovery of Cloud SQL
feat: Add field to InspectJobs num_rows_processed for BigQuery inspect jobs
feat: Add new countries for supported detectors
docs: Updated method documentation

PiperOrigin-RevId: 631084904

Source-Link: https://togithub.com/googleapis/googleapis/commit/67baa8f545df6c43612c0eea5aeeb0a4c4bfdcc1

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e808b482e2357e30cea41a67b2d9052bd4e1c49d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTgwOGI0ODJlMjM1N2UzMGNlYTQxYTY3YjJkOTA1MmJkNGUxYzQ5ZCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat(kms): introduce Long-Running Operations (LRO) for KMS
PiperOrigin-RevId: 631049366

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

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/17663bd592e37b0593058019e7ba1c8ccce2bdb5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTc2NjNiZDU5MmUzN2IwNTkzMDU4MDE5ZTdiYTFjOGNjY2UyYmRiNSJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat(kms): support the ED25519 asymmetric signing algorithm
PiperOrigin-RevId: 630661612

Source-Link: https://togithub.com/googleapis/googleapis/commit/245c0f55538e04e53f1f6b567a90dcc63197a7a5

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/11beb7ec0c8ef8e8de73560365b28c7c288aa8cd
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTFiZWI3ZWMwYzhlZjhlOGRlNzM1NjAzNjViMjhjN2MyODhhYThjZCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat(ai/generativelanguage): Add FileState to File
feat: Add response_schema to GenerationConfig
feat: Add UsageMetadata to GenerateContentResponse
feat: Add GenerateContentRequest to CountTokensRequest
docs: Various small fixes

PiperOrigin-RevId: 630516587

Source-Link: https://togithub.com/googleapis/googleapis/commit/79c1b132c6c8220ad2a071bd2338236f15c807b6

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/19b503618eca4b7d16be58691e66f4ffe9aa07d3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTliNTAzNjE4ZWNhNGI3ZDE2YmU1ODY5MWU2NmY0ZmZlOWFhMDdkMyJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
fix(storage/control): An existing resource pattern value `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder=**}` to resource definition `storage.googleapis.com/ManagedFolder` is removed
feat: A new resource pattern value `projects/{project}/buckets/{bucket}/managedFolders/{managed_folder=**}` added to the resource definition `storage.googleapis.com/ManagedFolder`

PiperOrigin-RevId: 630439820

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

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d39d37f4bad975da0fb0bb277dd4e18fbeba24d5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDM5ZDM3ZjRiYWQ5NzVkYTBmYjBiYjI3N2RkNGUxOGZiZWJhMjRkNSJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat(spanner/admin/database): Add support for multi region encryption config
docs: fix linting for several doc comments
PiperOrigin-RevId: 630422337

Source-Link: https://togithub.com/googleapis/googleapis/commit/65db386b43905c561686b58344c5b620a10ed808

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