Class: Google::Apis::SaasservicemgmtV1beta1::ReleaseRequirements

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/saasservicemgmt_v1beta1/classes.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb,
lib/google/apis/saasservicemgmt_v1beta1/representations.rb

Overview

Set of requirements to be fulfilled on the Unit when using this Release.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReleaseRequirements

Returns a new instance of ReleaseRequirements.



755
756
757
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 755

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

Instance Attribute Details

#upgradeable_from_releasesArray<String>

Optional. A list of releases from which a unit can be upgraded to this one ( optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint. Corresponds to the JSON property upgradeableFromReleases

Returns:

  • (Array<String>)


753
754
755
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 753

def upgradeable_from_releases
  @upgradeable_from_releases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



760
761
762
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 760

def update!(**args)
  @upgradeable_from_releases = args[:upgradeable_from_releases] if args.key?(:upgradeable_from_releases)
end