Skip to content

Commit

Permalink
feat: [contentwarehouse] Updated the exponential backoff settings for…
Browse files Browse the repository at this point in the history
… the Document AI ProcessDocument and BatchProcessDocuments methods (#5763)

* feat: Updated the exponential backoff settings for the Document AI ProcessDocument and BatchProcessDocuments methods
feat: Add RESOURCE_EXHAUSTED to retryable status codes for ProcessDocument method
feat: Added an url for issue reporting and api short name

PiperOrigin-RevId: 688214664

Source-Link: googleapis/googleapis@76ca663

Source-Link: googleapis/googleapis-gen@6ad9727
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6IjZhZDk3Mjc3NDMwNzQ0ZGQ5YzczZTdmZjM5N2RjZTAwNTQ3ZDhlMGMifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent 267abc2 commit c605006
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-contentwarehouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Document AI Warehouse API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
1. [Set up authentication][auth] so you can access the
API from your local workstation.

### Installing the client library
Expand Down Expand Up @@ -212,4 +212,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=contentwarehouse.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ message GcsPrefix {

// The common config to specify a set of documents used as input.
message BatchDocumentsInputConfig {
// The source.
// The source. Make sure that the caller of the API has storage.objects.get
// access to the buckets.
oneof source {
// The set of documents that match the specified Cloud Storage `gcs_prefix`.
GcsPrefix gcs_prefix = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ message ProcessOptions {
// If a page range is set, only the given pages are extracted and processed
// from the document. In the output document,
// [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number]
// refers to the page number in the original document. This configuration
// only applies to sync requests.
// refers to the page number in the original document.
// This configuration only applies to online processing with
// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument].
oneof page_range {
// Which pages to process (1-indexed).
IndividualPageSelector individual_page_selector = 5;
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-contentwarehouse/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c605006

Please sign in to comment.