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

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

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

RPC-specific configuration for add_peering

Returns:

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


1832
1833
1834
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1832

def add_peering
  @add_peering
end

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

RPC-specific configuration for cancel_request_remove_peering

Returns:

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


1837
1838
1839
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1837

def cancel_request_remove_peering
  @cancel_request_remove_peering
end

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

RPC-specific configuration for delete

Returns:

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


1842
1843
1844
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1842

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1847
1848
1849
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1847

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


1852
1853
1854
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1852

def get_effective_firewalls
  @get_effective_firewalls
end

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

RPC-specific configuration for insert

Returns:

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


1857
1858
1859
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1857

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1862
1863
1864
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1862

def list
  @list
end

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

RPC-specific configuration for list_peering_routes

Returns:

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


1867
1868
1869
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1867

def list_peering_routes
  @list_peering_routes
end

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

RPC-specific configuration for patch

Returns:

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


1872
1873
1874
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1872

def patch
  @patch
end

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

RPC-specific configuration for remove_peering

Returns:

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


1877
1878
1879
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1877

def remove_peering
  @remove_peering
end

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

RPC-specific configuration for request_remove_peering

Returns:

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


1882
1883
1884
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1882

def request_remove_peering
  @request_remove_peering
end

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

RPC-specific configuration for switch_to_custom_mode

Returns:

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


1887
1888
1889
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1887

def switch_to_custom_mode
  @switch_to_custom_mode
end

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

RPC-specific configuration for update_peering

Returns:

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


1892
1893
1894
# File 'lib/google/cloud/compute/v1/networks/rest/client.rb', line 1892

def update_peering
  @update_peering
end