class Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client::Configuration::Rpcs

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

delete_resource[R]

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

get_resource[R]

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

patch_resource[R]

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

post_resource[R]

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

put_resource[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/gke_connect/gateway/v1beta1/gateway_service/client.rb, line 647
def initialize parent_rpcs = nil
  get_resource_config = parent_rpcs.get_resource if parent_rpcs.respond_to? :get_resource
  @get_resource = ::Gapic::Config::Method.new get_resource_config
  post_resource_config = parent_rpcs.post_resource if parent_rpcs.respond_to? :post_resource
  @post_resource = ::Gapic::Config::Method.new post_resource_config
  delete_resource_config = parent_rpcs.delete_resource if parent_rpcs.respond_to? :delete_resource
  @delete_resource = ::Gapic::Config::Method.new delete_resource_config
  put_resource_config = parent_rpcs.put_resource if parent_rpcs.respond_to? :put_resource
  @put_resource = ::Gapic::Config::Method.new put_resource_config
  patch_resource_config = parent_rpcs.patch_resource if parent_rpcs.respond_to? :patch_resource
  @patch_resource = ::Gapic::Config::Method.new patch_resource_config

  yield self if block_given?
end