class Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client::Configuration::Rpcs

Configuration RPC class for the WorkflowTemplateService 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_template[R]

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

delete_workflow_template[R]

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

get_workflow_template[R]

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

instantiate_inline_workflow_template[R]

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

instantiate_workflow_template[R]

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

list_workflow_templates[R]

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

update_workflow_template[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb, line 1001
def initialize parent_rpcs = nil
  create_workflow_template_config = parent_rpcs.create_workflow_template if parent_rpcs.respond_to? :create_workflow_template
  @create_workflow_template = ::Gapic::Config::Method.new create_workflow_template_config
  get_workflow_template_config = parent_rpcs.get_workflow_template if parent_rpcs.respond_to? :get_workflow_template
  @get_workflow_template = ::Gapic::Config::Method.new get_workflow_template_config
  instantiate_workflow_template_config = parent_rpcs.instantiate_workflow_template if parent_rpcs.respond_to? :instantiate_workflow_template
  @instantiate_workflow_template = ::Gapic::Config::Method.new instantiate_workflow_template_config
  instantiate_inline_workflow_template_config = parent_rpcs.instantiate_inline_workflow_template if parent_rpcs.respond_to? :instantiate_inline_workflow_template
  @instantiate_inline_workflow_template = ::Gapic::Config::Method.new instantiate_inline_workflow_template_config
  update_workflow_template_config = parent_rpcs.update_workflow_template if parent_rpcs.respond_to? :update_workflow_template
  @update_workflow_template = ::Gapic::Config::Method.new update_workflow_template_config
  list_workflow_templates_config = parent_rpcs.list_workflow_templates if parent_rpcs.respond_to? :list_workflow_templates
  @list_workflow_templates = ::Gapic::Config::Method.new list_workflow_templates_config
  delete_workflow_template_config = parent_rpcs.delete_workflow_template if parent_rpcs.respond_to? :delete_workflow_template
  @delete_workflow_template = ::Gapic::Config::Method.new delete_workflow_template_config

  yield self if block_given?
end