Class: Google::Cloud::Compute::V1::Regions::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/compute/v1/regions/rest/client.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#get::Gapic::Config::Method (readonly)

RPC-specific configuration for get

Returns:

  • (::Gapic::Config::Method)


376
377
378
# File 'lib/google/cloud/compute/v1/regions/rest/client.rb', line 376

def get
  @get
end

#list::Gapic::Config::Method (readonly)

RPC-specific configuration for list

Returns:

  • (::Gapic::Config::Method)


381
382
383
# File 'lib/google/cloud/compute/v1/regions/rest/client.rb', line 381

def list
  @list
end