Class: Google::Apis::MemcacheV1::CloudAssetComposition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAssetComposition

Returns a new instance of CloudAssetComposition.



167
168
169
# File 'lib/google/apis/memcache_v1/classes.rb', line 167

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

Instance Attribute Details

#child_assetArray<Google::Apis::MemcacheV1::CloudAsset>

Corresponds to the JSON property childAsset



165
166
167
# File 'lib/google/apis/memcache_v1/classes.rb', line 165

def child_asset
  @child_asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



172
173
174
# File 'lib/google/apis/memcache_v1/classes.rb', line 172

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