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.
1729 1730 1731 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1729 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
1722 1723 1724 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1722 def alias @alias end |
#unit ⇒ String
Output only. A reference to the Unit object.
Corresponds to the JSON property unit
1727 1728 1729 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1727 def unit @unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1734 1735 1736 1737 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1734 def update!(**args) @alias = args[:alias] if args.key?(:alias) @unit = args[:unit] if args.key?(:unit) end |