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)


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

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for bulk_insert

Returns:

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


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

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for create_snapshot

Returns:

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


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

def create_snapshot
  @create_snapshot
end

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

RPC-specific configuration for delete

Returns:

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


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

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


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

def get
  @get
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


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

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for insert

Returns:

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


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

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


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

def list
  @list
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


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

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for resize

Returns:

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


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

def resize
  @resize
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


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

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


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

def set_labels
  @set_labels
end

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

RPC-specific configuration for start_async_replication

Returns:

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


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

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)


2016
2017
2018
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 2016

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)


2021
2022
2023
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 2021

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)


2026
2027
2028
# File 'lib/google/cloud/compute/v1/region_disks/rest/client.rb', line 2026

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


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

def update
  @update
end