Class: Google::Apis::NotebooksV1::UpgradeInstanceInternalRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb

Overview

Request for upgrading a notebook instance from within the VM

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpgradeInstanceInternalRequest

Returns a new instance of UpgradeInstanceInternalRequest.



1410
1411
1412
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1410

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#vm_idString

Required. The VM hardware token for authenticating the VM. https://cloud. google.com/compute/docs/instances/verifying-instance-identity Corresponds to the JSON property vmId

Returns:

  • (String)


1408
1409
1410
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1408

def vm_id
  @vm_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1415
1416
1417
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1415

def update!(**args)
  @vm_id = args[:vm_id] if args.key?(:vm_id)
end