Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::Subscriber::Client::Configuration::Rpcs (v0.12.1)

Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::Subscriber::Client::Configuration::Rpcs.

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

#acknowledge

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

RPC-specific configuration for acknowledge

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

#create_snapshot

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

RPC-specific configuration for create_snapshot

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

#create_subscription

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

RPC-specific configuration for create_subscription

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

#delete_snapshot

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

RPC-specific configuration for delete_snapshot

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

#delete_subscription

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

RPC-specific configuration for delete_subscription

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

#get_snapshot

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

RPC-specific configuration for get_snapshot

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

#get_subscription

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

RPC-specific configuration for get_subscription

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

#list_snapshots

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

RPC-specific configuration for list_snapshots

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

#list_subscriptions

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

RPC-specific configuration for list_subscriptions

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

#modify_ack_deadline

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

RPC-specific configuration for modify_ack_deadline

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

#modify_push_config

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

RPC-specific configuration for modify_push_config

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

#pull

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

RPC-specific configuration for pull

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

#seek

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

RPC-specific configuration for seek

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

#streaming_pull

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

RPC-specific configuration for streaming_pull

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

#update_snapshot

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

RPC-specific configuration for update_snapshot

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

#update_subscription

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

RPC-specific configuration for update_subscription

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