Class: Google::Cloud::Dataproc::V1::SessionTemplateController::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/session_template_controller/client.rb

Overview

Configuration RPC class for the SessionTemplateController 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.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_session_template::Gapic::Config::Method (readonly)

RPC-specific configuration for create_session_template

Returns:

  • (::Gapic::Config::Method)


835
836
837
# File 'lib/google/cloud/dataproc/v1/session_template_controller/client.rb', line 835

def create_session_template
  @create_session_template
end

#delete_session_template::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_session_template

Returns:

  • (::Gapic::Config::Method)


855
856
857
# File 'lib/google/cloud/dataproc/v1/session_template_controller/client.rb', line 855

def delete_session_template
  @delete_session_template
end

#get_session_template::Gapic::Config::Method (readonly)

RPC-specific configuration for get_session_template

Returns:

  • (::Gapic::Config::Method)


845
846
847
# File 'lib/google/cloud/dataproc/v1/session_template_controller/client.rb', line 845

def get_session_template
  @get_session_template
end

#list_session_templates::Gapic::Config::Method (readonly)

RPC-specific configuration for list_session_templates

Returns:

  • (::Gapic::Config::Method)


850
851
852
# File 'lib/google/cloud/dataproc/v1/session_template_controller/client.rb', line 850

def list_session_templates
  @list_session_templates
end

#update_session_template::Gapic::Config::Method (readonly)

RPC-specific configuration for update_session_template

Returns:

  • (::Gapic::Config::Method)


840
841
842
# File 'lib/google/cloud/dataproc/v1/session_template_controller/client.rb', line 840

def update_session_template
  @update_session_template
end