Class: Google::Apis::VmmigrationV1::DataDiskImageImport
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::DataDiskImageImport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
Used when the image import is not using OS adaptation process.
Instance Attribute Summary collapse
-
#guest_os_features ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataDiskImageImport
constructor
A new instance of DataDiskImageImport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataDiskImageImport
Returns a new instance of DataDiskImageImport.
1881 1882 1883 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guest_os_features ⇒ Array<String>
Optional. A list of guest OS features to apply to the imported image. These
features are flags that are used by Compute Engine to enable certain
capabilities for virtual machine instances that are created from the image.
This field does not change the OS of the image; it only marks the image with
the specified features. The user must ensure that the OS is compatible with
the features. For a list of available features, see https://cloud.google.com/
compute/docs/images/create-custom#guest-os-features.
Corresponds to the JSON property guestOsFeatures
1879 1880 1881 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1879 def guest_os_features @guest_os_features end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1886 1887 1888 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1886 def update!(**args) @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features) end |