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.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :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)


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

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)


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

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)


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

def add_resource_policies
  @add_resource_policies
end

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

RPC-specific configuration for aggregated_list

Returns:

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


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

def aggregated_list
  @aggregated_list
end

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

RPC-specific configuration for attach_disk

Returns:

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


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

def attach_disk
  @attach_disk
end

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

RPC-specific configuration for bulk_insert

Returns:

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


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

def bulk_insert
  @bulk_insert
end

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

RPC-specific configuration for delete

Returns:

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


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

def delete
  @delete
end

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

RPC-specific configuration for delete_access_config

Returns:

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


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

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)


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

def delete_network_interface
  @delete_network_interface
end

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

RPC-specific configuration for detach_disk

Returns:

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


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

def detach_disk
  @detach_disk
end

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

RPC-specific configuration for get

Returns:

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


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

def get
  @get
end

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

RPC-specific configuration for get_effective_firewalls

Returns:

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


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

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)


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

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)


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

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_screenshot

Returns:

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


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

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)


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

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)


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

def get_shielded_instance_identity
  @get_shielded_instance_identity
end

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

RPC-specific configuration for insert

Returns:

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


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

def insert
  @insert
end

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

RPC-specific configuration for list

Returns:

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


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

def list
  @list
end

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

RPC-specific configuration for list_referrers

Returns:

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


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

def list_referrers
  @list_referrers
end

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

RPC-specific configuration for perform_maintenance

Returns:

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


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

def perform_maintenance
  @perform_maintenance
end

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

RPC-specific configuration for remove_resource_policies

Returns:

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


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

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)


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

def report_host_as_faulty
  @report_host_as_faulty
end

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

RPC-specific configuration for reset

Returns:

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


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

def reset
  @reset
end

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

RPC-specific configuration for resume

Returns:

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


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

def resume
  @resume
end

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

RPC-specific configuration for send_diagnostic_interrupt

Returns:

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


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

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)


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

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)


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

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)


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

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for set_labels

Returns:

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


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

def set_labels
  @set_labels
end

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

RPC-specific configuration for set_machine_resources

Returns:

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


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

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)


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

def set_machine_type
  @set_machine_type
end

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

RPC-specific configuration for set_metadata

Returns:

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


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

def 
  @set_metadata
end

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

RPC-specific configuration for set_min_cpu_platform

Returns:

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


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

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)


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

def set_name
  @set_name
end

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

RPC-specific configuration for set_scheduling

Returns:

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


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

def set_scheduling
  @set_scheduling
end

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

RPC-specific configuration for set_security_policy

Returns:

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


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

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)


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

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)


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

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)


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

def set_tags
  @set_tags
end

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

RPC-specific configuration for simulate_maintenance_event

Returns:

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


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

def simulate_maintenance_event
  @simulate_maintenance_event
end

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

RPC-specific configuration for start

Returns:

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


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

def start
  @start
end

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

RPC-specific configuration for start_with_encryption_key

Returns:

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


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

def start_with_encryption_key
  @start_with_encryption_key
end

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

RPC-specific configuration for stop

Returns:

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


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

def stop
  @stop
end

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

RPC-specific configuration for suspend

Returns:

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


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

def suspend
  @suspend
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


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

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update

Returns:

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


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

def update
  @update
end

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

RPC-specific configuration for update_access_config

Returns:

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


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

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)


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

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)


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

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)


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

def update_shielded_instance_config
  @update_shielded_instance_config
end