class Google::Cloud::Workflows::Executions::V1::Executions::Client::Configuration::Rpcs

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

cancel_execution[R]

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

create_execution[R]

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

get_execution[R]

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

list_executions[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/workflows/executions/v1/executions/client.rb, line 683
def initialize parent_rpcs = nil
  list_executions_config = parent_rpcs.list_executions if parent_rpcs.respond_to? :list_executions
  @list_executions = ::Gapic::Config::Method.new list_executions_config
  create_execution_config = parent_rpcs.create_execution if parent_rpcs.respond_to? :create_execution
  @create_execution = ::Gapic::Config::Method.new create_execution_config
  get_execution_config = parent_rpcs.get_execution if parent_rpcs.respond_to? :get_execution
  @get_execution = ::Gapic::Config::Method.new get_execution_config
  cancel_execution_config = parent_rpcs.cancel_execution if parent_rpcs.respond_to? :cancel_execution
  @cancel_execution = ::Gapic::Config::Method.new cancel_execution_config

  yield self if block_given?
end