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)


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

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)


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

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


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

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


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

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


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

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


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

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


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

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for detach_disk

Returns:

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


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

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


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

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


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

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)


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

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)


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

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


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

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)


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

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)


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

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


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

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


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

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


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

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


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

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for reset

Returns:

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


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

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


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

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


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

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)


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

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)


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

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)


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

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


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

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


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

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)


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

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


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

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


4060
4061
4062
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4060

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)


4065
4066
4067
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4065

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


4070
4071
4072
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4070

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_service_account

Returns:

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


4075
4076
4077
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4075

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)


4080
4081
4082
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4080

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)


4085
4086
4087
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4085

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


4090
4091
4092
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4090

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


4095
4096
4097
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4095

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


4100
4101
4102
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4100

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


4105
4106
4107
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4105

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


4110
4111
4112
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4110

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


4115
4116
4117
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4115

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


4120
4121
4122
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4120

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


4125
4126
4127
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4125

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)


4130
4131
4132
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4130

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)


4135
4136
4137
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4135

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)


4140
4141
4142
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4140

def update_shielded_instance_config
  @update_shielded_instance_config
end