Skip to content

Commit 3531eef

Browse files
feat(servicemanagement): update the api
#### servicemanagement:v1 The following keys were added: - schemas.BatchingConfigProto (Total Keys: 4) - schemas.BatchingDescriptorProto (Total Keys: 6) - schemas.BatchingSettingsProto (Total Keys: 17) - schemas.MethodSettings.properties.batching.$ref (Total Keys: 1)
1 parent dfd7d48 commit 3531eef

File tree

3 files changed

+195
-1
lines changed

3 files changed

+195
-1
lines changed

docs/dyn/servicemanagement_v1.services.configs.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,25 @@ <h3>Method Details</h3>
622622
&quot;autoPopulatedFields&quot;: [ # List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
623623
&quot;A String&quot;,
624624
],
625+
&quot;batching&quot;: { # `BatchingConfigProto` defines the batching configuration for an API method. # Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10
626+
&quot;batchDescriptor&quot;: { # `BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing. # The request and response fields used in batching.
627+
&quot;batchedField&quot;: &quot;A String&quot;, # The repeated field in the request message to be aggregated by batching.
628+
&quot;discriminatorFields&quot;: [ # A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
629+
&quot;A String&quot;,
630+
],
631+
&quot;subresponseField&quot;: &quot;A String&quot;, # Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
632+
},
633+
&quot;thresholds&quot;: { # `BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero. # The thresholds which trigger a batched request to be sent.
634+
&quot;delayThreshold&quot;: &quot;A String&quot;, # The duration after which a batch should be sent, starting from the addition of the first message to that batch.
635+
&quot;elementCountLimit&quot;: 42, # The maximum number of elements collected in a batch that could be accepted by server.
636+
&quot;elementCountThreshold&quot;: 42, # The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
637+
&quot;flowControlByteLimit&quot;: 42, # The maximum size of data allowed by flow control.
638+
&quot;flowControlElementLimit&quot;: 42, # The maximum number of elements allowed by flow control.
639+
&quot;flowControlLimitExceededBehavior&quot;: &quot;A String&quot;, # The behavior to take when the flow control limit is exceeded.
640+
&quot;requestByteLimit&quot;: 42, # The maximum size of the request that could be accepted by server.
641+
&quot;requestByteThreshold&quot;: &quot;A String&quot;, # The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.
642+
},
643+
},
625644
&quot;longRunning&quot;: { # Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). # Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
626645
&quot;initialPollDelay&quot;: &quot;A String&quot;, # Initial delay after which the first poll request will be made. Default value: 5 seconds.
627646
&quot;maxPollDelay&quot;: &quot;A String&quot;, # Maximum time between two subsequent poll requests. Default value: 45 seconds.
@@ -1306,6 +1325,25 @@ <h3>Method Details</h3>
13061325
&quot;autoPopulatedFields&quot;: [ # List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
13071326
&quot;A String&quot;,
13081327
],
1328+
&quot;batching&quot;: { # `BatchingConfigProto` defines the batching configuration for an API method. # Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10
1329+
&quot;batchDescriptor&quot;: { # `BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing. # The request and response fields used in batching.
1330+
&quot;batchedField&quot;: &quot;A String&quot;, # The repeated field in the request message to be aggregated by batching.
1331+
&quot;discriminatorFields&quot;: [ # A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
1332+
&quot;A String&quot;,
1333+
],
1334+
&quot;subresponseField&quot;: &quot;A String&quot;, # Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
1335+
},
1336+
&quot;thresholds&quot;: { # `BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero. # The thresholds which trigger a batched request to be sent.
1337+
&quot;delayThreshold&quot;: &quot;A String&quot;, # The duration after which a batch should be sent, starting from the addition of the first message to that batch.
1338+
&quot;elementCountLimit&quot;: 42, # The maximum number of elements collected in a batch that could be accepted by server.
1339+
&quot;elementCountThreshold&quot;: 42, # The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
1340+
&quot;flowControlByteLimit&quot;: 42, # The maximum size of data allowed by flow control.
1341+
&quot;flowControlElementLimit&quot;: 42, # The maximum number of elements allowed by flow control.
1342+
&quot;flowControlLimitExceededBehavior&quot;: &quot;A String&quot;, # The behavior to take when the flow control limit is exceeded.
1343+
&quot;requestByteLimit&quot;: 42, # The maximum size of the request that could be accepted by server.
1344+
&quot;requestByteThreshold&quot;: &quot;A String&quot;, # The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.
1345+
},
1346+
},
13091347
&quot;longRunning&quot;: { # Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). # Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
13101348
&quot;initialPollDelay&quot;: &quot;A String&quot;, # Initial delay after which the first poll request will be made. Default value: 5 seconds.
13111349
&quot;maxPollDelay&quot;: &quot;A String&quot;, # Maximum time between two subsequent poll requests. Default value: 45 seconds.
@@ -2002,6 +2040,25 @@ <h3>Method Details</h3>
20022040
&quot;autoPopulatedFields&quot;: [ # List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
20032041
&quot;A String&quot;,
20042042
],
2043+
&quot;batching&quot;: { # `BatchingConfigProto` defines the batching configuration for an API method. # Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10
2044+
&quot;batchDescriptor&quot;: { # `BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing. # The request and response fields used in batching.
2045+
&quot;batchedField&quot;: &quot;A String&quot;, # The repeated field in the request message to be aggregated by batching.
2046+
&quot;discriminatorFields&quot;: [ # A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
2047+
&quot;A String&quot;,
2048+
],
2049+
&quot;subresponseField&quot;: &quot;A String&quot;, # Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
2050+
},
2051+
&quot;thresholds&quot;: { # `BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero. # The thresholds which trigger a batched request to be sent.
2052+
&quot;delayThreshold&quot;: &quot;A String&quot;, # The duration after which a batch should be sent, starting from the addition of the first message to that batch.
2053+
&quot;elementCountLimit&quot;: 42, # The maximum number of elements collected in a batch that could be accepted by server.
2054+
&quot;elementCountThreshold&quot;: 42, # The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
2055+
&quot;flowControlByteLimit&quot;: 42, # The maximum size of data allowed by flow control.
2056+
&quot;flowControlElementLimit&quot;: 42, # The maximum number of elements allowed by flow control.
2057+
&quot;flowControlLimitExceededBehavior&quot;: &quot;A String&quot;, # The behavior to take when the flow control limit is exceeded.
2058+
&quot;requestByteLimit&quot;: 42, # The maximum size of the request that could be accepted by server.
2059+
&quot;requestByteThreshold&quot;: &quot;A String&quot;, # The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.
2060+
},
2061+
},
20052062
&quot;longRunning&quot;: { # Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). # Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
20062063
&quot;initialPollDelay&quot;: &quot;A String&quot;, # Initial delay after which the first poll request will be made. Default value: 5 seconds.
20072064
&quot;maxPollDelay&quot;: &quot;A String&quot;, # Maximum time between two subsequent poll requests. Default value: 45 seconds.
@@ -2698,6 +2755,25 @@ <h3>Method Details</h3>
26982755
&quot;autoPopulatedFields&quot;: [ # List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
26992756
&quot;A String&quot;,
27002757
],
2758+
&quot;batching&quot;: { # `BatchingConfigProto` defines the batching configuration for an API method. # Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10
2759+
&quot;batchDescriptor&quot;: { # `BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing. # The request and response fields used in batching.
2760+
&quot;batchedField&quot;: &quot;A String&quot;, # The repeated field in the request message to be aggregated by batching.
2761+
&quot;discriminatorFields&quot;: [ # A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
2762+
&quot;A String&quot;,
2763+
],
2764+
&quot;subresponseField&quot;: &quot;A String&quot;, # Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
2765+
},
2766+
&quot;thresholds&quot;: { # `BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero. # The thresholds which trigger a batched request to be sent.
2767+
&quot;delayThreshold&quot;: &quot;A String&quot;, # The duration after which a batch should be sent, starting from the addition of the first message to that batch.
2768+
&quot;elementCountLimit&quot;: 42, # The maximum number of elements collected in a batch that could be accepted by server.
2769+
&quot;elementCountThreshold&quot;: 42, # The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
2770+
&quot;flowControlByteLimit&quot;: 42, # The maximum size of data allowed by flow control.
2771+
&quot;flowControlElementLimit&quot;: 42, # The maximum number of elements allowed by flow control.
2772+
&quot;flowControlLimitExceededBehavior&quot;: &quot;A String&quot;, # The behavior to take when the flow control limit is exceeded.
2773+
&quot;requestByteLimit&quot;: 42, # The maximum size of the request that could be accepted by server.
2774+
&quot;requestByteThreshold&quot;: &quot;A String&quot;, # The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.
2775+
},
2776+
},
27012777
&quot;longRunning&quot;: { # Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). # Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
27022778
&quot;initialPollDelay&quot;: &quot;A String&quot;, # Initial delay after which the first poll request will be made. Default value: 5 seconds.
27032779
&quot;maxPollDelay&quot;: &quot;A String&quot;, # Maximum time between two subsequent poll requests. Default value: 45 seconds.

0 commit comments

Comments
 (0)