Class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates

Inherits:
Object
  • Object
show all
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

Holds informatiom about the available versions for upgrade.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AvailableUpdates

Returns a new instance of AvailableUpdates.



166
167
168
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 166

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#in_place_updateGoogle::Apis::VmmigrationV1alpha1::ApplianceVersion

Describes an appliance version. Corresponds to the JSON property inPlaceUpdate



159
160
161
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 159

def in_place_update
  @in_place_update
end

#new_deployable_applianceGoogle::Apis::VmmigrationV1alpha1::ApplianceVersion

Describes an appliance version. Corresponds to the JSON property newDeployableAppliance



164
165
166
# File 'lib/google/apis/vmmigration_v1alpha1/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_v1alpha1/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