Class: Google::Apis::VmmigrationV1::AvailableUpdates
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::AvailableUpdates
- 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
Holds informatiom about the available versions for upgrade.
Instance Attribute Summary collapse
-
#in_place_update ⇒ Google::Apis::VmmigrationV1::ApplianceVersion
Describes an appliance version.
-
#new_deployable_appliance ⇒ Google::Apis::VmmigrationV1::ApplianceVersion
Describes an appliance version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AvailableUpdates
constructor
A new instance of AvailableUpdates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AvailableUpdates
Returns a new instance of AvailableUpdates.
166 167 168 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#in_place_update ⇒ Google::Apis::VmmigrationV1::ApplianceVersion
Describes an appliance version.
Corresponds to the JSON property inPlaceUpdate
159 160 161 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 159 def in_place_update @in_place_update end |
#new_deployable_appliance ⇒ Google::Apis::VmmigrationV1::ApplianceVersion
Describes an appliance version.
Corresponds to the JSON property newDeployableAppliance
164 165 166 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 164 def new_deployable_appliance @new_deployable_appliance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
171 172 173 174 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 171 def update!(**args) @in_place_update = args[:in_place_update] if args.key?(:in_place_update) @new_deployable_appliance = args[:new_deployable_appliance] if args.key?(:new_deployable_appliance) end |