class Google::Cloud::DataQnA::V1alpha::QuestionService::Client::Configuration::Rpcs
Configuration
RPC class for the QuestionService
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_question[R]
RPC-specific configuration for `create_question` @return [::Gapic::Config::Method]
execute_question[R]
RPC-specific configuration for `execute_question` @return [::Gapic::Config::Method]
get_question[R]
RPC-specific configuration for `get_question` @return [::Gapic::Config::Method]
get_user_feedback[R]
RPC-specific configuration for `get_user_feedback` @return [::Gapic::Config::Method]
update_user_feedback[R]
RPC-specific configuration for `update_user_feedback` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/dataqna/v1alpha/question_service/client.rb, line 691 def initialize parent_rpcs = nil get_question_config = parent_rpcs.get_question if parent_rpcs.respond_to? :get_question @get_question = ::Gapic::Config::Method.new get_question_config create_question_config = parent_rpcs.create_question if parent_rpcs.respond_to? :create_question @create_question = ::Gapic::Config::Method.new create_question_config execute_question_config = parent_rpcs.execute_question if parent_rpcs.respond_to? :execute_question @execute_question = ::Gapic::Config::Method.new execute_question_config get_user_feedback_config = parent_rpcs.get_user_feedback if parent_rpcs.respond_to? :get_user_feedback @get_user_feedback = ::Gapic::Config::Method.new get_user_feedback_config update_user_feedback_config = parent_rpcs.update_user_feedback if parent_rpcs.respond_to? :update_user_feedback @update_user_feedback = ::Gapic::Config::Method.new update_user_feedback_config yield self if block_given? end