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

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

Overview

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

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

RPC-specific configuration for disable_xpn_host

Returns:

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


1200
1201
1202
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1200

def disable_xpn_host
  @disable_xpn_host
end

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

RPC-specific configuration for disable_xpn_resource

Returns:

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


1205
1206
1207
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1205

def disable_xpn_resource
  @disable_xpn_resource
end

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

RPC-specific configuration for enable_xpn_host

Returns:

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


1210
1211
1212
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1210

def enable_xpn_host
  @enable_xpn_host
end

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

RPC-specific configuration for enable_xpn_resource

Returns:

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


1215
1216
1217
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1215

def enable_xpn_resource
  @enable_xpn_resource
end

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

RPC-specific configuration for get

Returns:

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


1220
1221
1222
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1220

def get
  @get
end

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

RPC-specific configuration for get_xpn_host

Returns:

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


1225
1226
1227
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1225

def get_xpn_host
  @get_xpn_host
end

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

RPC-specific configuration for get_xpn_resources

Returns:

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


1230
1231
1232
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1230

def get_xpn_resources
  @get_xpn_resources
end

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

RPC-specific configuration for list_xpn_hosts

Returns:

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


1235
1236
1237
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1235

def list_xpn_hosts
  @list_xpn_hosts
end

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

RPC-specific configuration for move_disk

Returns:

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


1240
1241
1242
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1240

def move_disk
  @move_disk
end

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

RPC-specific configuration for move_instance

Returns:

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


1245
1246
1247
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1245

def move_instance
  @move_instance
end

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

RPC-specific configuration for set_common_instance_metadata

Returns:

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


1250
1251
1252
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1250

def 
  @set_common_instance_metadata
end

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

RPC-specific configuration for set_default_network_tier

Returns:

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


1255
1256
1257
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1255

def set_default_network_tier
  @set_default_network_tier
end

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

RPC-specific configuration for set_usage_export_bucket

Returns:

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


1260
1261
1262
# File 'lib/google/cloud/compute/v1/projects/rest/client.rb', line 1260

def set_usage_export_bucket
  @set_usage_export_bucket
end