class Google::Cloud::Dialogflow::V2::Intents::Client::Configuration::Rpcs

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

batch_delete_intents[R]

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

batch_update_intents[R]

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

create_intent[R]

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

delete_intent[R]

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

get_intent[R]

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

list_intents[R]

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

update_intent[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/dialogflow/v2/intents/client.rb, line 927
def initialize parent_rpcs = nil
  list_intents_config = parent_rpcs.list_intents if parent_rpcs.respond_to? :list_intents
  @list_intents = ::Gapic::Config::Method.new list_intents_config
  get_intent_config = parent_rpcs.get_intent if parent_rpcs.respond_to? :get_intent
  @get_intent = ::Gapic::Config::Method.new get_intent_config
  create_intent_config = parent_rpcs.create_intent if parent_rpcs.respond_to? :create_intent
  @create_intent = ::Gapic::Config::Method.new create_intent_config
  update_intent_config = parent_rpcs.update_intent if parent_rpcs.respond_to? :update_intent
  @update_intent = ::Gapic::Config::Method.new update_intent_config
  delete_intent_config = parent_rpcs.delete_intent if parent_rpcs.respond_to? :delete_intent
  @delete_intent = ::Gapic::Config::Method.new delete_intent_config
  batch_update_intents_config = parent_rpcs.batch_update_intents if parent_rpcs.respond_to? :batch_update_intents
  @batch_update_intents = ::Gapic::Config::Method.new batch_update_intents_config
  batch_delete_intents_config = parent_rpcs.batch_delete_intents if parent_rpcs.respond_to? :batch_delete_intents
  @batch_delete_intents = ::Gapic::Config::Method.new batch_delete_intents_config

  yield self if block_given?
end