Class: Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb

Overview

Configuration RPC class for the BigQueryRead API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional gRPC headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_read_session::Gapic::Config::Method (readonly)

RPC-specific configuration for create_read_session

Returns:

  • (::Gapic::Config::Method)


721
722
723
# File 'lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb', line 721

def create_read_session
  @create_read_session
end

#read_rows::Gapic::Config::Method (readonly)

RPC-specific configuration for read_rows

Returns:

  • (::Gapic::Config::Method)


726
727
728
# File 'lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb', line 726

def read_rows
  @read_rows
end

#split_read_stream::Gapic::Config::Method (readonly)

RPC-specific configuration for split_read_stream

Returns:

  • (::Gapic::Config::Method)


731
732
733
# File 'lib/google/cloud/bigquery/storage/v1/big_query_read/client.rb', line 731

def split_read_stream
  @split_read_stream
end