Class: Google::Apis::SaasservicemgmtV1beta1::Dependency

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

Dependency represent a single dependency with another unit kind by alias.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Dependency

Returns a new instance of Dependency.



319
320
321
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 319

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aliasString

Required. An alias for the dependency. Used for input variable mapping. Corresponds to the JSON property alias

Returns:

  • (String)


312
313
314
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 312

def alias
  @alias
end

#unit_kindString

Required. Immutable. The unit kind of the dependency. Corresponds to the JSON property unitKind

Returns:

  • (String)


317
318
319
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 317

def unit_kind
  @unit_kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



324
325
326
327
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 324

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