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
- (::Gapic::Config::Method)
#create_snapshot
def create_snapshot() -> ::Gapic::Config::Method
RPC-specific configuration for create_snapshot
- (::Gapic::Config::Method)
#create_subscription
def create_subscription() -> ::Gapic::Config::Method
RPC-specific configuration for create_subscription
- (::Gapic::Config::Method)
#delete_snapshot
def delete_snapshot() -> ::Gapic::Config::Method
RPC-specific configuration for delete_snapshot
- (::Gapic::Config::Method)
#delete_subscription
def delete_subscription() -> ::Gapic::Config::Method
RPC-specific configuration for delete_subscription
- (::Gapic::Config::Method)
#get_snapshot
def get_snapshot() -> ::Gapic::Config::Method
RPC-specific configuration for get_snapshot
- (::Gapic::Config::Method)
#get_subscription
def get_subscription() -> ::Gapic::Config::Method
RPC-specific configuration for get_subscription
- (::Gapic::Config::Method)
#list_snapshots
def list_snapshots() -> ::Gapic::Config::Method
RPC-specific configuration for list_snapshots
- (::Gapic::Config::Method)
#list_subscriptions
def list_subscriptions() -> ::Gapic::Config::Method
RPC-specific configuration for list_subscriptions
- (::Gapic::Config::Method)
#modify_ack_deadline
def modify_ack_deadline() -> ::Gapic::Config::Method
RPC-specific configuration for modify_ack_deadline
- (::Gapic::Config::Method)
#modify_push_config
def modify_push_config() -> ::Gapic::Config::Method
RPC-specific configuration for modify_push_config
- (::Gapic::Config::Method)
#pull
def pull() -> ::Gapic::Config::Method
RPC-specific configuration for pull
- (::Gapic::Config::Method)
#seek
def seek() -> ::Gapic::Config::Method
RPC-specific configuration for seek
- (::Gapic::Config::Method)
#streaming_pull
def streaming_pull() -> ::Gapic::Config::Method
RPC-specific configuration for streaming_pull
- (::Gapic::Config::Method)
#update_snapshot
def update_snapshot() -> ::Gapic::Config::Method
RPC-specific configuration for update_snapshot
- (::Gapic::Config::Method)
#update_subscription
def update_subscription() -> ::Gapic::Config::Method
RPC-specific configuration for update_subscription
- (::Gapic::Config::Method)