class Google::Cloud::Dialogflow::CX::V3::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.

Attributes

create_agent[R]

RPC-specific configuration for `create_agent` @return [::Gapic::Config::Method]

delete_agent[R]

RPC-specific configuration for `delete_agent` @return [::Gapic::Config::Method]

export_agent[R]

RPC-specific configuration for `export_agent` @return [::Gapic::Config::Method]

get_agent[R]

RPC-specific configuration for `get_agent` @return [::Gapic::Config::Method]

get_agent_validation_result[R]

RPC-specific configuration for `get_agent_validation_result` @return [::Gapic::Config::Method]

list_agents[R]

RPC-specific configuration for `list_agents` @return [::Gapic::Config::Method]

restore_agent[R]

RPC-specific configuration for `restore_agent` @return [::Gapic::Config::Method]

update_agent[R]

RPC-specific configuration for `update_agent` @return [::Gapic::Config::Method]

validate_agent[R]

RPC-specific configuration for `validate_agent` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/dialogflow/cx/v3/agents/client.rb, line 1028
def initialize parent_rpcs = nil
  list_agents_config = parent_rpcs.list_agents if parent_rpcs.respond_to? :list_agents
  @list_agents = ::Gapic::Config::Method.new list_agents_config
  get_agent_config = parent_rpcs.get_agent if parent_rpcs.respond_to? :get_agent
  @get_agent = ::Gapic::Config::Method.new get_agent_config
  create_agent_config = parent_rpcs.create_agent if parent_rpcs.respond_to? :create_agent
  @create_agent = ::Gapic::Config::Method.new create_agent_config
  update_agent_config = parent_rpcs.update_agent if parent_rpcs.respond_to? :update_agent
  @update_agent = ::Gapic::Config::Method.new update_agent_config
  delete_agent_config = parent_rpcs.delete_agent if parent_rpcs.respond_to? :delete_agent
  @delete_agent = ::Gapic::Config::Method.new delete_agent_config
  export_agent_config = parent_rpcs.export_agent if parent_rpcs.respond_to? :export_agent
  @export_agent = ::Gapic::Config::Method.new export_agent_config
  restore_agent_config = parent_rpcs.restore_agent if parent_rpcs.respond_to? :restore_agent
  @restore_agent = ::Gapic::Config::Method.new restore_agent_config
  validate_agent_config = parent_rpcs.validate_agent if parent_rpcs.respond_to? :validate_agent
  @validate_agent = ::Gapic::Config::Method.new validate_agent_config
  get_agent_validation_result_config = parent_rpcs.get_agent_validation_result if parent_rpcs.respond_to? :get_agent_validation_result
  @get_agent_validation_result = ::Gapic::Config::Method.new get_agent_validation_result_config

  yield self if block_given?
end