class Google::Cloud::AppEngine::V1::Firewall::Client::Configuration::Rpcs

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

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

create_ingress_rule[R]

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

delete_ingress_rule[R]

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

get_ingress_rule[R]

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

list_ingress_rules[R]

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

update_ingress_rule[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/app_engine/v1/firewall/client.rb, line 765
def initialize parent_rpcs = nil
  list_ingress_rules_config = parent_rpcs.list_ingress_rules if parent_rpcs.respond_to? :list_ingress_rules
  @list_ingress_rules = ::Gapic::Config::Method.new list_ingress_rules_config
  batch_update_ingress_rules_config = parent_rpcs.batch_update_ingress_rules if parent_rpcs.respond_to? :batch_update_ingress_rules
  @batch_update_ingress_rules = ::Gapic::Config::Method.new batch_update_ingress_rules_config
  create_ingress_rule_config = parent_rpcs.create_ingress_rule if parent_rpcs.respond_to? :create_ingress_rule
  @create_ingress_rule = ::Gapic::Config::Method.new create_ingress_rule_config
  get_ingress_rule_config = parent_rpcs.get_ingress_rule if parent_rpcs.respond_to? :get_ingress_rule
  @get_ingress_rule = ::Gapic::Config::Method.new get_ingress_rule_config
  update_ingress_rule_config = parent_rpcs.update_ingress_rule if parent_rpcs.respond_to? :update_ingress_rule
  @update_ingress_rule = ::Gapic::Config::Method.new update_ingress_rule_config
  delete_ingress_rule_config = parent_rpcs.delete_ingress_rule if parent_rpcs.respond_to? :delete_ingress_rule
  @delete_ingress_rule = ::Gapic::Config::Method.new delete_ingress_rule_config

  yield self if block_given?
end