class Google::Cloud::Bigtable::V2::Bigtable::Client::Configuration::Rpcs

Configuration RPC class for the Bigtable 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.
    *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
       trigger a retry.

Attributes

check_and_mutate_row[R]

RPC-specific configuration for `check_and_mutate_row` @return [::Gapic::Config::Method]

mutate_row[R]

RPC-specific configuration for `mutate_row` @return [::Gapic::Config::Method]

mutate_rows[R]

RPC-specific configuration for `mutate_rows` @return [::Gapic::Config::Method]

read_modify_write_row[R]

RPC-specific configuration for `read_modify_write_row` @return [::Gapic::Config::Method]

read_rows[R]

RPC-specific configuration for `read_rows` @return [::Gapic::Config::Method]

sample_row_keys[R]

RPC-specific configuration for `sample_row_keys` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/bigtable/v2/bigtable/client.rb, line 841
def initialize parent_rpcs = nil
  read_rows_config = parent_rpcs.read_rows if parent_rpcs.respond_to? :read_rows
  @read_rows = ::Gapic::Config::Method.new read_rows_config
  sample_row_keys_config = parent_rpcs.sample_row_keys if parent_rpcs.respond_to? :sample_row_keys
  @sample_row_keys = ::Gapic::Config::Method.new sample_row_keys_config
  mutate_row_config = parent_rpcs.mutate_row if parent_rpcs.respond_to? :mutate_row
  @mutate_row = ::Gapic::Config::Method.new mutate_row_config
  mutate_rows_config = parent_rpcs.mutate_rows if parent_rpcs.respond_to? :mutate_rows
  @mutate_rows = ::Gapic::Config::Method.new mutate_rows_config
  check_and_mutate_row_config = parent_rpcs.check_and_mutate_row if parent_rpcs.respond_to? :check_and_mutate_row
  @check_and_mutate_row = ::Gapic::Config::Method.new check_and_mutate_row_config
  read_modify_write_row_config = parent_rpcs.read_modify_write_row if parent_rpcs.respond_to? :read_modify_write_row
  @read_modify_write_row = ::Gapic::Config::Method.new read_modify_write_row_config

  yield self if block_given?
end