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

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

Overview

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

RPC-specific configuration for add_access_config

Returns:

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


5246
5247
5248
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5246

def add_access_config
  @add_access_config
end

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

RPC-specific configuration for add_network_interface

Returns:

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


5251
5252
5253
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5251

def add_network_interface
  @add_network_interface
end

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

RPC-specific configuration for add_resource_policies

Returns:

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


5256
5257
5258
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5256

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


5261
5262
5263
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5261

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


5266
5267
5268
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5266

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


5271
5272
5273
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5271

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


5276
5277
5278
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5276

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


5281
5282
5283
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5281

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for delete_network_interface

Returns:

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


5286
5287
5288
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5286

def delete_network_interface
  @delete_network_interface
end

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

RPC-specific configuration for detach_disk

Returns:

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


5291
5292
5293
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5291

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


5296
5297
5298
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5296

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


5301
5302
5303
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5301

def get_effective_firewalls
  @get_effective_firewalls
end

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

RPC-specific configuration for get_guest_attributes

Returns:

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


5306
5307
5308
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5306

def get_guest_attributes
  @get_guest_attributes
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


5311
5312
5313
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5311

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


5316
5317
5318
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5316

def get_screenshot
  @get_screenshot
end

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

RPC-specific configuration for get_serial_port_output

Returns:

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


5321
5322
5323
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5321

def get_serial_port_output
  @get_serial_port_output
end

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

RPC-specific configuration for get_shielded_instance_identity

Returns:

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


5326
5327
5328
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5326

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


5331
5332
5333
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5331

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


5336
5337
5338
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5336

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


5341
5342
5343
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5341

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for perform_maintenance

Returns:

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


5346
5347
5348
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5346

def perform_maintenance
  @perform_maintenance
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


5351
5352
5353
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5351

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for report_host_as_faulty

Returns:

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


5356
5357
5358
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5356

def report_host_as_faulty
  @report_host_as_faulty
end

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

RPC-specific configuration for reset

Returns:

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


5361
5362
5363
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5361

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


5366
5367
5368
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5366

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


5371
5372
5373
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5371

def send_diagnostic_interrupt
  @send_diagnostic_interrupt
end

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

RPC-specific configuration for set_deletion_protection

Returns:

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


5376
5377
5378
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5376

def set_deletion_protection
  @set_deletion_protection
end

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

RPC-specific configuration for set_disk_auto_delete

Returns:

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


5381
5382
5383
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5381

def set_disk_auto_delete
  @set_disk_auto_delete
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


5386
5387
5388
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5386

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


5391
5392
5393
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5391

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


5396
5397
5398
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5396

def set_machine_resources
  @set_machine_resources
end

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

RPC-specific configuration for set_machine_type

Returns:

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


5401
5402
5403
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5401

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


5406
5407
5408
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5406

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


5411
5412
5413
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5411

def set_min_cpu_platform
  @set_min_cpu_platform
end

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

RPC-specific configuration for set_name

Returns:

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


5416
5417
5418
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5416

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


5421
5422
5423
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5421

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_security_policy

Returns:

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


5426
5427
5428
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5426

def set_security_policy
  @set_security_policy
end

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

RPC-specific configuration for set_service_account

Returns:

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


5431
5432
5433
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5431

def 
  @set_service_account
end

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

RPC-specific configuration for set_shielded_instance_integrity_policy

Returns:

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


5436
5437
5438
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5436

def set_shielded_instance_integrity_policy
  @set_shielded_instance_integrity_policy
end

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

RPC-specific configuration for set_tags

Returns:

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


5441
5442
5443
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5441

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


5446
5447
5448
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5446

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


5451
5452
5453
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5451

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


5456
5457
5458
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5456

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


5461
5462
5463
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5461

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


5466
5467
5468
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5466

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


5471
5472
5473
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5471

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


5476
5477
5478
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5476

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


5481
5482
5483
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5481

def update_access_config
  @update_access_config
end

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

RPC-specific configuration for update_display_device

Returns:

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


5486
5487
5488
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5486

def update_display_device
  @update_display_device
end

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

RPC-specific configuration for update_network_interface

Returns:

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


5491
5492
5493
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5491

def update_network_interface
  @update_network_interface
end

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

RPC-specific configuration for update_shielded_instance_config

Returns:

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


5496
5497
5498
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5496

def update_shielded_instance_config
  @update_shielded_instance_config
end