Class: Google::Cloud::DiscoveryEngine::V1::EngineService::Rest::Client::Configuration::Rpcs

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

Overview

Configuration RPC class for the EngineService 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_engine::Gapic::Config::Method (readonly)

RPC-specific configuration for create_engine

Returns:

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


812
813
814
# File 'lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb', line 812

def create_engine
  @create_engine
end

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

RPC-specific configuration for delete_engine

Returns:

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


817
818
819
# File 'lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb', line 817

def delete_engine
  @delete_engine
end

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

RPC-specific configuration for get_engine

Returns:

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


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

def get_engine
  @get_engine
end

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

RPC-specific configuration for list_engines

Returns:

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


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

def list_engines
  @list_engines
end

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

RPC-specific configuration for update_engine

Returns:

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


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

def update_engine
  @update_engine
end