Class: Google::Cloud::Dataproc::V1::SessionController::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::SessionController::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/dataproc/v1/session_controller/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 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.
-
Instance Attribute Summary collapse
-
#create_session ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_session
. -
#delete_session ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_session
. -
#get_session ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_session
. -
#list_sessions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_sessions
. -
#terminate_session ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
terminate_session
.
Instance Attribute Details
#create_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_session
876 877 878 |
# File 'lib/google/cloud/dataproc/v1/session_controller/client.rb', line 876 def create_session @create_session end |
#delete_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_session
896 897 898 |
# File 'lib/google/cloud/dataproc/v1/session_controller/client.rb', line 896 def delete_session @delete_session end |
#get_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_session
881 882 883 |
# File 'lib/google/cloud/dataproc/v1/session_controller/client.rb', line 881 def get_session @get_session end |
#list_sessions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_sessions
886 887 888 |
# File 'lib/google/cloud/dataproc/v1/session_controller/client.rb', line 886 def list_sessions @list_sessions end |
#terminate_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for terminate_session
891 892 893 |
# File 'lib/google/cloud/dataproc/v1/session_controller/client.rb', line 891 def terminate_session @terminate_session end |