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.



263
264
265
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 263

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)


256
257
258
# File 'lib/google/apis/saasservicemgmt_v1beta1/classes.rb', line 256

def alias
  @alias
end

#unit_kindString

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

Returns:

  • (String)


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