Class: Google::Apis::WorkloadmanagerV1::CloudAssetComposition
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::CloudAssetComposition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Instance Attribute Summary collapse
-
#child_asset ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudAsset>
Corresponds to the JSON property
childAsset
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAssetComposition
constructor
A new instance of CloudAssetComposition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAssetComposition
Returns a new instance of CloudAssetComposition.
191 192 193 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#child_asset ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudAsset>
Corresponds to the JSON property childAsset
189 190 191 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 189 def child_asset @child_asset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
196 197 198 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 196 def update!(**args) @child_asset = args[:child_asset] if args.key?(:child_asset) end |