fix: migrate documentai/v1beta2 to grpc_service_config

PiperOrigin-RevId: 315961930
This commit is contained in:
Google APIs 2020-06-11 13:07:43 -07:00 committed by Copybara-Service
parent 2e34b87de3
commit 0edf3ff662
2 changed files with 2 additions and 29 deletions

View File

@ -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 = [
@ -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 = [

View File

@ -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