class Google::Cloud::Speech::V1p1beta1::Adaptation::Client::Configuration::Rpcs

Configuration RPC class for the Adaptation 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_custom_class[R]

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

create_phrase_set[R]

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

delete_custom_class[R]

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

delete_phrase_set[R]

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

get_custom_class[R]

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

get_phrase_set[R]

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

list_custom_classes[R]

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

list_phrase_set[R]

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

update_custom_class[R]

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

update_phrase_set[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/speech/v1p1beta1/adaptation/client.rb, line 1084
def initialize parent_rpcs = nil
  create_phrase_set_config = parent_rpcs.create_phrase_set if parent_rpcs.respond_to? :create_phrase_set
  @create_phrase_set = ::Gapic::Config::Method.new create_phrase_set_config
  get_phrase_set_config = parent_rpcs.get_phrase_set if parent_rpcs.respond_to? :get_phrase_set
  @get_phrase_set = ::Gapic::Config::Method.new get_phrase_set_config
  list_phrase_set_config = parent_rpcs.list_phrase_set if parent_rpcs.respond_to? :list_phrase_set
  @list_phrase_set = ::Gapic::Config::Method.new list_phrase_set_config
  update_phrase_set_config = parent_rpcs.update_phrase_set if parent_rpcs.respond_to? :update_phrase_set
  @update_phrase_set = ::Gapic::Config::Method.new update_phrase_set_config
  delete_phrase_set_config = parent_rpcs.delete_phrase_set if parent_rpcs.respond_to? :delete_phrase_set
  @delete_phrase_set = ::Gapic::Config::Method.new delete_phrase_set_config
  create_custom_class_config = parent_rpcs.create_custom_class if parent_rpcs.respond_to? :create_custom_class
  @create_custom_class = ::Gapic::Config::Method.new create_custom_class_config
  get_custom_class_config = parent_rpcs.get_custom_class if parent_rpcs.respond_to? :get_custom_class
  @get_custom_class = ::Gapic::Config::Method.new get_custom_class_config
  list_custom_classes_config = parent_rpcs.list_custom_classes if parent_rpcs.respond_to? :list_custom_classes
  @list_custom_classes = ::Gapic::Config::Method.new list_custom_classes_config
  update_custom_class_config = parent_rpcs.update_custom_class if parent_rpcs.respond_to? :update_custom_class
  @update_custom_class = ::Gapic::Config::Method.new update_custom_class_config
  delete_custom_class_config = parent_rpcs.delete_custom_class if parent_rpcs.respond_to? :delete_custom_class
  @delete_custom_class = ::Gapic::Config::Method.new delete_custom_class_config

  yield self if block_given?
end