feat(documentai): Make Layout Parser generally available in V1 (#10286)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 638924855

Source-Link: https://togithub.com/googleapis/googleapis/commit/0cea7170404bec3d994f43db4fa292f5034cbe9a

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/ba9bd19a6787b6be1750b18157b30467a8ce6730
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmE5YmQxOWE2Nzg3YjZiZTE3NTBiMTgxNTdiMzA0NjdhOGNlNjczMCJ9
BEGIN_NESTED_COMMIT
feat(pubsub): add service_account_email for export subscriptions
PiperOrigin-RevId: 638641437

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

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/2001c330aee62a9d4e8a9852d8e5bf2662818ad4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjAwMWMzMzBhZWU2MmE5ZDRlOGE5ODUyZDhlNWJmMjY2MjgxOGFkNCJ9
END_NESTED_COMMIT
19 files changed
tree: 4e252357b7c896f61aa1d10e8e791c75f3b7a449
  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. developerconnect/
  61. dialogflow/
  62. discoveryengine/
  63. dlp/
  64. documentai/
  65. domains/
  66. edgecontainer/
  67. edgenetwork/
  68. errorreporting/
  69. essentialcontacts/
  70. eventarc/
  71. filestore/
  72. firestore/
  73. functions/
  74. gkebackup/
  75. gkeconnect/
  76. gkehub/
  77. gkemulticloud/
  78. grafeas/
  79. gsuiteaddons/
  80. httpreplay/
  81. iam/
  82. iap/
  83. identitytoolkit/
  84. ids/
  85. internal/
  86. iot/
  87. kms/
  88. language/
  89. lifesciences/
  90. logging/
  91. longrunning/
  92. managedidentities/
  93. managedkafka/
  94. maps/
  95. mediatranslation/
  96. memcache/
  97. metastore/
  98. migrationcenter/
  99. monitoring/
  100. netapp/
  101. networkconnectivity/
  102. networkmanagement/
  103. networksecurity/
  104. notebooks/
  105. optimization/
  106. orchestration/
  107. orgpolicy/
  108. osconfig/
  109. oslogin/
  110. parallelstore/
  111. phishingprotection/
  112. policysimulator/
  113. policytroubleshooter/
  114. privatecatalog/
  115. profiler/
  116. pubsub/
  117. pubsublite/
  118. rapidmigrationassessment/
  119. recaptchaenterprise/
  120. recommendationengine/
  121. recommender/
  122. redis/
  123. resourcemanager/
  124. resourcesettings/
  125. retail/
  126. rpcreplay/
  127. run/
  128. scheduler/
  129. secretmanager/
  130. securesourcemanager/
  131. security/
  132. securitycenter/
  133. securitycentermanagement/
  134. securityposture/
  135. servicecontrol/
  136. servicedirectory/
  137. servicehealth/
  138. servicemanagement/
  139. serviceusage/
  140. shell/
  141. shopping/
  142. spanner/
  143. speech/
  144. storage/
  145. storageinsights/
  146. storagetransfer/
  147. streetview/
  148. support/
  149. talent/
  150. telcoautomation/
  151. texttospeech/
  152. third_party/
  153. tpu/
  154. trace/
  155. translate/
  156. vertexai/
  157. video/
  158. videointelligence/
  159. vision/
  160. visionai/
  161. vmmigration/
  162. vmwareengine/
  163. vpcaccess/
  164. webrisk/
  165. websecurityscanner/
  166. workflows/
  167. workstations/
  168. .gitignore
  169. .release-please-manifest-individual.json
  170. .release-please-manifest-submodules.json
  171. .release-please-manifest.json
  172. CHANGES.md
  173. CODE_OF_CONDUCT.md
  174. CONTRIBUTING.md
  175. debug.md
  176. doc.go
  177. go.mod
  178. go.sum
  179. go.work
  180. go.work.sum
  181. LICENSE
  182. migration.md
  183. README.md
  184. release-please-config-individual.json
  185. release-please-config-yoshi-submodules.json
  186. release-please-config.json
  187. RELEASING.md
  188. SECURITY.md
  189. 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

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