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

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

analyze_content[R]

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

create_participant[R]

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

get_participant[R]

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

list_participants[R]

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

suggest_articles[R]

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

suggest_faq_answers[R]

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

update_participant[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/dialogflow/v2/participants/client.rb, line 870
def initialize parent_rpcs = nil
  create_participant_config = parent_rpcs.create_participant if parent_rpcs.respond_to? :create_participant
  @create_participant = ::Gapic::Config::Method.new create_participant_config
  get_participant_config = parent_rpcs.get_participant if parent_rpcs.respond_to? :get_participant
  @get_participant = ::Gapic::Config::Method.new get_participant_config
  list_participants_config = parent_rpcs.list_participants if parent_rpcs.respond_to? :list_participants
  @list_participants = ::Gapic::Config::Method.new list_participants_config
  update_participant_config = parent_rpcs.update_participant if parent_rpcs.respond_to? :update_participant
  @update_participant = ::Gapic::Config::Method.new update_participant_config
  analyze_content_config = parent_rpcs.analyze_content if parent_rpcs.respond_to? :analyze_content
  @analyze_content = ::Gapic::Config::Method.new analyze_content_config
  suggest_articles_config = parent_rpcs.suggest_articles if parent_rpcs.respond_to? :suggest_articles
  @suggest_articles = ::Gapic::Config::Method.new suggest_articles_config
  suggest_faq_answers_config = parent_rpcs.suggest_faq_answers if parent_rpcs.respond_to? :suggest_faq_answers
  @suggest_faq_answers = ::Gapic::Config::Method.new suggest_faq_answers_config

  yield self if block_given?
end