Skip to content

Commit 0023af5

Browse files
Google APIscopybara-github
authored andcommitted
fix: migrate bq/storage/v1beta2 to grpc_service_config
PiperOrigin-RevId: 321239116
1 parent e9f3e97 commit 0023af5

2 files changed

Lines changed: 3 additions & 50 deletions

File tree

google/cloud/bigquery/storage/v1beta2/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ java_gapic_library(
5959
name = "storage_java_gapic",
6060
src = ":storage_proto_with_info",
6161
gapic_yaml = "bigquerystorage_gapic.yaml",
62+
grpc_service_config = "bigquerystorage_grpc_service_config.json",
6263
package = "google.cloud.bigquery.storage.v1beta2",
6364
service_yaml = "bigquerystorage_v1beta2.yaml",
6465
test_deps = [
@@ -178,6 +179,7 @@ py_gapic_library(
178179
name = "storage_py_gapic",
179180
src = ":storage_proto_with_info",
180181
gapic_yaml = "bigquerystorage_gapic.yaml",
182+
grpc_service_config = "bigquerystorage_grpc_service_config.json",
181183
package = "google.cloud.bigquery.storage.v1beta2",
182184
service_yaml = "bigquerystorage_v1beta2.yaml",
183185
deps = [
@@ -222,6 +224,7 @@ php_gapic_library(
222224
name = "storage_php_gapic",
223225
src = ":storage_proto_with_info",
224226
gapic_yaml = "bigquerystorage_gapic.yaml",
227+
grpc_service_config = "bigquerystorage_grpc_service_config.json",
225228
package = "google.cloud.bigquery.storage.v1beta2",
226229
service_yaml = "bigquerystorage_v1beta2.yaml",
227230
deps = [

google/cloud/bigquery/storage/v1beta2/bigquerystorage_gapic.yaml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -18,53 +18,3 @@ language_settings:
1818
package_name: Google\Cloud\Bigquery\Storage\V1beta2
1919
nodejs:
2020
package_name: storage.v1beta2
21-
# A list of API interface configurations.
22-
interfaces:
23-
# The fully qualified name of the API interface.
24-
- name: google.cloud.bigquery.storage.v1beta2.BigQueryRead
25-
# Definition for retryable codes.
26-
retry_codes_def:
27-
- name: idempotent
28-
retry_codes:
29-
- DEADLINE_EXCEEDED
30-
- UNAVAILABLE
31-
- name: unary_streaming
32-
retry_codes:
33-
- UNAVAILABLE
34-
# Definition for retry/backoff parameters.
35-
retry_params_def:
36-
- name: default
37-
initial_retry_delay_millis: 100
38-
retry_delay_multiplier: 1.3
39-
max_retry_delay_millis: 60000
40-
initial_rpc_timeout_millis: 20000
41-
rpc_timeout_multiplier: 1
42-
max_rpc_timeout_millis: 20000
43-
total_timeout_millis: 600000
44-
- name: create_read_session
45-
initial_retry_delay_millis: 100
46-
retry_delay_multiplier: 1.3
47-
max_retry_delay_millis: 60000
48-
initial_rpc_timeout_millis: 120000
49-
rpc_timeout_multiplier: 1
50-
max_rpc_timeout_millis: 120000
51-
total_timeout_millis: 600000
52-
- name: read_rows
53-
initial_retry_delay_millis: 100
54-
retry_delay_multiplier: 1.3
55-
max_retry_delay_millis: 60000
56-
initial_rpc_timeout_millis: 86400000
57-
rpc_timeout_multiplier: 1
58-
max_rpc_timeout_millis: 86400000
59-
total_timeout_millis: 86400000
60-
methods:
61-
- name: CreateReadSession
62-
retry_codes_name: idempotent
63-
retry_params_name: create_read_session
64-
- name: ReadRows
65-
retry_codes_name: unary_streaming
66-
retry_params_name: read_rows
67-
timeout_millis: 86400000
68-
- name: SplitReadStream
69-
retry_codes_name: idempotent
70-
retry_params_name: default

0 commit comments

Comments
 (0)