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
- (::Gapic::Config::Method)
#add_resource_policies
def add_resource_policies() -> ::Gapic::Config::Method
RPC-specific configuration for add_resource_policies
- (::Gapic::Config::Method)
#aggregated_list
def aggregated_list() -> ::Gapic::Config::Method
RPC-specific configuration for aggregated_list
- (::Gapic::Config::Method)
#attach_disk
def attach_disk() -> ::Gapic::Config::Method
RPC-specific configuration for attach_disk
- (::Gapic::Config::Method)
#bulk_insert
def bulk_insert() -> ::Gapic::Config::Method
RPC-specific configuration for bulk_insert
- (::Gapic::Config::Method)
#delete
def delete() -> ::Gapic::Config::Method
RPC-specific configuration for delete
- (::Gapic::Config::Method)
#delete_access_config
def delete_access_config() -> ::Gapic::Config::Method
RPC-specific configuration for delete_access_config
- (::Gapic::Config::Method)
#detach_disk
def detach_disk() -> ::Gapic::Config::Method
RPC-specific configuration for detach_disk
- (::Gapic::Config::Method)
#get
def get() -> ::Gapic::Config::Method
RPC-specific configuration for get
- (::Gapic::Config::Method)
#get_effective_firewalls
def get_effective_firewalls() -> ::Gapic::Config::Method
RPC-specific configuration for get_effective_firewalls
- (::Gapic::Config::Method)
#get_guest_attributes
def get_guest_attributes() -> ::Gapic::Config::Method
RPC-specific configuration for get_guest_attributes
- (::Gapic::Config::Method)
#get_iam_policy
def get_iam_policy() -> ::Gapic::Config::Method
RPC-specific configuration for get_iam_policy
- (::Gapic::Config::Method)
#get_screenshot
def get_screenshot() -> ::Gapic::Config::Method
RPC-specific configuration for get_screenshot
- (::Gapic::Config::Method)
#get_serial_port_output
def get_serial_port_output() -> ::Gapic::Config::Method
RPC-specific configuration for get_serial_port_output
- (::Gapic::Config::Method)
#get_shielded_instance_identity
def get_shielded_instance_identity() -> ::Gapic::Config::Method
RPC-specific configuration for get_shielded_instance_identity
- (::Gapic::Config::Method)
#insert
def insert() -> ::Gapic::Config::Method
RPC-specific configuration for insert
- (::Gapic::Config::Method)
#list
def list() -> ::Gapic::Config::Method
RPC-specific configuration for list
- (::Gapic::Config::Method)
#list_referrers
def list_referrers() -> ::Gapic::Config::Method
RPC-specific configuration for list_referrers
- (::Gapic::Config::Method)
#perform_maintenance
def perform_maintenance() -> ::Gapic::Config::Method
RPC-specific configuration for perform_maintenance
- (::Gapic::Config::Method)
#remove_resource_policies
def remove_resource_policies() -> ::Gapic::Config::Method
RPC-specific configuration for remove_resource_policies
- (::Gapic::Config::Method)
#reset
def reset() -> ::Gapic::Config::Method
RPC-specific configuration for reset
- (::Gapic::Config::Method)
#resume
def resume() -> ::Gapic::Config::Method
RPC-specific configuration for resume
- (::Gapic::Config::Method)
#send_diagnostic_interrupt
def send_diagnostic_interrupt() -> ::Gapic::Config::Method
RPC-specific configuration for send_diagnostic_interrupt
- (::Gapic::Config::Method)
#set_deletion_protection
def set_deletion_protection() -> ::Gapic::Config::Method
RPC-specific configuration for set_deletion_protection
- (::Gapic::Config::Method)
#set_disk_auto_delete
def set_disk_auto_delete() -> ::Gapic::Config::Method
RPC-specific configuration for set_disk_auto_delete
- (::Gapic::Config::Method)
#set_iam_policy
def set_iam_policy() -> ::Gapic::Config::Method
RPC-specific configuration for set_iam_policy
- (::Gapic::Config::Method)
#set_labels
def set_labels() -> ::Gapic::Config::Method
RPC-specific configuration for set_labels
- (::Gapic::Config::Method)
#set_machine_resources
def set_machine_resources() -> ::Gapic::Config::Method
RPC-specific configuration for set_machine_resources
- (::Gapic::Config::Method)
#set_machine_type
def set_machine_type() -> ::Gapic::Config::Method
RPC-specific configuration for set_machine_type
- (::Gapic::Config::Method)
#set_metadata
def set_metadata() -> ::Gapic::Config::Method
RPC-specific configuration for set_metadata
- (::Gapic::Config::Method)
#set_min_cpu_platform
def set_min_cpu_platform() -> ::Gapic::Config::Method
RPC-specific configuration for set_min_cpu_platform
- (::Gapic::Config::Method)
#set_name
def set_name() -> ::Gapic::Config::Method
RPC-specific configuration for set_name
- (::Gapic::Config::Method)
#set_scheduling
def set_scheduling() -> ::Gapic::Config::Method
RPC-specific configuration for set_scheduling
- (::Gapic::Config::Method)
#set_security_policy
def set_security_policy() -> ::Gapic::Config::Method
RPC-specific configuration for set_security_policy
- (::Gapic::Config::Method)
#set_service_account
def set_service_account() -> ::Gapic::Config::Method
RPC-specific configuration for set_service_account
- (::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
- (::Gapic::Config::Method)
#set_tags
def set_tags() -> ::Gapic::Config::Method
RPC-specific configuration for set_tags
- (::Gapic::Config::Method)
#simulate_maintenance_event
def simulate_maintenance_event() -> ::Gapic::Config::Method
RPC-specific configuration for simulate_maintenance_event
- (::Gapic::Config::Method)
#start
def start() -> ::Gapic::Config::Method
RPC-specific configuration for start
- (::Gapic::Config::Method)
#start_with_encryption_key
def start_with_encryption_key() -> ::Gapic::Config::Method
RPC-specific configuration for start_with_encryption_key
- (::Gapic::Config::Method)
#stop
def stop() -> ::Gapic::Config::Method
RPC-specific configuration for stop
- (::Gapic::Config::Method)
#suspend
def suspend() -> ::Gapic::Config::Method
RPC-specific configuration for suspend
- (::Gapic::Config::Method)
#test_iam_permissions
def test_iam_permissions() -> ::Gapic::Config::Method
RPC-specific configuration for test_iam_permissions
- (::Gapic::Config::Method)
#update
def update() -> ::Gapic::Config::Method
RPC-specific configuration for update
- (::Gapic::Config::Method)
#update_access_config
def update_access_config() -> ::Gapic::Config::Method
RPC-specific configuration for update_access_config
- (::Gapic::Config::Method)
#update_display_device
def update_display_device() -> ::Gapic::Config::Method
RPC-specific configuration for update_display_device
- (::Gapic::Config::Method)
#update_network_interface
def update_network_interface() -> ::Gapic::Config::Method
RPC-specific configuration for update_network_interface
- (::Gapic::Config::Method)
#update_shielded_instance_config
def update_shielded_instance_config() -> ::Gapic::Config::Method
RPC-specific configuration for update_shielded_instance_config
- (::Gapic::Config::Method)