Class: Google::Apis::SaasservicemgmtV1::Dependency
- Inherits:
-
Object
- Object
- Google::Apis::SaasservicemgmtV1::Dependency
- 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
Dependency represent a single dependency with another unit kind by alias.
Instance Attribute Summary collapse
-
#alias ⇒ String
Required.
-
#unit_kind ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dependency
constructor
A new instance of Dependency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Dependency
Returns a new instance of Dependency.
103 104 105 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alias ⇒ String
Required. An alias for the dependency. Used for input variable mapping.
Corresponds to the JSON property alias
96 97 98 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 96 def alias @alias end |
#unit_kind ⇒ String
Required. Immutable. The unit kind of the dependency.
Corresponds to the JSON property unitKind
101 102 103 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 101 def unit_kind @unit_kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 111 |
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 108 def update!(**args) @alias = args[:alias] if args.key?(:alias) @unit_kind = args[:unit_kind] if args.key?(:unit_kind) end |