Class: Google::Apis::SaasservicemgmtV1beta1::Dependency
- Inherits:
-
Object
- Object
- Google::Apis::SaasservicemgmtV1beta1::Dependency
- 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
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.
263 264 265 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 263 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
256 257 258 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 256 def alias @alias end |
#unit_kind ⇒ String
Required. Immutable. The unit kind of the dependency.
Corresponds to the JSON property unitKind
261 262 263 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 261 def unit_kind @unit_kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
268 269 270 271 |
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 268 def update!(**args) @alias = args[:alias] if args.key?(:alias) @unit_kind = args[:unit_kind] if args.key?(:unit_kind) end |