class Google::Cloud::Dialogflow::V2::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

batch_create_entities[R]

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

batch_delete_entities[R]

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

batch_delete_entity_types[R]

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

batch_update_entities[R]

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

batch_update_entity_types[R]

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

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/v2/entity_types/client.rb, line 1203
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
  batch_update_entity_types_config = parent_rpcs.batch_update_entity_types if parent_rpcs.respond_to? :batch_update_entity_types
  @batch_update_entity_types = ::Gapic::Config::Method.new batch_update_entity_types_config
  batch_delete_entity_types_config = parent_rpcs.batch_delete_entity_types if parent_rpcs.respond_to? :batch_delete_entity_types
  @batch_delete_entity_types = ::Gapic::Config::Method.new batch_delete_entity_types_config
  batch_create_entities_config = parent_rpcs.batch_create_entities if parent_rpcs.respond_to? :batch_create_entities
  @batch_create_entities = ::Gapic::Config::Method.new batch_create_entities_config
  batch_update_entities_config = parent_rpcs.batch_update_entities if parent_rpcs.respond_to? :batch_update_entities
  @batch_update_entities = ::Gapic::Config::Method.new batch_update_entities_config
  batch_delete_entities_config = parent_rpcs.batch_delete_entities if parent_rpcs.respond_to? :batch_delete_entities
  @batch_delete_entities = ::Gapic::Config::Method.new batch_delete_entities_config

  yield self if block_given?
end