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)


6081
6082
6083
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6081

def add_access_config
  @add_access_config
end

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

RPC-specific configuration for add_network_interface

Returns:

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


6086
6087
6088
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6086

def add_network_interface
  @add_network_interface
end

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

RPC-specific configuration for add_resource_policies

Returns:

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


6091
6092
6093
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6091

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


6096
6097
6098
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6096

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


6101
6102
6103
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6101

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


6106
6107
6108
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6106

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


6111
6112
6113
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6111

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


6116
6117
6118
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6116

def delete_access_config
  @delete_access_config
end

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

RPC-specific configuration for delete_network_interface

Returns:

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


6121
6122
6123
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6121

def delete_network_interface
  @delete_network_interface
end

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

RPC-specific configuration for detach_disk

Returns:

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


6126
6127
6128
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6126

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


6131
6132
6133
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6131

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


6136
6137
6138
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6136

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)


6141
6142
6143
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6141

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)


6146
6147
6148
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6146

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


6151
6152
6153
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6151

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)


6156
6157
6158
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6156

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)


6161
6162
6163
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6161

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


6166
6167
6168
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6166

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


6171
6172
6173
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6171

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


6176
6177
6178
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6176

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for perform_maintenance

Returns:

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


6181
6182
6183
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6181

def perform_maintenance
  @perform_maintenance
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


6186
6187
6188
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6186

def remove_resource_policies
  @remove_resource_policies
end

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

RPC-specific configuration for report_host_as_faulty

Returns:

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


6191
6192
6193
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6191

def report_host_as_faulty
  @report_host_as_faulty
end

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

RPC-specific configuration for reset

Returns:

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


6196
6197
6198
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6196

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


6201
6202
6203
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6201

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


6206
6207
6208
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6206

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)


6211
6212
6213
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6211

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)


6216
6217
6218
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6216

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)


6221
6222
6223
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6221

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


6226
6227
6228
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6226

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


6231
6232
6233
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6231

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)


6236
6237
6238
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6236

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


6241
6242
6243
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6241

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


6246
6247
6248
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6246

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)


6251
6252
6253
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6251

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


6256
6257
6258
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6256

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_security_policy

Returns:

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


6261
6262
6263
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6261

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)


6266
6267
6268
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6266

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)


6271
6272
6273
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6271

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)


6276
6277
6278
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6276

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


6281
6282
6283
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6281

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


6286
6287
6288
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6286

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


6291
6292
6293
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6291

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


6296
6297
6298
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6296

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


6301
6302
6303
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6301

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


6306
6307
6308
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6306

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


6311
6312
6313
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6311

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


6316
6317
6318
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6316

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)


6321
6322
6323
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6321

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)


6326
6327
6328
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6326

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)


6331
6332
6333
# File 'lib/google/cloud/compute/v1/instances/rest/client.rb', line 6331

def update_shielded_instance_config
  @update_shielded_instance_config
end