Class: Google::Apis::RedisV1::CloudAssetComposition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAssetComposition

Returns a new instance of CloudAssetComposition.



316
317
318
# File 'lib/google/apis/redis_v1/classes.rb', line 316

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

Instance Attribute Details

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

Corresponds to the JSON property childAsset



314
315
316
# File 'lib/google/apis/redis_v1/classes.rb', line 314

def child_asset
  @child_asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



321
322
323
# File 'lib/google/apis/redis_v1/classes.rb', line 321

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