Class: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters
- 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
Parameters affecting the OS adaptation process.
Instance Attribute Summary collapse
-
#generalize ⇒ Boolean
(also: #generalize?)
Optional.
-
#license_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageImportOsAdaptationParameters
constructor
A new instance of ImageImportOsAdaptationParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageImportOsAdaptationParameters
Returns a new instance of ImageImportOsAdaptationParameters.
2380 2381 2382 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generalize ⇒ Boolean Also known as: generalize?
Optional. Set to true in order to generalize the imported image. The
generalization process enables co-existence of multiple VMs created from the
same image. For Windows, generalizing the image removes computer-specific
information such as installed drivers and the computer security identifier (
SID).
Corresponds to the JSON property generalize
2372 2373 2374 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2372 def generalize @generalize end |
#license_type ⇒ String
Optional. Choose which type of license to apply to the imported image.
Corresponds to the JSON property licenseType
2378 2379 2380 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2378 def license_type @license_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2385 2386 2387 2388 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2385 def update!(**args) @generalize = args[:generalize] if args.key?(:generalize) @license_type = args[:license_type] if args.key?(:license_type) end |