Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
feat: update ReviewDocumentRequest to allow set priority and enable v…
Browse files Browse the repository at this point in the history
…alidation (#527)

PiperOrigin-RevId: 380732771

Source-Link: googleapis/googleapis@87fc4d4

Source-Link: googleapis/googleapis-gen@7610fef
  • Loading branch information
gcf-owl-bot[bot] committed Jun 24, 2021
1 parent 8f98b40 commit f69e920
Show file tree
Hide file tree
Showing 14 changed files with 1,433 additions and 208 deletions.
Expand Up @@ -469,6 +469,7 @@ public final UnaryCallable<BatchProcessRequest, Operation> batchProcessDocuments
* ReviewDocumentRequest.newBuilder()
* .setHumanReviewConfig(
* HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .setEnableSchemaValidation(true)
* .build();
* ReviewDocumentResponse response =
* documentProcessorServiceClient.reviewDocumentAsync(request).get();
Expand Down Expand Up @@ -497,6 +498,7 @@ public final UnaryCallable<BatchProcessRequest, Operation> batchProcessDocuments
* ReviewDocumentRequest.newBuilder()
* .setHumanReviewConfig(
* HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .setEnableSchemaValidation(true)
* .build();
* OperationFuture<ReviewDocumentResponse, ReviewDocumentOperationMetadata> future =
* documentProcessorServiceClient.reviewDocumentOperationCallable().futureCall(request);
Expand Down Expand Up @@ -525,6 +527,7 @@ public final UnaryCallable<BatchProcessRequest, Operation> batchProcessDocuments
* ReviewDocumentRequest.newBuilder()
* .setHumanReviewConfig(
* HumanReviewConfigName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]").toString())
* .setEnableSchemaValidation(true)
* .build();
* ApiFuture<Operation> future =
* documentProcessorServiceClient.reviewDocumentCallable().futureCall(request);
Expand Down

0 comments on commit f69e920

Please sign in to comment.