class Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client::Configuration::Rpcs

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

annotate_assessment[R]

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

create_assessment[R]

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

create_key[R]

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

delete_key[R]

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

get_key[R]

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

list_keys[R]

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

update_key[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service/client.rb, line 832
def initialize parent_rpcs = nil
  create_assessment_config = parent_rpcs.create_assessment if parent_rpcs.respond_to? :create_assessment
  @create_assessment = ::Gapic::Config::Method.new create_assessment_config
  annotate_assessment_config = parent_rpcs.annotate_assessment if parent_rpcs.respond_to? :annotate_assessment
  @annotate_assessment = ::Gapic::Config::Method.new annotate_assessment_config
  create_key_config = parent_rpcs.create_key if parent_rpcs.respond_to? :create_key
  @create_key = ::Gapic::Config::Method.new create_key_config
  list_keys_config = parent_rpcs.list_keys if parent_rpcs.respond_to? :list_keys
  @list_keys = ::Gapic::Config::Method.new list_keys_config
  get_key_config = parent_rpcs.get_key if parent_rpcs.respond_to? :get_key
  @get_key = ::Gapic::Config::Method.new get_key_config
  update_key_config = parent_rpcs.update_key if parent_rpcs.respond_to? :update_key
  @update_key = ::Gapic::Config::Method.new update_key_config
  delete_key_config = parent_rpcs.delete_key if parent_rpcs.respond_to? :delete_key
  @delete_key = ::Gapic::Config::Method.new delete_key_config

  yield self if block_given?
end