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

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

Overview

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

there is one other field (retry_policy) that can be set but is currently not supported for REST Gapic libraries.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for delete

Returns:

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


818
819
820
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 818

def delete
  @delete
end

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

RPC-specific configuration for get

Returns:

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


823
824
825
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 823

def get
  @get
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


828
829
830
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 828

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for insert

Returns:

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


833
834
835
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 833

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


838
839
840
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 838

def list
  @list
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


843
844
845
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 843

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


848
849
850
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 848

def set_labels
  @set_labels
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


853
854
855
# File 'lib/google/cloud/compute/v1/snapshots/rest/client.rb', line 853

def test_iam_permissions
  @test_iam_permissions
end