Class: Google::Cloud::DiscoveryEngine::V1beta::SessionService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::SessionService::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/discovery_engine/v1beta/session_service/client.rb
Overview
Configuration RPC class for the SessionService 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
-
#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. -
#update_session ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_session.
Instance Attribute Details
#create_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_session
911 912 913 |
# File 'lib/google/cloud/discovery_engine/v1beta/session_service/client.rb', line 911 def create_session @create_session end |
#delete_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_session
916 917 918 |
# File 'lib/google/cloud/discovery_engine/v1beta/session_service/client.rb', line 916 def delete_session @delete_session end |
#get_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_session
926 927 928 |
# File 'lib/google/cloud/discovery_engine/v1beta/session_service/client.rb', line 926 def get_session @get_session end |
#list_sessions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_sessions
931 932 933 |
# File 'lib/google/cloud/discovery_engine/v1beta/session_service/client.rb', line 931 def list_sessions @list_sessions end |
#update_session ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_session
921 922 923 |
# File 'lib/google/cloud/discovery_engine/v1beta/session_service/client.rb', line 921 def update_session @update_session end |