Class: Google::Apis::NotebooksV1::VirtualMachine
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::VirtualMachine
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb more...
Overview
Runtime using Virtual Machine for computing.
Instance Attribute Summary collapse
-
#instance_id ⇒ String
Output only.
-
#instance_name ⇒ String
Output only.
-
#virtual_machine_config ⇒ Google::Apis::NotebooksV1::VirtualMachineConfig
The config settings for virtual machine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VirtualMachine
constructor
A new instance of VirtualMachine.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VirtualMachine
Returns a new instance of VirtualMachine.
3327 3328 3329 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_id ⇒ String
Output only. The unique identifier of the Managed Compute Engine instance.
Corresponds to the JSON property instanceId
3315 3316 3317 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3315 def instance_id @instance_id end |
#instance_name ⇒ String
Output only. The user-friendly name of the Managed Compute Engine instance.
Corresponds to the JSON property instanceName
3320 3321 3322 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3320 def instance_name @instance_name end |
#virtual_machine_config ⇒ Google::Apis::NotebooksV1::VirtualMachineConfig
The config settings for virtual machine.
Corresponds to the JSON property virtualMachineConfig
3325 3326 3327 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3325 def virtual_machine_config @virtual_machine_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3332 3333 3334 3335 3336 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3332 def update!(**args) @instance_id = args[:instance_id] if args.key?(:instance_id) @instance_name = args[:instance_name] if args.key?(:instance_name) @virtual_machine_config = args[:virtual_machine_config] if args.key?(:virtual_machine_config) end |