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

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

Overview

Configuration RPC class for the RegionDisks 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)


1929
1930
1931
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1929

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for bulk_insert

Returns:

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


1934
1935
1936
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1934

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for create_snapshot

Returns:

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


1939
1940
1941
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1939

def create_snapshot
  @create_snapshot
end

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

RPC-specific configuration for delete

Returns:

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


1944
1945
1946
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1944

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


1949
1950
1951
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1949

def get
  @get
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


1954
1955
1956
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1954

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for insert

Returns:

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


1959
1960
1961
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1959

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


1964
1965
1966
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1964

def list
  @list
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


1969
1970
1971
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1969

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for resize

Returns:

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


1974
1975
1976
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1974

def resize
  @resize
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1979
1980
1981
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1979

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


1984
1985
1986
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1984

def set_labels
  @set_labels
end

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

RPC-specific configuration for start_async_replication

Returns:

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


1989
1990
1991
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1989

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)


1994
1995
1996
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1994

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)


1999
2000
2001
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 1999

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)


2004
2005
2006
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 2004

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


2009
2010
2011
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 2009

def update
  @update
end