Class: Google::Apis::SaasservicemgmtV1beta1::UnitDependency

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 dependencies for this unit. Maximum 10.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UnitDependency

Returns a new instance of UnitDependency.



2688
2689
2690
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2688

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

Instance Attribute Details

#aliasString

Output only. Alias for the name of the dependency. Corresponds to the JSON property alias

Returns:

  • (String)


2681
2682
2683
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2681

def alias
  @alias
end

#unitString

Output only. A reference to the Unit object. Corresponds to the JSON property unit

Returns:

  • (String)


2686
2687
2688
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2686

def unit
  @unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2693
2694
2695
2696
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 2693

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