You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`thresholds`|[GAPICBatchingThresholds](#gapicbatchingthresholds-configuration) (optional) |Defines the conditions that trigger a batch to be sent.|
38
+
|`batch_descriptor`|[GAPICBatchDescriptor](#gapicbatchdescriptor-configuration) (optional) |Describes how individual requests are combined into a batch.|
|`element_count_threshold`| int |Is the number of elements that triggers a batch to be sent.|
45
+
|`request_byte_threshold`| int |Is the total byte size of elements that triggers a batch to be sent.|
46
+
|`delay_threshold_millis`| int |Is the maximum time to wait before sending a batch, in milliseconds.|
47
+
|`flow_control_element_limit`| int |Is the maximum number of elements that may be outstanding at once.|
48
+
|`flow_control_byte_limit`| int |Is the maximum total byte size of elements that may be outstanding at once.|
49
+
|`flow_control_limit_exceeded_behavior`| string |Controls what happens when the flow control limit is exceeded (e.g. "ThrowException", "Block").|
50
50
51
51
## GAPICInterface Configuration
52
52
53
53
| Field | Type | Description |
54
54
| :--- | :--- | :--- |
55
-
|`name`| string ||
56
-
|`methods`| list of [GAPICMethod](#gapicmethod-configuration)||
55
+
|`name`| string |Is the fully-qualified name of the service interface (e.g. "google.cloud.speech.v1.Speech").|
56
+
|`methods`| list of [GAPICMethod](#gapicmethod-configuration)|Contains per-method configuration such as long-running operation polling and batching settings.|
57
57
58
58
## GAPICLongRunning Configuration
59
59
60
60
| Field | Type | Description |
61
61
| :--- | :--- | :--- |
62
-
|`initial_poll_delay_millis`| int64 ||
63
-
|`poll_delay_multiplier`| float64 ||
64
-
|`max_poll_delay_millis`| int64 ||
65
-
|`total_poll_timeout_millis`| int64 ||
62
+
|`initial_poll_delay_millis`| int64 |Is the delay before the first poll, in milliseconds.|
63
+
|`poll_delay_multiplier`| float64 |Is the multiplier applied to the poll delay after each attempt.|
64
+
|`max_poll_delay_millis`| int64 |Is the maximum poll delay, in milliseconds.|
65
+
|`total_poll_timeout_millis`| int64 |Is the total time allowed for polling before the operation is considered timed out, in milliseconds.|
|`name`| string |Is the simple method name (e.g. "LongRunningRecognize").|
72
+
|`long_running`|[GAPICLongRunning](#gapiclongrunning-configuration) (optional) |Contains polling configuration for long-running operations. Nil when the method is not long-running.|
73
+
|`batching`|[GAPICBatching](#gapicbatching-configuration) (optional) |Contains request batching configuration. Nil when the method does not support batching.|
0 commit comments