10000 fix: migrate automl/v1 to grpc_service_config · googleapis/googleapis@dd25bfd · GitHub
[go: up one dir, main page]

Skip to content

Commit dd25bfd

Browse files
Google APIscopybara-github
authored andcommitted
fix: migrate automl/v1 to grpc_service_config
PiperOrigin-RevId: 317760936
1 parent 49883ad commit dd25bfd

File tree

2 files changed

+3
-50
lines changed

2 files changed

+3
-50
lines changed

google/cloud/automl/v1/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ java_gapic_library(
8383
name = "automl_java_gapic",
8484
src = ":automl_proto_with_info",
8585
gapic_yaml = "automl_gapic.yaml",
86+
grpc_service_config = "automl_grpc_service_config.json",
8687
package = "google.cloud.automl.v1",
8788
service_yaml = "automl_v1.yaml",
8889
test_deps = [
@@ -217,6 +218,7 @@ py_gapic_library(
217218
name = "automl_py_gapic",
218219
src = ":automl_proto_with_info",
219220
gapic_yaml = "automl_gapic.yaml",
221+
grpc_service_config = "automl_grpc_service_config.json",
220222
package = "google.cloud.automl.v1",
221223
service_yaml = "automl_v1.yaml",
222224
deps = [
@@ -261,6 +263,7 @@ php_gapic_library(
261263
name = "automl_php_gapic",
262264
src = ":automl_proto_with_info",
263265
gapic_yaml = "automl_gapic.yaml",
266+
grpc_service_config = "automl_grpc_service_config.json",
264267
package = "google.cloud.automl.v1",
265268
service_yaml = "automl_v1.yaml",
266269
deps = [

google/cloud/automl/v1/automl_gapic.yaml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -21,55 +21,5 @@ language_settings:
2121
interfaces:
2222
# The fully qualified name of the API interface.
2323
- name: google.cloud.automl.v1.AutoMl
24-
# A list of method configurations.
25-
# Common properties:
26-
#
27-
# name - The simple name of the method.
28-
#
29-
# flattening - Specifies the configuration for parameter flattening.
30-
# Describes the parameter groups for which a generator should produce method
31-
# overloads which allow a client to directly pass request message fields as
32-
# method parameters. This information may or may not be used, depending on
33-
# the target language.
34-
# Consists of groups, which each represent a list of parameters to be
35-
# flattened. Each parameter listed must be a field of the request message.
36-
#
37-
# required_fields - Fields that are always required for a request to be
38-
# valid.
39-
#
40-
# page_streaming - Specifies the configuration for paging.
41-
# Describes information for generating a method which transforms a paging
42-
# list RPC into a stream of resources.
43-
# Consists of a request and a response.
44-
# The request specifies request information of the list method. It defines
45-
# which fields match the paging pattern in the request. The request consists
< DE05 code>46-
# of a page_size_field and a token_field. The page_size_field is the name of
47-
# the optional field specifying the maximum number of elements to be
48-
# returned in the response. The token_field is the name of the field in the
49-
# request containing the page token.
50-
# The response specifies response information of the list method. It defines
51-
# which fields match the paging pattern in the response. The response
52-
# consists of a token_field and a resources_field. The token_field is the
53-
# name of the field in the response containing the next page token. The
54-
# resources_field is the name of the field in the response containing the
55-
# list of resources belonging to the page.
56-
#
57-
# retry_codes_name - Specifies the configuration for retryable codes. The
58-
# name must be defined in interfaces.retry_codes_def.
59-
#
60-
# retry_params_name - Specifies the configuration for retry/backoff
61-
# parameters. The name must be defined in interfaces.retry_params_def.
62-
#
63-
# field_name_patterns - Maps the field name of the request type to
64-
# entity_name of interfaces.collections.
65-
# Specifies the string pattern that the field must follow.
66-
#
67-
# timeout_millis - Specifies the default timeout for a non-retrying call. If
68-
# the call is retrying, refer to retry_params_name instead.
69-
methods:
70-
- name: DeleteDataset
71-
retry_codes_name: idempotent
72-
- name: DeleteModel
73-
retry_codes_name: idempotent
7424
# The fully qualified name of the API interface.
7525
- name: google.cloud.automl.v1.PredictionService

0 commit comments

Comments
 (0)
0