Skip to content

Commit

Permalink
fix: migrate documentai/v1beta2 to grpc_service_config
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 315961930
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 11, 2020
1 parent 2e34b87 commit 0edf3ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
2 changes: 2 additions & 0 deletions google/cloud/documentai/v1beta2/BUILD.bazel
Expand Up @@ -62,6 +62,7 @@ java_gapic_library(
name = "documentai_java_gapic",
src = ":documentai_proto_with_info",
gapic_yaml = "documentai_gapic.yaml",
grpc_service_config = "documentai_v1beta2_grpc_service_config.json",
package = "google.cloud.documentai.v1beta2",
service_yaml = "documentai_v1beta2.yaml",
test_deps = [
Expand Down Expand Up @@ -195,6 +196,7 @@ php_gapic_library(
name = "documentai_php_gapic",
src = ":documentai_proto_with_info",
gapic_yaml = "documentai_gapic.yaml",
grpc_service_config = "documentai_v1beta2_grpc_service_config.json",
package = "google.cloud.documentai.v1beta2",
service_yaml = "documentai_v1beta2.yaml",
deps = [
Expand Down
29 changes: 0 additions & 29 deletions google/cloud/documentai/v1beta2/documentai_gapic.yaml
Expand Up @@ -16,32 +16,3 @@ language_settings:
package_name: Google\Cloud\DocumentAi\V1beta2
nodejs:
package_name: documentai.v1beta2
# A list of API interface configurations.
interfaces:
# The fully qualified name of the API interface.
- name: google.cloud.documentai.v1beta2.DocumentUnderstandingService
# A list of resource collection configurations.
# Consists of a name_pattern and an entity_name.
# The name_pattern is a pattern to describe the names of the resources of this
# collection, using the platform's conventions for URI patterns. A generator
# may use this to generate methods to compose and decompose such names. The
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
# those will be taken as hints for the parameter names of the generated
# methods. If empty, no name methods are generated.
# The entity_name is the name to be used as a basis for generated methods and
# classes.

# A list of method configurations.
# Common properties:
#
# name - The simple name of the method.
#
# retry_codes_name - Specifies the configuration for retryable codes. The
# name must be defined in interfaces.retry_codes_def.


methods:
- name: BatchProcessDocuments
retry_codes_name: idempotent
- name: ProcessDocument
retry_codes_name: idempotent

0 comments on commit 0edf3ff

Please sign in to comment.