Class: Google::Apis::NotebooksV1::RuntimeGuestOsFeature

Inherits:
Object
  • Object
show all
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

Optional. A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. Guest OS features for boot disk.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeGuestOsFeature

Returns a new instance of RuntimeGuestOsFeature.



2084
2085
2086
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2084

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

Instance Attribute Details

#typeString

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

Returns:

  • (String)


2082
2083
2084
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2082

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2089
2090
2091
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2089

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