feat: set longer polling timeouts for filestore DeleteInstance and DeleteSnapshot

PiperOrigin-RevId: 456849206
pull/726/head
Google APIs 3 years ago committed by Copybara-Service
parent 23f1a15718
commit fc6a76e0d7
  1. 17
      google/cloud/filestore/v1beta1/file_gapic.yaml

@ -5,10 +5,25 @@ interfaces:
# The fully qualified name of the API interface.
- name: google.cloud.filestore.v1beta1.CloudFilestoreManager
methods:
# Both CreateInstance and DeleteSnapshot can take a long time to complete.
# The default client-side timeouts cause the client to give up on the request early,
# so the following configuration increases it:
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
- name: CreateInstance
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 7200000 # 120 minutes
- name: DeleteSnapshot
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 7200000 # 120 minutes
- name: DeleteInstance
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 900000 # 15 minutes

Loading…
Cancel
Save