Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Agents::Client::Configuration::Rpcs (v0.15.2)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Agents::Client::Configuration::Rpcs.

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

Inherits

  • Object

Methods

#delete_agent

def delete_agent() -> ::Gapic::Config::Method

RPC-specific configuration for delete_agent

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

#export_agent

def export_agent() -> ::Gapic::Config::Method

RPC-specific configuration for export_agent

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

#get_agent

def get_agent() -> ::Gapic::Config::Method

RPC-specific configuration for get_agent

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

#get_validation_result

def get_validation_result() -> ::Gapic::Config::Method

RPC-specific configuration for get_validation_result

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

#import_agent

def import_agent() -> ::Gapic::Config::Method

RPC-specific configuration for import_agent

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

#restore_agent

def restore_agent() -> ::Gapic::Config::Method

RPC-specific configuration for restore_agent

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

#search_agents

def search_agents() -> ::Gapic::Config::Method

RPC-specific configuration for search_agents

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

#set_agent

def set_agent() -> ::Gapic::Config::Method

RPC-specific configuration for set_agent

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

#train_agent

def train_agent() -> ::Gapic::Config::Method

RPC-specific configuration for train_agent

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