class Google::Cloud::Dataproc::V1::ClusterController::Client::Configuration::Rpcs

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

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

delete_cluster[R]

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

diagnose_cluster[R]

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

get_cluster[R]

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

list_clusters[R]

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

start_cluster[R]

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

stop_cluster[R]

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

update_cluster[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/dataproc/v1/cluster_controller/client.rb, line 1143
def initialize parent_rpcs = nil
  create_cluster_config = parent_rpcs.create_cluster if parent_rpcs.respond_to? :create_cluster
  @create_cluster = ::Gapic::Config::Method.new create_cluster_config
  update_cluster_config = parent_rpcs.update_cluster if parent_rpcs.respond_to? :update_cluster
  @update_cluster = ::Gapic::Config::Method.new update_cluster_config
  stop_cluster_config = parent_rpcs.stop_cluster if parent_rpcs.respond_to? :stop_cluster
  @stop_cluster = ::Gapic::Config::Method.new stop_cluster_config
  start_cluster_config = parent_rpcs.start_cluster if parent_rpcs.respond_to? :start_cluster
  @start_cluster = ::Gapic::Config::Method.new start_cluster_config
  delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
  @delete_cluster = ::Gapic::Config::Method.new delete_cluster_config
  get_cluster_config = parent_rpcs.get_cluster if parent_rpcs.respond_to? :get_cluster
  @get_cluster = ::Gapic::Config::Method.new get_cluster_config
  list_clusters_config = parent_rpcs.list_clusters if parent_rpcs.respond_to? :list_clusters
  @list_clusters = ::Gapic::Config::Method.new list_clusters_config
  diagnose_cluster_config = parent_rpcs.diagnose_cluster if parent_rpcs.respond_to? :diagnose_cluster
  @diagnose_cluster = ::Gapic::Config::Method.new diagnose_cluster_config

  yield self if block_given?
end