Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Instances::Rest::ServiceStub.
REST service stub for the Instances service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_access_config
def add_access_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the add_access_config REST call
- request_pb (::Google::Cloud::Compute::V1::AddAccessConfigInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#add_resource_policies
def add_resource_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the add_resource_policies REST call
- request_pb (::Google::Cloud::Compute::V1::AddResourcePoliciesInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#aggregated_list
def aggregated_list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::InstanceAggregatedList
Baseline implementation for the aggregated_list REST call
- request_pb (::Google::Cloud::Compute::V1::AggregatedListInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::InstanceAggregatedList)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::InstanceAggregatedList) — A result object deserialized from the server's reply
- (::ArgumentError)
#attach_disk
def attach_disk(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the attach_disk REST call
- request_pb (::Google::Cloud::Compute::V1::AttachDiskInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#bulk_insert
def bulk_insert(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the bulk_insert REST call
- request_pb (::Google::Cloud::Compute::V1::BulkInsertInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete
def delete(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the delete REST call
- request_pb (::Google::Cloud::Compute::V1::DeleteInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_access_config
def delete_access_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the delete_access_config REST call
- request_pb (::Google::Cloud::Compute::V1::DeleteAccessConfigInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#detach_disk
def detach_disk(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the detach_disk REST call
- request_pb (::Google::Cloud::Compute::V1::DetachDiskInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get
def get(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Instance
Baseline implementation for the get REST call
- request_pb (::Google::Cloud::Compute::V1::GetInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Instance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_effective_firewalls
def get_effective_firewalls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse
Baseline implementation for the get_effective_firewalls REST call
- request_pb (::Google::Cloud::Compute::V1::GetEffectiveFirewallsInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_guest_attributes
def get_guest_attributes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::GuestAttributes
Baseline implementation for the get_guest_attributes REST call
- request_pb (::Google::Cloud::Compute::V1::GetGuestAttributesInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::GuestAttributes)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::GuestAttributes) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_iam_policy
def get_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Policy
Baseline implementation for the get_iam_policy REST call
- request_pb (::Google::Cloud::Compute::V1::GetIamPolicyInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_screenshot
def get_screenshot(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Screenshot
Baseline implementation for the get_screenshot REST call
- request_pb (::Google::Cloud::Compute::V1::GetScreenshotInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Screenshot)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Screenshot) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_serial_port_output
def get_serial_port_output(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SerialPortOutput
Baseline implementation for the get_serial_port_output REST call
- request_pb (::Google::Cloud::Compute::V1::GetSerialPortOutputInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SerialPortOutput)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SerialPortOutput) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_shielded_instance_identity
def get_shielded_instance_identity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::ShieldedInstanceIdentity
Baseline implementation for the get_shielded_instance_identity REST call
- request_pb (::Google::Cloud::Compute::V1::GetShieldedInstanceIdentityInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::ShieldedInstanceIdentity)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::ShieldedInstanceIdentity) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#insert
def insert(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the insert REST call
- request_pb (::Google::Cloud::Compute::V1::InsertInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list
def list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::InstanceList
Baseline implementation for the list REST call
- request_pb (::Google::Cloud::Compute::V1::ListInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::InstanceList)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::InstanceList) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_referrers
def list_referrers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::InstanceListReferrers
Baseline implementation for the list_referrers REST call
- request_pb (::Google::Cloud::Compute::V1::ListReferrersInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::InstanceListReferrers)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::InstanceListReferrers) — A result object deserialized from the server's reply
- (::ArgumentError)
#remove_resource_policies
def remove_resource_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the remove_resource_policies REST call
- request_pb (::Google::Cloud::Compute::V1::RemoveResourcePoliciesInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#reset
def reset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the reset REST call
- request_pb (::Google::Cloud::Compute::V1::ResetInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#resume
def resume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the resume REST call
- request_pb (::Google::Cloud::Compute::V1::ResumeInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#send_diagnostic_interrupt
def send_diagnostic_interrupt(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse
Baseline implementation for the send_diagnostic_interrupt REST call
- request_pb (::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_deletion_protection
def set_deletion_protection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_deletion_protection REST call
- request_pb (::Google::Cloud::Compute::V1::SetDeletionProtectionInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_disk_auto_delete
def set_disk_auto_delete(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_disk_auto_delete REST call
- request_pb (::Google::Cloud::Compute::V1::SetDiskAutoDeleteInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_iam_policy
def set_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Policy
Baseline implementation for the set_iam_policy REST call
- request_pb (::Google::Cloud::Compute::V1::SetIamPolicyInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_labels
def set_labels(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_labels REST call
- request_pb (::Google::Cloud::Compute::V1::SetLabelsInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_machine_resources
def set_machine_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_machine_resources REST call
- request_pb (::Google::Cloud::Compute::V1::SetMachineResourcesInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_machine_type
def set_machine_type(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_machine_type REST call
- request_pb (::Google::Cloud::Compute::V1::SetMachineTypeInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_metadata
def set_metadata(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_metadata REST call
- request_pb (::Google::Cloud::Compute::V1::SetMetadataInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_min_cpu_platform
def set_min_cpu_platform(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_min_cpu_platform REST call
- request_pb (::Google::Cloud::Compute::V1::SetMinCpuPlatformInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_name
def set_name(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_name REST call
- request_pb (::Google::Cloud::Compute::V1::SetNameInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_scheduling
def set_scheduling(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_scheduling REST call
- request_pb (::Google::Cloud::Compute::V1::SetSchedulingInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_security_policy
def set_security_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_security_policy REST call
- request_pb (::Google::Cloud::Compute::V1::SetSecurityPolicyInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_service_account
def set_service_account(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_service_account REST call
- request_pb (::Google::Cloud::Compute::V1::SetServiceAccountInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_shielded_instance_integrity_policy
def set_shielded_instance_integrity_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_shielded_instance_integrity_policy REST call
- request_pb (::Google::Cloud::Compute::V1::SetShieldedInstanceIntegrityPolicyInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_tags
def set_tags(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the set_tags REST call
- request_pb (::Google::Cloud::Compute::V1::SetTagsInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#simulate_maintenance_event
def simulate_maintenance_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the simulate_maintenance_event REST call
- request_pb (::Google::Cloud::Compute::V1::SimulateMaintenanceEventInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start
def start(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the start REST call
- request_pb (::Google::Cloud::Compute::V1::StartInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_with_encryption_key
def start_with_encryption_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the start_with_encryption_key REST call
- request_pb (::Google::Cloud::Compute::V1::StartWithEncryptionKeyInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop
def stop(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the stop REST call
- request_pb (::Google::Cloud::Compute::V1::StopInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#suspend
def suspend(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the suspend REST call
- request_pb (::Google::Cloud::Compute::V1::SuspendInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#test_iam_permissions
def test_iam_permissions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::TestPermissionsResponse
Baseline implementation for the test_iam_permissions REST call
- request_pb (::Google::Cloud::Compute::V1::TestIamPermissionsInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::TestPermissionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::TestPermissionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update
def update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the update REST call
- request_pb (::Google::Cloud::Compute::V1::UpdateInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_access_config
def update_access_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the update_access_config REST call
- request_pb (::Google::Cloud::Compute::V1::UpdateAccessConfigInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_display_device
def update_display_device(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the update_display_device REST call
- request_pb (::Google::Cloud::Compute::V1::UpdateDisplayDeviceInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_network_interface
def update_network_interface(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the update_network_interface REST call
- request_pb (::Google::Cloud::Compute::V1::UpdateNetworkInterfaceInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_shielded_instance_config
def update_shielded_instance_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Compute::V1::Operation
Baseline implementation for the update_shielded_instance_config REST call
- request_pb (::Google::Cloud::Compute::V1::UpdateShieldedInstanceConfigInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Compute::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Compute::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)