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

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

Overview

Configuration RPC class for the Disks 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_resource_policies::Gapic::Config::Method (readonly)

RPC-specific configuration for add_resource_policies

Returns:

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


2030
2031
2032
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2030

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


2035
2036
2037
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2035

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for bulk_insert

Returns:

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


2040
2041
2042
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2040

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for create_snapshot

Returns:

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


2045
2046
2047
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2045

def create_snapshot
  @create_snapshot
end

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

RPC-specific configuration for delete

Returns:

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


2050
2051
2052
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2050

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


2055
2056
2057
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2055

def get
  @get
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


2060
2061
2062
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2060

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for insert

Returns:

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


2065
2066
2067
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2065

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


2070
2071
2072
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2070

def list
  @list
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


2075
2076
2077
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2075

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for resize

Returns:

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


2080
2081
2082
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2080

def resize
  @resize
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


2085
2086
2087
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2085

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


2090
2091
2092
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2090

def set_labels
  @set_labels
end

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

RPC-specific configuration for start_async_replication

Returns:

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


2095
2096
2097
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2095

def start_async_replication
  @start_async_replication
end

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

RPC-specific configuration for stop_async_replication

Returns:

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


2100
2101
2102
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2100

def stop_async_replication
  @stop_async_replication
end

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

RPC-specific configuration for stop_group_async_replication

Returns:

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


2105
2106
2107
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2105

def stop_group_async_replication
  @stop_group_async_replication
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


2110
2111
2112
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2110

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


2115
2116
2117
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2115

def update
  @update
end