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)


3834
3835
3836
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3834

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)


3839
3840
3841
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3839

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


3844
3845
3846
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3844

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


3849
3850
3851
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3849

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


3854
3855
3856
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3854

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


3859
3860
3861
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3859

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


3864
3865
3866
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3864

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for detach_disk

Returns:

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


3869
3870
3871
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3869

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


3874
3875
3876
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3874

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


3879
3880
3881
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3879

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)


3884
3885
3886
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3884

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)


3889
3890
3891
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3889

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


3894
3895
3896
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3894

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)


3899
3900
3901
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3899

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)


3904
3905
3906
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3904

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


3909
3910
3911
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3909

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


3914
3915
3916
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3914

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


3919
3920
3921
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3919

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


3924
3925
3926
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3924

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for reset

Returns:

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


3929
3930
3931
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3929

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


3934
3935
3936
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3934

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


3939
3940
3941
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3939

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)


3944
3945
3946
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3944

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)


3949
3950
3951
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3949

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)


3954
3955
3956
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3954

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


3959
3960
3961
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3959

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


3964
3965
3966
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3964

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)


3969
3970
3971
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3969

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


3974
3975
3976
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3974

def 
  
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


3979
3980
3981
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3979

def set_min_cpu_platform
  @set_min_cpu_platform
end

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

RPC-specific configuration for set_scheduling

Returns:

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


3984
3985
3986
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3984

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_service_account

Returns:

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


3989
3990
3991
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3989

def 
  
end

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

RPC-specific configuration for set_shielded_instance_integrity_policy

Returns:

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


3994
3995
3996
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3994

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)


3999
4000
4001
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 3999

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


4004
4005
4006
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4004

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


4009
4010
4011
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4009

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


4014
4015
4016
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4014

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


4019
4020
4021
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4019

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


4024
4025
4026
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4024

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


4029
4030
4031
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4029

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


4034
4035
4036
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4034

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


4039
4040
4041
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4039

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)


4044
4045
4046
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4044

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)


4049
4050
4051
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4049

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)


4054
4055
4056
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4054

def update_shielded_instance_config
  @update_shielded_instance_config
end