Class: Google::Apis::SaasservicemgmtV1beta1::Upgrade

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

Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Upgrade

Returns a new instance of Upgrade.



2158
2159
2160
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2158

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

Instance Attribute Details

#input_variablesArray<Google::Apis::SaasservicemgmtV1beta1::UnitVariable>

Optional. Set of input variables. Maximum 100. (optional) Corresponds to the JSON property inputVariables



2151
2152
2153
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2151

def input_variables
  @input_variables
end

#releaseString

Optional. Reference to the Release object to use for the Unit. (optional). Corresponds to the JSON property release

Returns:

  • (String)


2156
2157
2158
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2156

def release
  @release
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2163
2164
2165
2166
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2163

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