class Google::Cloud::Compute::V1::RegionDiskTypes::Rest::Client::Configuration::Rpcs

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

there is one other field (`retry_policy`) that can be set but is currently not supported for REST Gapic libraries.

Attributes

get[R]

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

list[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/compute/v1/region_disk_types/rest/client.rb, line 388
def initialize parent_rpcs = nil
  get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
  @get = ::Gapic::Config::Method.new get_config
  list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
  @list = ::Gapic::Config::Method.new list_config

  yield self if block_given?
end