fix: migrate bq/storage/v1beta2 to grpc_service_config

PiperOrigin-RevId: 321239116
This commit is contained in:
Google APIs 2020-07-14 14:45:28 -07:00 committed by Copybara-Service
parent e9f3e973e9
commit 0023af57be
2 changed files with 3 additions and 50 deletions

View File

@ -59,6 +59,7 @@ java_gapic_library(
name = "storage_java_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1beta2",
service_yaml = "bigquerystorage_v1beta2.yaml",
test_deps = [
@ -178,6 +179,7 @@ py_gapic_library(
name = "storage_py_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1beta2",
service_yaml = "bigquerystorage_v1beta2.yaml",
deps = [
@ -222,6 +224,7 @@ php_gapic_library(
name = "storage_php_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1beta2",
service_yaml = "bigquerystorage_v1beta2.yaml",
deps = [

View File

@ -18,53 +18,3 @@ language_settings:
package_name: Google\Cloud\Bigquery\Storage\V1beta2
nodejs:
package_name: storage.v1beta2
# A list of API interface configurations.
interfaces:
# The fully qualified name of the API interface.
- name: google.cloud.bigquery.storage.v1beta2.BigQueryRead
# Definition for retryable codes.
retry_codes_def:
- name: idempotent
retry_codes:
- DEADLINE_EXCEEDED
- UNAVAILABLE
- name: unary_streaming
retry_codes:
- UNAVAILABLE
# Definition for retry/backoff parameters.
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
- name: create_read_session
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 120000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 120000
total_timeout_millis: 600000
- name: read_rows
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 86400000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 86400000
total_timeout_millis: 86400000
methods:
- name: CreateReadSession
retry_codes_name: idempotent
retry_params_name: create_read_session
- name: ReadRows
retry_codes_name: unary_streaming
retry_params_name: read_rows
timeout_millis: 86400000
- name: SplitReadStream
retry_codes_name: idempotent
retry_params_name: default