Skip to content

Commit 2522351

Browse files
Google APIscopybara-github
authored andcommitted
feat: set longer polling timeouts for filestore CreateInstance
PiperOrigin-RevId: 433266104
1 parent c47720d commit 2522351

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

google/cloud/filestore/v1beta1/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ java_grpc_library(
7474
java_gapic_library(
7575
name = "filestore_java_gapic",
7676
srcs = [":filestore_proto_with_info"],
77+
gapic_yaml = "file_gapic.yaml",
7778
grpc_service_config = "file_grpc_service_config.json",
7879
test_deps = [
7980
":filestore_java_grpc",
@@ -212,6 +213,7 @@ php_grpc_library(
212213
php_gapic_library(
213214
name = "filestore_php_gapic",
214215
srcs = [":filestore_proto_with_info"],
216+
gapic_yaml = "file_gapic.yaml",
215217
grpc_service_config = "file_grpc_service_config.json",
216218
service_yaml = "file_v1beta1.yaml",
217219
deps = [
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
type: com.google.api.codegen.ConfigProto
2+
config_schema_version: 2.0.0
3+
# A list of API interface configurations.
4+
interfaces:
5+
# The fully qualified name of the API interface.
6+
- name: google.cloud.filestore.v1beta1.CloudFilestoreManager
7+
methods:
8+
- name: CreateInstance
9+
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
10+
long_running:
11+
initial_poll_delay_millis: 60000 # 1 minutes
12+
poll_delay_multiplier: 1.5
13+
max_poll_delay_millis: 360000 # 6 minutes
14+
total_poll_timeout_millis: 7200000 # 120 minutes

0 commit comments

Comments
 (0)