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)


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

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)


4883
4884
4885
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4883

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


4888
4889
4890
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4888

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


4893
4894
4895
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4893

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


4898
4899
4900
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4898

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


4903
4904
4905
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4903

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


4908
4909
4910
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4908

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for detach_disk

Returns:

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


4913
4914
4915
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4913

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


4918
4919
4920
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4918

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


4923
4924
4925
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4923

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)


4928
4929
4930
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4928

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)


4933
4934
4935
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4933

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


4938
4939
4940
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4938

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)


4943
4944
4945
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4943

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)


4948
4949
4950
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4948

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


4953
4954
4955
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4953

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


4958
4959
4960
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4958

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


4963
4964
4965
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4963

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for perform_maintenance

Returns:

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


4968
4969
4970
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4968

def perform_maintenance
  @perform_maintenance
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


4973
4974
4975
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4973

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for reset

Returns:

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


4978
4979
4980
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4978

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


4983
4984
4985
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4983

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


4988
4989
4990
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4988

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)


4993
4994
4995
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4993

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)


4998
4999
5000
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4998

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)


5003
5004
5005
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5003

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


5008
5009
5010
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5008

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


5013
5014
5015
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5013

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)


5018
5019
5020
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5018

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


5023
5024
5025
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5023

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


5028
5029
5030
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5028

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)


5033
5034
5035
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5033

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


5038
5039
5040
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5038

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_security_policy

Returns:

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


5043
5044
5045
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5043

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)


5048
5049
5050
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5048

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)


5053
5054
5055
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5053

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)


5058
5059
5060
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5058

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


5063
5064
5065
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5063

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


5068
5069
5070
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5068

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


5073
5074
5075
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5073

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


5078
5079
5080
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5078

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


5083
5084
5085
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5083

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


5088
5089
5090
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5088

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


5093
5094
5095
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5093

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


5098
5099
5100
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5098

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)


5103
5104
5105
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5103

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)


5108
5109
5110
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5108

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)


5113
5114
5115
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5113

def update_shielded_instance_config
  @update_shielded_instance_config
end