diff --git a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documentai/v1beta2/BUILD.bazel index e55280e20bedd..8f78053627e0d 100644 --- a/google/cloud/documentai/v1beta2/BUILD.bazel +++ b/google/cloud/documentai/v1beta2/BUILD.bazel @@ -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 = [ diff --git a/google/cloud/documentai/v1beta2/documentai_gapic.yaml b/google/cloud/documentai/v1beta2/documentai_gapic.yaml index fe23b39d6b716..d08c4dfa9c34b 100644 --- a/google/cloud/documentai/v1beta2/documentai_gapic.yaml +++ b/google/cloud/documentai/v1beta2/documentai_gapic.yaml @@ -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