Class: Google::Apis::VmmigrationV1::MachineImageParametersOverrides
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::MachineImageParametersOverrides
- 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 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.
3006 3007 3008 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3006 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
3004 3005 3006 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3004 def machine_type @machine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3011 3012 3013 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3011 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end |