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

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

Overview

Configuration RPC class for the Routers 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.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for aggregated_list

Returns:

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


2476
2477
2478
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2476

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for delete

Returns:

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


2481
2482
2483
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2481

def delete
  @delete
end

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

RPC-specific configuration for delete_route_policy

Returns:

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


2486
2487
2488
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2486

def delete_route_policy
  @delete_route_policy
end

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

RPC-specific configuration for get

Returns:

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


2491
2492
2493
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2491

def get
  @get
end

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

RPC-specific configuration for get_nat_ip_info

Returns:

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


2496
2497
2498
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2496

def get_nat_ip_info
  @get_nat_ip_info
end

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

RPC-specific configuration for get_nat_mapping_info

Returns:

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


2501
2502
2503
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2501

def get_nat_mapping_info
  @get_nat_mapping_info
end

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

RPC-specific configuration for get_route_policy

Returns:

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


2506
2507
2508
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2506

def get_route_policy
  @get_route_policy
end

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

RPC-specific configuration for get_router_status

Returns:

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


2511
2512
2513
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2511

def get_router_status
  @get_router_status
end

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

RPC-specific configuration for insert

Returns:

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


2516
2517
2518
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2516

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


2521
2522
2523
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2521

def list
  @list
end

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

RPC-specific configuration for list_bgp_routes

Returns:

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


2526
2527
2528
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2526

def list_bgp_routes
  @list_bgp_routes
end

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

RPC-specific configuration for list_route_policies

Returns:

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


2531
2532
2533
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2531

def list_route_policies
  @list_route_policies
end

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

RPC-specific configuration for patch

Returns:

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


2536
2537
2538
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2536

def patch
  @patch
end

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

RPC-specific configuration for patch_route_policy

Returns:

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


2541
2542
2543
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2541

def patch_route_policy
  @patch_route_policy
end

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

RPC-specific configuration for preview

Returns:

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


2546
2547
2548
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2546

def preview
  @preview
end

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

RPC-specific configuration for update

Returns:

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


2551
2552
2553
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2551

def update
  @update
end

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

RPC-specific configuration for update_route_policy

Returns:

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


2556
2557
2558
# File 'lib/google/cloud/compute/v1/routers/rest/client.rb', line 2556

def update_route_policy
  @update_route_policy
end