Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::Spanner::Client::Configuration::Rpcs (v1.2.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::Spanner::Client::Configuration::Rpcs.

Configuration RPC class for the Spanner 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.

Inherits

  • Object

Methods

#batch_create_sessions

def batch_create_sessions() -> ::Gapic::Config::Method

RPC-specific configuration for batch_create_sessions

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

#batch_write

def batch_write() -> ::Gapic::Config::Method

RPC-specific configuration for batch_write

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

#begin_transaction

def begin_transaction() -> ::Gapic::Config::Method

RPC-specific configuration for begin_transaction

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

#commit

def commit() -> ::Gapic::Config::Method

RPC-specific configuration for commit

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

#create_session

def create_session() -> ::Gapic::Config::Method

RPC-specific configuration for create_session

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

#delete_session

def delete_session() -> ::Gapic::Config::Method

RPC-specific configuration for delete_session

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

#execute_batch_dml

def execute_batch_dml() -> ::Gapic::Config::Method

RPC-specific configuration for execute_batch_dml

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

#execute_sql

def execute_sql() -> ::Gapic::Config::Method

RPC-specific configuration for execute_sql

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

#execute_streaming_sql

def execute_streaming_sql() -> ::Gapic::Config::Method

RPC-specific configuration for execute_streaming_sql

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

#get_session

def get_session() -> ::Gapic::Config::Method

RPC-specific configuration for get_session

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

#list_sessions

def list_sessions() -> ::Gapic::Config::Method

RPC-specific configuration for list_sessions

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

#partition_query

def partition_query() -> ::Gapic::Config::Method

RPC-specific configuration for partition_query

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

#partition_read

def partition_read() -> ::Gapic::Config::Method

RPC-specific configuration for partition_read

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

#read

def read() -> ::Gapic::Config::Method

RPC-specific configuration for read

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

#rollback

def rollback() -> ::Gapic::Config::Method

RPC-specific configuration for rollback

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

#streaming_read

def streaming_read() -> ::Gapic::Config::Method

RPC-specific configuration for streaming_read

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