class Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client::Configuration::Rpcs
Configuration
RPC class for the EntityTypes
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_entity_type[R]
RPC-specific configuration for `create_entity_type` @return [::Gapic::Config::Method]
delete_entity_type[R]
RPC-specific configuration for `delete_entity_type` @return [::Gapic::Config::Method]
get_entity_type[R]
RPC-specific configuration for `get_entity_type` @return [::Gapic::Config::Method]
list_entity_types[R]
RPC-specific configuration for `list_entity_types` @return [::Gapic::Config::Method]
update_entity_type[R]
RPC-specific configuration for `update_entity_type` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb, line 744 def initialize parent_rpcs = nil list_entity_types_config = parent_rpcs.list_entity_types if parent_rpcs.respond_to? :list_entity_types @list_entity_types = ::Gapic::Config::Method.new list_entity_types_config get_entity_type_config = parent_rpcs.get_entity_type if parent_rpcs.respond_to? :get_entity_type @get_entity_type = ::Gapic::Config::Method.new get_entity_type_config create_entity_type_config = parent_rpcs.create_entity_type if parent_rpcs.respond_to? :create_entity_type @create_entity_type = ::Gapic::Config::Method.new create_entity_type_config update_entity_type_config = parent_rpcs.update_entity_type if parent_rpcs.respond_to? :update_entity_type @update_entity_type = ::Gapic::Config::Method.new update_entity_type_config delete_entity_type_config = parent_rpcs.delete_entity_type if parent_rpcs.respond_to? :delete_entity_type @delete_entity_type = ::Gapic::Config::Method.new delete_entity_type_config yield self if block_given? end