Class: Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Networks::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/compute/v1/networks/rest/client.rb
Overview
Configuration RPC class for the Networks 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 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.
-
Instance Attribute Summary collapse
-
#add_peering ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
add_peering
. -
#delete ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete
. -
#get ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get
. -
#get_effective_firewalls ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_effective_firewalls
. -
#insert ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
insert
. -
#list ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list
. -
#list_peering_routes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_peering_routes
. -
#patch ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
patch
. -
#remove_peering ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
remove_peering
. -
#switch_to_custom_mode ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
switch_to_custom_mode
. -
#update_peering ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_peering
.
Instance Attribute Details
#add_peering ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for add_peering
1363 1364 1365 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1363 def add_peering @add_peering end |
#delete ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete
1368 1369 1370 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1368 def delete @delete end |
#get ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get
1373 1374 1375 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1373 def get @get end |
#get_effective_firewalls ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_effective_firewalls
1378 1379 1380 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1378 def get_effective_firewalls @get_effective_firewalls end |
#insert ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for insert
1383 1384 1385 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1383 def insert @insert end |
#list ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list
1388 1389 1390 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1388 def list @list end |
#list_peering_routes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_peering_routes
1393 1394 1395 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1393 def list_peering_routes @list_peering_routes end |
#patch ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for patch
1398 1399 1400 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1398 def patch @patch end |
#remove_peering ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for remove_peering
1403 1404 1405 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1403 def remove_peering @remove_peering end |
#switch_to_custom_mode ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for switch_to_custom_mode
1408 1409 1410 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1408 def switch_to_custom_mode @switch_to_custom_mode end |
#update_peering ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_peering
1413 1414 1415 |
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1413 def update_peering @update_peering end |