Class: Google::Cloud::Compute::V1::Instances::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Instances::Rest::Client::Configuration::Rpcs
- 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
-
#add_access_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
add_access_config
. -
#add_resource_policies ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
add_resource_policies
. -
#aggregated_list ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
aggregated_list
. -
#attach_disk ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
attach_disk
. -
#bulk_insert ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
bulk_insert
. -
#delete ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete
. -
#delete_access_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_access_config
. -
#detach_disk ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
detach_disk
. -
#get ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get
. -
#get_effective_firewalls ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_effective_firewalls
. -
#get_guest_attributes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_guest_attributes
. -
#get_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_iam_policy
. -
#get_screenshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_screenshot
. -
#get_serial_port_output ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_serial_port_output
. -
#get_shielded_instance_identity ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_shielded_instance_identity
. -
#insert ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
insert
. -
#list ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list
. -
#list_referrers ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_referrers
. -
#perform_maintenance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
perform_maintenance
. -
#remove_resource_policies ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
remove_resource_policies
. -
#reset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
reset
. -
#resume ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
resume
. -
#send_diagnostic_interrupt ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
send_diagnostic_interrupt
. -
#set_deletion_protection ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_deletion_protection
. -
#set_disk_auto_delete ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_disk_auto_delete
. -
#set_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_iam_policy
. -
#set_labels ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_labels
. -
#set_machine_resources ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_machine_resources
. -
#set_machine_type ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_machine_type
. -
#set_metadata ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_metadata
. -
#set_min_cpu_platform ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_min_cpu_platform
. -
#set_name ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_name
. -
#set_scheduling ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_scheduling
. -
#set_security_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_security_policy
. -
#set_service_account ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_service_account
. -
#set_shielded_instance_integrity_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_shielded_instance_integrity_policy
. -
#set_tags ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_tags
. -
#simulate_maintenance_event ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
simulate_maintenance_event
. -
#start ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
start
. -
#start_with_encryption_key ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
start_with_encryption_key
. -
#stop ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stop
. -
#suspend ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
suspend
. -
#test_iam_permissions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
test_iam_permissions
. -
#update ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update
. -
#update_access_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_access_config
. -
#update_display_device ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_display_device
. -
#update_network_interface ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_network_interface
. -
#update_shielded_instance_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_shielded_instance_config
.
Instance Attribute Details
#add_access_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for add_access_config
4929 4930 4931 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4929 def add_access_config @add_access_config end |
#add_resource_policies ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for add_resource_policies
4934 4935 4936 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4934 def add_resource_policies @add_resource_policies end |
#aggregated_list ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for aggregated_list
4939 4940 4941 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4939 def aggregated_list @aggregated_list end |
#attach_disk ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for attach_disk
4944 4945 4946 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4944 def attach_disk @attach_disk end |
#bulk_insert ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for bulk_insert
4949 4950 4951 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4949 def bulk_insert @bulk_insert end |
#delete ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete
4954 4955 4956 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4954 def delete @delete end |
#delete_access_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_access_config
4959 4960 4961 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4959 def delete_access_config @delete_access_config end |
#detach_disk ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for detach_disk
4964 4965 4966 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4964 def detach_disk @detach_disk end |
#get ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get
4969 4970 4971 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4969 def get @get end |
#get_effective_firewalls ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_effective_firewalls
4974 4975 4976 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4974 def get_effective_firewalls @get_effective_firewalls end |
#get_guest_attributes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_guest_attributes
4979 4980 4981 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4979 def get_guest_attributes @get_guest_attributes end |
#get_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_iam_policy
4984 4985 4986 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4984 def get_iam_policy @get_iam_policy end |
#get_screenshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_screenshot
4989 4990 4991 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4989 def get_screenshot @get_screenshot end |
#get_serial_port_output ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_serial_port_output
4994 4995 4996 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4994 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
4999 5000 5001 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 4999 def get_shielded_instance_identity @get_shielded_instance_identity end |
#insert ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for insert
5004 5005 5006 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5004 def insert @insert end |
#list ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list
5009 5010 5011 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5009 def list @list end |
#list_referrers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_referrers
5014 5015 5016 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5014 def list_referrers @list_referrers end |
#perform_maintenance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for perform_maintenance
5019 5020 5021 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5019 def perform_maintenance @perform_maintenance end |
#remove_resource_policies ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for remove_resource_policies
5024 5025 5026 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5024 def remove_resource_policies @remove_resource_policies end |
#reset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for reset
5029 5030 5031 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5029 def reset @reset end |
#resume ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for resume
5034 5035 5036 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5034 def resume @resume end |
#send_diagnostic_interrupt ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for send_diagnostic_interrupt
5039 5040 5041 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5039 def send_diagnostic_interrupt @send_diagnostic_interrupt end |
#set_deletion_protection ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_deletion_protection
5044 5045 5046 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5044 def set_deletion_protection @set_deletion_protection end |
#set_disk_auto_delete ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_disk_auto_delete
5049 5050 5051 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5049 def set_disk_auto_delete @set_disk_auto_delete end |
#set_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_iam_policy
5054 5055 5056 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5054 def set_iam_policy @set_iam_policy end |
#set_labels ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_labels
5059 5060 5061 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5059 def set_labels @set_labels end |
#set_machine_resources ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_machine_resources
5064 5065 5066 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5064 def set_machine_resources @set_machine_resources end |
#set_machine_type ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_machine_type
5069 5070 5071 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5069 def set_machine_type @set_machine_type end |
#set_metadata ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_metadata
5074 5075 5076 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5074 def @set_metadata end |
#set_min_cpu_platform ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_min_cpu_platform
5079 5080 5081 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5079 def set_min_cpu_platform @set_min_cpu_platform end |
#set_name ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_name
5084 5085 5086 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5084 def set_name @set_name end |
#set_scheduling ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_scheduling
5089 5090 5091 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5089 def set_scheduling @set_scheduling end |
#set_security_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_security_policy
5094 5095 5096 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5094 def set_security_policy @set_security_policy end |
#set_service_account ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_service_account
5099 5100 5101 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5099 def set_service_account @set_service_account end |
#set_shielded_instance_integrity_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_shielded_instance_integrity_policy
5104 5105 5106 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5104 def set_shielded_instance_integrity_policy @set_shielded_instance_integrity_policy end |
#set_tags ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_tags
5109 5110 5111 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5109 def @set_tags end |
#simulate_maintenance_event ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for simulate_maintenance_event
5114 5115 5116 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5114 def simulate_maintenance_event @simulate_maintenance_event end |
#start ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for start
5119 5120 5121 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5119 def start @start end |
#start_with_encryption_key ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for start_with_encryption_key
5124 5125 5126 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5124 def start_with_encryption_key @start_with_encryption_key end |
#stop ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stop
5129 5130 5131 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5129 def stop @stop end |
#suspend ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for suspend
5134 5135 5136 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5134 def suspend @suspend end |
#test_iam_permissions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for test_iam_permissions
5139 5140 5141 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5139 def @test_iam_permissions end |
#update ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update
5144 5145 5146 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5144 def update @update end |
#update_access_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_access_config
5149 5150 5151 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5149 def update_access_config @update_access_config end |
#update_display_device ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_display_device
5154 5155 5156 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5154 def update_display_device @update_display_device end |
#update_network_interface ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_network_interface
5159 5160 5161 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5159 def update_network_interface @update_network_interface end |
#update_shielded_instance_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_shielded_instance_config
5164 5165 5166 |
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 5164 def update_shielded_instance_config @update_shielded_instance_config end |