diff options
author | Google APIs <noreply@google.com> | 2019-05-17 16:43:28 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2019-05-17 16:43:56 -0700 |
commit | 64f0053af0c24d817ec44278c8b4513f6cfd77ff (patch) | |
tree | 569f421d7a72adf30e70959fcd37083d252bdb55 | |
parent | ab437f2bb2100360f8d119530b0a020228baa4cc (diff) | |
download | googleapis-64f0053af0c24d817ec44278c8b4513f6cfd77ff.tar.gz |
Synchronize new proto/yaml changes.
PiperOrigin-RevId: 248810317
-rw-r--r-- | google/cloud/bigquery/storage/v1beta1/bigquerystorage_gapic.yaml | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/google/cloud/bigquery/storage/v1beta1/bigquerystorage_gapic.yaml b/google/cloud/bigquery/storage/v1beta1/bigquerystorage_gapic.yaml index d4554f321..3843dbc4f 100644 --- a/google/cloud/bigquery/storage/v1beta1/bigquerystorage_gapic.yaml +++ b/google/cloud/bigquery/storage/v1beta1/bigquerystorage_gapic.yaml @@ -39,6 +39,9 @@ interfaces: retry_codes: - DEADLINE_EXCEEDED - UNAVAILABLE + - name: unary_streaming + retry_codes: + - UNAVAILABLE - name: non_idempotent retry_codes: [] # Definition for retry/backoff parameters. @@ -62,6 +65,20 @@ interfaces: rpc_timeout_multiplier: 1 max_rpc_timeout_millis: 120000 total_timeout_millis: 600000 + # ReadRows is a unary streaming RPC for which the concept of a deadline + # doesn't necessarily make sense -- the server will keep sending back data + # as long as the end of the table hasn't been reached. We set a deadline + # here of 86400000 milliseconds, or one day, but in practice we should use + # some other mechanism here (gRPC keepalive?) and disallow client-side + # deadlines entirely. + - name: read_rows + initial_retry_delay_millis: 100 + retry_delay_multiplier: 1.3 + max_retry_delay_millis: 60000 + initial_rpc_timeout_millis: 86400000 + rpc_timeout_multiplier: 1 + max_rpc_timeout_millis: 86400000 + total_timeout_millis: 86400000 # A list of method configurations. # Common properties: # @@ -140,11 +157,8 @@ interfaces: - read_position required_fields: - read_position - retry_codes_name: idempotent - retry_params_name: default - # Note this value is currently ignored in (at least) Java code generation. - # See https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/EnhancedBigQueryStorageStubSettings.java - # for the Java-specific manual workaround. + retry_codes_name: unary_streaming + retry_params_name: read_rows timeout_millis: 86400000 header_request_params: - read_position.stream.name |