Skip to content

Commit fc6a76e

Browse files
Google APIscopybara-github
authored andcommitted
feat: set longer polling timeouts for filestore DeleteInstance and DeleteSnapshot
PiperOrigin-RevId: 456849206
1 parent 23f1a15 commit fc6a76e

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

google/cloud/filestore/v1beta1/file_gapic.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,25 @@ interfaces:
55
# The fully qualified name of the API interface.
66
- name: google.cloud.filestore.v1beta1.CloudFilestoreManager
77
methods:
8+
# Both CreateInstance and DeleteSnapshot can take a long time to complete.
9+
# The default client-side timeouts cause the client to give up on the request early,
10+
# so the following configuration increases it:
11+
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
812
- name: CreateInstance
9-
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
1013
long_running:
1114
initial_poll_delay_millis: 60000 # 1 minutes
1215
poll_delay_multiplier: 1.5
1316
max_poll_delay_millis: 360000 # 6 minutes
1417
total_poll_timeout_millis: 7200000 # 120 minutes
18+
- name: DeleteSnapshot
19+
long_running:
20+
initial_poll_delay_millis: 60000 # 1 minutes
21+
poll_delay_multiplier: 1.5
22+
max_poll_delay_millis: 360000 # 6 minutes
23+
total_poll_timeout_millis: 7200000 # 120 minutes
24+
- name: DeleteInstance
25+
long_running:
26+
initial_poll_delay_millis: 60000 # 1 minutes
27+
poll_delay_multiplier: 1.5
28+
max_poll_delay_millis: 360000 # 6 minutes
29+
total_poll_timeout_millis: 900000 # 15 minutes

0 commit comments

Comments
 (0)