Class: Google::Apis::VmmigrationV1alpha1::DataDiskImageImport
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::DataDiskImageImport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/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
1922 1923 1924 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1922 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
1920 1921 1922 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1920 def guest_os_features @guest_os_features end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1927 1928 1929 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1927 def update!(**args) @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features) end |