Class: Google::Apis::SaasservicemgmtV1::Dependency

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

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.



103
104
105
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 103

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)


96
97
98
# File 'lib/google/apis/saasservicemgmt_v1/classes.rb', line 96

def alias
  @alias
end

#unit_kindString

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

Returns:

  • (String)


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