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.



1782
1783
1784
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1782

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)


1775
1776
1777
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1775

def alias
  @alias
end

#unitString

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

Returns:

  • (String)


1780
1781
1782
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1780

def unit
  @unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1787
1788
1789
1790
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 1787

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