Class: Google::Apis::SaasservicemgmtV1::UnitDependency

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#aliasString

Output only. Alias for the name of the dependency. Corresponds to the JSON property alias

Returns:

  • (String)


1722
1723
1724
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 1722

def alias
  @alias
end

#unitString

Output only. A reference to the Unit object. Corresponds to the JSON property unit

Returns:

  • (String)


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