Class: Google::Apis::VmmigrationV1alpha1::MachineImageParametersOverrides
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::MachineImageParametersOverrides
- 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
Parameters overriding decisions based on the source machine image configurations.
Instance Attribute Summary collapse
-
#machine_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineImageParametersOverrides
constructor
A new instance of MachineImageParametersOverrides.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineImageParametersOverrides
Returns a new instance of MachineImageParametersOverrides.
2984 2985 2986 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_type ⇒ String
Optional. The machine type to create the MachineImage with. If empty, the
service will choose a relevant machine type based on the information from the
source image. For more information about machine types, please refer to https:/
/cloud.google.com/compute/docs/machine-resource.
Corresponds to the JSON property machineType
2982 2983 2984 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2982 def machine_type @machine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2989 2990 2991 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2989 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end |