Class: Google::Apis::SaasservicemgmtV1::UnitDependency
- Inherits:
-
Object
- Object
- Google::Apis::SaasservicemgmtV1::UnitDependency
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/saasservicemgmt_v1/classes.rb,
lib/google/apis/saasservicemgmt_v1/representations.rb,
lib/google/apis/saasservicemgmt_v1/representations.rb
Overview
Set of dependencies for this unit. Maximum 10.
Instance Attribute Summary collapse
-
#alias ⇒ String
Output only.
-
#unit ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UnitDependency
constructor
A new instance of UnitDependency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UnitDependency
Returns a new instance of UnitDependency.
1792 1793 1794 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alias ⇒ String
Output only. Alias for the name of the dependency.
Corresponds to the JSON property alias
1785 1786 1787 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1785 def alias @alias end |
#unit ⇒ String
Output only. A reference to the Unit object.
Corresponds to the JSON property unit
1790 1791 1792 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1790 def unit @unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1797 1798 1799 1800 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1797 def update!(**args) @alias = args[:alias] if args.key?(:alias) @unit = args[:unit] if args.key?(:unit) end |