dataproc: add back non-default retry parameters.

committer: @hzyi-google

PiperOrigin-RevId: 303830177
pull/599/head
Google APIs 5 years ago committed by Copybara-Service
parent ad895ce95f
commit a45b0a2a8f
  1. 13
      google/cloud/dataproc/v1/dataproc_gapic.yaml
  2. 13
      google/cloud/dataproc/v1beta2/dataproc_gapic.yaml

@ -17,6 +17,10 @@ language_settings:
package_name: dataproc.v1
domain_layer_location: google-cloud
interfaces:
- name: google.cloud.dataproc.v1.AutoscalingPolicyService
methods:
- name: UpdateAutoscalingPolicy
retry_codes_name: idempotent
- name: google.cloud.dataproc.v1.ClusterController
smoke_test:
method: ListClusters
@ -32,6 +36,15 @@ interfaces:
- name: non_idempotent
retry_codes:
- UNAVAILABLE
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 10000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 10000
total_timeout_millis: 300000
methods:
- name: CreateCluster
retry_codes_name: non_idempotent

@ -17,6 +17,10 @@ language_settings:
package_name: dataproc.v1beta2
domain_layer_location: google-cloud
interfaces:
- name: google.cloud.dataproc.v1.AutoscalingPolicyService
methods:
- name: UpdateAutoscalingPolicy
retry_codes_name: idempotent
- name: google.cloud.dataproc.v1beta2.ClusterController
smoke_test:
method: ListClusters
@ -33,6 +37,15 @@ interfaces:
- name: non_idempotent
retry_codes:
- UNAVAILABLE
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 20000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 20000
total_timeout_millis: 600000
methods:
- name: CreateCluster
retry_codes_name: non_idempotent

Loading…
Cancel
Save