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)


4655
4656
4657
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4655

def add_access_config
  @add_access_config
end

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

RPC-specific configuration for add_resource_policies

Returns:

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


4660
4661
4662
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4660

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


4665
4666
4667
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4665

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


4670
4671
4672
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4670

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


4675
4676
4677
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4675

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


4680
4681
4682
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4680

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


4685
4686
4687
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4685

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for detach_disk

Returns:

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


4690
4691
4692
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4690

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


4695
4696
4697
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4695

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


4700
4701
4702
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4700

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)


4705
4706
4707
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4705

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)


4710
4711
4712
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4710

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


4715
4716
4717
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4715

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)


4720
4721
4722
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4720

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)


4725
4726
4727
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4725

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


4730
4731
4732
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4730

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


4735
4736
4737
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4735

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


4740
4741
4742
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4740

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


4745
4746
4747
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4745

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for reset

Returns:

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


4750
4751
4752
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4750

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


4755
4756
4757
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4755

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


4760
4761
4762
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4760

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)


4765
4766
4767
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4765

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)


4770
4771
4772
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4770

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)


4775
4776
4777
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4775

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


4780
4781
4782
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4780

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


4785
4786
4787
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4785

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)


4790
4791
4792
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4790

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


4795
4796
4797
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4795

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


4800
4801
4802
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4800

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)


4805
4806
4807
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4805

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


4810
4811
4812
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4810

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_service_account

Returns:

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


4815
4816
4817
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4815

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)


4820
4821
4822
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4820

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)


4825
4826
4827
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4825

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


4830
4831
4832
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4830

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


4835
4836
4837
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4835

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


4840
4841
4842
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4840

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


4845
4846
4847
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4845

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


4850
4851
4852
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4850

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


4855
4856
4857
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4855

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


4860
4861
4862
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4860

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


4865
4866
4867
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4865

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)


4870
4871
4872
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4870

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)


4875
4876
4877
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4875

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)


4880
4881
4882
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4880

def update_shielded_instance_config
  @update_shielded_instance_config
end