chore: enable gapic v2 and proto annotation for bigquery/storage/v1beta2 API.
committer: @xiaozhenliu-gg5 PiperOrigin-RevId: 310239576
This commit is contained in:
parent
c08dcec05c
commit
2fc2caaacb
|
|
@ -0,0 +1,84 @@
|
|||
type: com.google.api.codegen.ConfigProto
|
||||
config_schema_version: 1.0.0
|
||||
# The settings of generated code in a specific language.
|
||||
language_settings:
|
||||
java:
|
||||
package_name: com.google.cloud.bigquery.storage.v1beta2
|
||||
interface_names:
|
||||
google.cloud.bigquery.storage.v1beta2.BigQueryRead: BaseBigQueryRead
|
||||
python:
|
||||
package_name: google.cloud.bigquery_storage_v1beta2.gapic
|
||||
go:
|
||||
package_name: cloud.google.com/go/bigquery/storage/apiv1beta2
|
||||
csharp:
|
||||
package_name: Google.Cloud.Bigquery.Storage.V1beta2
|
||||
ruby:
|
||||
package_name: Google::Cloud::Bigquery::Storage::V1beta2
|
||||
php:
|
||||
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
|
||||
collections: []
|
||||
# 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
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- parent
|
||||
- read_session
|
||||
- max_stream_count
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: create_read_session
|
||||
timeout_millis: 60000
|
||||
- name: ReadRows
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- read_stream
|
||||
- offset
|
||||
retry_codes_name: unary_streaming
|
||||
retry_params_name: read_rows
|
||||
timeout_millis: 86400000
|
||||
- name: SplitReadStream
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
type: com.google.api.codegen.ConfigProto
|
||||
config_schema_version: 1.0.0
|
||||
config_schema_version: 2.0.0
|
||||
# The settings of generated code in a specific language.
|
||||
language_settings:
|
||||
java:
|
||||
|
|
@ -22,7 +22,6 @@ language_settings:
|
|||
interfaces:
|
||||
# The fully qualified name of the API interface.
|
||||
- name: google.cloud.bigquery.storage.v1beta2.BigQueryRead
|
||||
collections: []
|
||||
# Definition for retryable codes.
|
||||
retry_codes_def:
|
||||
- name: idempotent
|
||||
|
|
@ -60,25 +59,12 @@ interfaces:
|
|||
total_timeout_millis: 86400000
|
||||
methods:
|
||||
- name: CreateReadSession
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- parent
|
||||
- read_session
|
||||
- max_stream_count
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: create_read_session
|
||||
timeout_millis: 60000
|
||||
- name: ReadRows
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- read_stream
|
||||
- offset
|
||||
retry_codes_name: unary_streaming
|
||||
retry_params_name: read_rows
|
||||
timeout_millis: 86400000
|
||||
- name: SplitReadStream
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
|
|
|
|||
Loading…
Reference in New Issue