Class: Google::Cloud::Dataproc::V1::SessionController::Rest::Client::Configuration::Rpcs

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for create_session

Returns:

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


822
823
824
# File 'lib/google/cloud/dataproc/v1/session_controller/rest/client.rb', line 822

def create_session
  @create_session
end

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

RPC-specific configuration for delete_session

Returns:

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


842
843
844
# File 'lib/google/cloud/dataproc/v1/session_controller/rest/client.rb', line 842

def delete_session
  @delete_session
end

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

RPC-specific configuration for get_session

Returns:

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


827
828
829
# File 'lib/google/cloud/dataproc/v1/session_controller/rest/client.rb', line 827

def get_session
  @get_session
end

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

RPC-specific configuration for list_sessions

Returns:

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


832
833
834
# File 'lib/google/cloud/dataproc/v1/session_controller/rest/client.rb', line 832

def list_sessions
  @list_sessions
end

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

RPC-specific configuration for terminate_session

Returns:

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


837
838
839
# File 'lib/google/cloud/dataproc/v1/session_controller/rest/client.rb', line 837

def terminate_session
  @terminate_session
end