Class: Google::Apis::SaasservicemgmtV1beta1::Provision

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

Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Provision

Returns a new instance of Provision.



619
620
621
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 619

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



612
613
614
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 612

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)


617
618
619
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 617

def release
  @release
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



624
625
626
627
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 624

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