chore: librarian generate pull request: 20251231T080340Z (#13528)

PR created by the Librarian CLI to generate Cloud Client Libraries code
from protos.

BEGIN_COMMIT

BEGIN_NESTED_COMMIT
docs: change comment indicating `enable_gemini_in_bigquery` field for
BigQuery Reservation Assignments is deprecated


PiperOrigin-RevId: 850121797
Library-IDs: bigquery
Source-link:
[googleapis/googleapis@94ccedca](https://github.com/googleapis/googleapis/commit/94ccedca)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: expose BigtableProtoConfig for bigtable integration


PiperOrigin-RevId: 850096604
Library-IDs: bigquery/v2
Source-link:
[googleapis/googleapis@2c8fbf7f](https://github.com/googleapis/googleapis/commit/2c8fbf7f)
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: add index ID to IndexPruningStats


PiperOrigin-RevId: 850096604
Library-IDs: bigquery/v2
Source-link:
[googleapis/googleapis@2c8fbf7f](https://github.com/googleapis/googleapis/commit/2c8fbf7f)
END_NESTED_COMMIT

END_COMMIT

This pull request is generated with proto changes between

[googleapis/googleapis@535d161c](https://github.com/googleapis/googleapis/commit/535d161c24965e9ed1a0b27032cc1c8b4beab818)
(exclusive) and

[googleapis/googleapis@94ccedca](https://github.com/googleapis/googleapis/commit/94ccedca05acb0bb60780789e93371c9e4100ddc)
(inclusive).

Librarian Version: v0.0.0-20251218164811-cd2252e38d0a
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-go@sha256:718167d5c23ed389b41f617b3a00ac839bdd938a6bd2d48ae0c2f1fa51ab1c3d
4 files changed
tree: 5b39128ca27d9f9bf375d79d5b708dc5ab5247a9
  1. .github/
  2. .librarian/
  3. accessapproval/
  4. accesscontextmanager/
  5. advisorynotifications/
  6. ai/
  7. aiplatform/
  8. alloydb/
  9. analytics/
  10. apigateway/
  11. apigeeconnect/
  12. apigeeregistry/
  13. apihub/
  14. apikeys/
  15. apiregistry/
  16. appengine/
  17. apphub/
  18. apps/
  19. area120/
  20. artifactregistry/
  21. asset/
  22. assuredworkloads/
  23. auth/
  24. automl/
  25. backupdr/
  26. baremetalsolution/
  27. batch/
  28. beyondcorp/
  29. bigquery/
  30. bigtable/
  31. billing/
  32. binaryauthorization/
  33. capacityplanner/
  34. certificatemanager/
  35. channel/
  36. chat/
  37. chronicle/
  38. civil/
  39. cloudbuild/
  40. cloudcontrolspartner/
  41. clouddms/
  42. cloudprofiler/
  43. cloudquotas/
  44. cloudtasks/
  45. commerce/
  46. compute/
  47. confidentialcomputing/
  48. config/
  49. configdelivery/
  50. contactcenterinsights/
  51. container/
  52. containeranalysis/
  53. datacatalog/
  54. dataflow/
  55. dataform/
  56. datafusion/
  57. datalabeling/
  58. dataplex/
  59. dataproc/
  60. dataqna/
  61. datastore/
  62. datastream/
  63. deploy/
  64. developerconnect/
  65. devicestreaming/
  66. dialogflow/
  67. discoveryengine/
  68. dlp/
  69. documentai/
  70. domains/
  71. edgecontainer/
  72. edgenetwork/
  73. errorreporting/
  74. essentialcontacts/
  75. eventarc/
  76. filestore/
  77. financialservices/
  78. firestore/
  79. functions/
  80. geminidataanalytics/
  81. gkebackup/
  82. gkeconnect/
  83. gkehub/
  84. gkemulticloud/
  85. gkerecommender/
  86. grafeas/
  87. gsuiteaddons/
  88. httpreplay/
  89. hypercomputecluster/
  90. iam/
  91. iap/
  92. identitytoolkit/
  93. ids/
  94. internal/
  95. iot/
  96. kms/
  97. language/
  98. licensemanager/
  99. lifesciences/
  100. locationfinder/
  101. logging/
  102. longrunning/
  103. lustre/
  104. maintenance/
  105. managedidentities/
  106. managedkafka/
  107. maps/
  108. mediatranslation/
  109. memcache/
  110. memorystore/
  111. metastore/
  112. migrationcenter/
  113. modelarmor/
  114. monitoring/
  115. netapp/
  116. networkconnectivity/
  117. networkmanagement/
  118. networksecurity/
  119. networkservices/
  120. notebooks/
  121. optimization/
  122. oracledatabase/
  123. orchestration/
  124. orgpolicy/
  125. osconfig/
  126. oslogin/
  127. parallelstore/
  128. parametermanager/
  129. phishingprotection/
  130. policysimulator/
  131. policytroubleshooter/
  132. privatecatalog/
  133. privilegedaccessmanager/
  134. profiler/
  135. pubsub/
  136. pubsublite/
  137. rapidmigrationassessment/
  138. recaptchaenterprise/
  139. recommendationengine/
  140. recommender/
  141. redis/
  142. resourcemanager/
  143. retail/
  144. rpcreplay/
  145. run/
  146. saasplatform/
  147. scheduler/
  148. secretmanager/
  149. securesourcemanager/
  150. security/
  151. securitycenter/
  152. securitycentermanagement/
  153. securityposture/
  154. servicecontrol/
  155. servicedirectory/
  156. servicehealth/
  157. servicemanagement/
  158. serviceusage/
  159. shell/
  160. shopping/
  161. spanner/
  162. speech/
  163. storage/
  164. storagebatchoperations/
  165. storageinsights/
  166. storagetransfer/
  167. streetview/
  168. support/
  169. talent/
  170. telcoautomation/
  171. texttospeech/
  172. third_party/
  173. tpu/
  174. trace/
  175. translate/
  176. vectorsearch/
  177. vertexai/
  178. video/
  179. videointelligence/
  180. vision/
  181. visionai/
  182. vmmigration/
  183. vmwareengine/
  184. vpcaccess/
  185. webrisk/
  186. websecurityscanner/
  187. workflows/
  188. workstations/
  189. .gitignore
  190. CHANGES.md
  191. CODE_OF_CONDUCT.md
  192. CONTRIBUTING.md
  193. debug.md
  194. doc.go
  195. go.mod
  196. go.sum
  197. LICENSE
  198. migration.md
  199. README.md
  200. RELEASING.md
  201. SECURITY.md
  202. testing.md
README.md

Google Cloud Client Libraries for Go

Go Reference

Go packages for Google Cloud Platform services.

Installation

go get cloud.google.com/go/firestore@latest # Replace firestore 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 the two most recent major Go releases, the same policy the Go programming language follows. This means the currently supported versions are:

  • Go 1.24
  • Go 1.25

Authentication

By default, each client library will use Application Default Credentials (ADC) to automatically configure the credentials used in calling the API endpoint. When using the libraries in a Google Cloud Platform environment such as Compute Engine, Kubernetes Engine, or App Engine, no additional authentication steps are necessary. See Authentication methods at Google and Authenticate for using client libraries for more information.

client, err := storage.NewClient(ctx)

For applications running elsewhere, such as your local development environment, you can use the gcloud auth application-default login command from the Google Cloud CLI to set user credentials in your local filesystem. Application Default Credentials will automatically detect these credentials. See Set up ADC for a local development environment for more information.

Alternately, you may need to provide an explicit path to your credentials. To authenticate using a service account key file, either set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to your key file, or programmatically 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 even more control over authentication by using the credentials package to create an auth.Credentials. Then pass option.WithAuthCredentials to the NewClient function:

creds, err := credentials.DetectDefault(&credentials.DetectOptions{...})
...
client, err := storage.NewClient(ctx, option.WithAuthCredentials(creds))

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