Class: Google::Apis::NotebooksV1::GuestOsFeature
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::GuestOsFeature
- 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
Overview
Guest OS features for boot disk.
Instance Attribute Summary collapse
-
#type ⇒ String
The ID of a supported feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestOsFeature
constructor
A new instance of GuestOsFeature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestOsFeature
Returns a new instance of GuestOsFeature.
737 738 739 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The ID of a supported feature. Read Enabling guest operating system features
to see a list of available options. Valid values: * FEATURE_TYPE_UNSPECIFIED *
MULTI_IP_SUBNET * SECURE_BOOT * UEFI_COMPATIBLE * VIRTIO_SCSI_MULTIQUEUE *
WINDOWS
Corresponds to the JSON property type
735 736 737 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 735 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
742 743 744 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 742 def update!(**args) @type = args[:type] if args.key?(:type) end |