Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Instances::Rest::Client::Configuration::Rpcs (v2.11.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Instances::Rest::Client::Configuration::Rpcs.

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.

Inherits

  • Object

Methods

#add_access_config

def add_access_config() -> ::Gapic::Config::Method

RPC-specific configuration for add_access_config

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

#add_resource_policies

def add_resource_policies() -> ::Gapic::Config::Method

RPC-specific configuration for add_resource_policies

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

#aggregated_list

def aggregated_list() -> ::Gapic::Config::Method

RPC-specific configuration for aggregated_list

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

#attach_disk

def attach_disk() -> ::Gapic::Config::Method

RPC-specific configuration for attach_disk

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

#bulk_insert

def bulk_insert() -> ::Gapic::Config::Method

RPC-specific configuration for bulk_insert

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

#delete

def delete() -> ::Gapic::Config::Method

RPC-specific configuration for delete

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

#delete_access_config

def delete_access_config() -> ::Gapic::Config::Method

RPC-specific configuration for delete_access_config

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

#detach_disk

def detach_disk() -> ::Gapic::Config::Method

RPC-specific configuration for detach_disk

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

#get

def get() -> ::Gapic::Config::Method

RPC-specific configuration for get

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

#get_effective_firewalls

def get_effective_firewalls() -> ::Gapic::Config::Method

RPC-specific configuration for get_effective_firewalls

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

#get_guest_attributes

def get_guest_attributes() -> ::Gapic::Config::Method

RPC-specific configuration for get_guest_attributes

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

#get_iam_policy

def get_iam_policy() -> ::Gapic::Config::Method

RPC-specific configuration for get_iam_policy

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

#get_screenshot

def get_screenshot() -> ::Gapic::Config::Method

RPC-specific configuration for get_screenshot

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

#get_serial_port_output

def get_serial_port_output() -> ::Gapic::Config::Method

RPC-specific configuration for get_serial_port_output

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

#get_shielded_instance_identity

def get_shielded_instance_identity() -> ::Gapic::Config::Method

RPC-specific configuration for get_shielded_instance_identity

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

#insert

def insert() -> ::Gapic::Config::Method

RPC-specific configuration for insert

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

#list

def list() -> ::Gapic::Config::Method

RPC-specific configuration for list

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

#list_referrers

def list_referrers() -> ::Gapic::Config::Method

RPC-specific configuration for list_referrers

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

#perform_maintenance

def perform_maintenance() -> ::Gapic::Config::Method

RPC-specific configuration for perform_maintenance

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

#remove_resource_policies

def remove_resource_policies() -> ::Gapic::Config::Method

RPC-specific configuration for remove_resource_policies

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

#reset

def reset() -> ::Gapic::Config::Method

RPC-specific configuration for reset

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

#resume

def resume() -> ::Gapic::Config::Method

RPC-specific configuration for resume

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

#send_diagnostic_interrupt

def send_diagnostic_interrupt() -> ::Gapic::Config::Method

RPC-specific configuration for send_diagnostic_interrupt

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

#set_deletion_protection

def set_deletion_protection() -> ::Gapic::Config::Method

RPC-specific configuration for set_deletion_protection

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

#set_disk_auto_delete

def set_disk_auto_delete() -> ::Gapic::Config::Method

RPC-specific configuration for set_disk_auto_delete

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

#set_iam_policy

def set_iam_policy() -> ::Gapic::Config::Method

RPC-specific configuration for set_iam_policy

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

#set_labels

def set_labels() -> ::Gapic::Config::Method

RPC-specific configuration for set_labels

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

#set_machine_resources

def set_machine_resources() -> ::Gapic::Config::Method

RPC-specific configuration for set_machine_resources

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

#set_machine_type

def set_machine_type() -> ::Gapic::Config::Method

RPC-specific configuration for set_machine_type

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

#set_metadata

def set_metadata() -> ::Gapic::Config::Method

RPC-specific configuration for set_metadata

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

#set_min_cpu_platform

def set_min_cpu_platform() -> ::Gapic::Config::Method

RPC-specific configuration for set_min_cpu_platform

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

#set_name

def set_name() -> ::Gapic::Config::Method

RPC-specific configuration for set_name

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

#set_scheduling

def set_scheduling() -> ::Gapic::Config::Method

RPC-specific configuration for set_scheduling

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

#set_security_policy

def set_security_policy() -> ::Gapic::Config::Method

RPC-specific configuration for set_security_policy

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

#set_service_account

def set_service_account() -> ::Gapic::Config::Method

RPC-specific configuration for set_service_account

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

#set_shielded_instance_integrity_policy

def set_shielded_instance_integrity_policy() -> ::Gapic::Config::Method

RPC-specific configuration for set_shielded_instance_integrity_policy

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

#set_tags

def set_tags() -> ::Gapic::Config::Method

RPC-specific configuration for set_tags

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

#simulate_maintenance_event

def simulate_maintenance_event() -> ::Gapic::Config::Method

RPC-specific configuration for simulate_maintenance_event

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

#start

def start() -> ::Gapic::Config::Method

RPC-specific configuration for start

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

#start_with_encryption_key

def start_with_encryption_key() -> ::Gapic::Config::Method

RPC-specific configuration for start_with_encryption_key

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

#stop

def stop() -> ::Gapic::Config::Method

RPC-specific configuration for stop

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

#suspend

def suspend() -> ::Gapic::Config::Method

RPC-specific configuration for suspend

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

#test_iam_permissions

def test_iam_permissions() -> ::Gapic::Config::Method

RPC-specific configuration for test_iam_permissions

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

#update

def update() -> ::Gapic::Config::Method

RPC-specific configuration for update

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

#update_access_config

def update_access_config() -> ::Gapic::Config::Method

RPC-specific configuration for update_access_config

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

#update_display_device

def update_display_device() -> ::Gapic::Config::Method

RPC-specific configuration for update_display_device

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

#update_network_interface

def update_network_interface() -> ::Gapic::Config::Method

RPC-specific configuration for update_network_interface

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

#update_shielded_instance_config

def update_shielded_instance_config() -> ::Gapic::Config::Method

RPC-specific configuration for update_shielded_instance_config

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