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.



121
122
123
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 121

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



114
115
116
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 114

def in_place_update
  @in_place_update
end

#new_deployable_applianceGoogle::Apis::VmmigrationV1alpha1::ApplianceVersion

Describes an appliance version. Corresponds to the JSON property newDeployableAppliance



119
120
121
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 119

def new_deployable_appliance
  @new_deployable_appliance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



126
127
128
129
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 126

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