class Google::Cloud::Workflows::V1beta::Workflows::Client::Configuration::Rpcs

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

create_workflow[R]

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

delete_workflow[R]

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

get_workflow[R]

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

list_workflows[R]

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

update_workflow[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/workflows/v1beta/workflows/client.rb, line 712
def initialize parent_rpcs = nil
  list_workflows_config = parent_rpcs.list_workflows if parent_rpcs.respond_to? :list_workflows
  @list_workflows = ::Gapic::Config::Method.new list_workflows_config
  get_workflow_config = parent_rpcs.get_workflow if parent_rpcs.respond_to? :get_workflow
  @get_workflow = ::Gapic::Config::Method.new get_workflow_config
  create_workflow_config = parent_rpcs.create_workflow if parent_rpcs.respond_to? :create_workflow
  @create_workflow = ::Gapic::Config::Method.new create_workflow_config
  delete_workflow_config = parent_rpcs.delete_workflow if parent_rpcs.respond_to? :delete_workflow
  @delete_workflow = ::Gapic::Config::Method.new delete_workflow_config
  update_workflow_config = parent_rpcs.update_workflow if parent_rpcs.respond_to? :update_workflow
  @update_workflow = ::Gapic::Config::Method.new update_workflow_config

  yield self if block_given?
end