Class: Google::Apis::MigrationcenterV1::AssetList
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::AssetList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Lists the asset IDs of all assets.
Instance Attribute Summary collapse
-
#asset_ids ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetList
constructor
A new instance of AssetList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetList
Returns a new instance of AssetList.
518 519 520 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 518 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_ids ⇒ Array<String>
Required. A list of asset IDs
Corresponds to the JSON property assetIds
516 517 518 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 516 def asset_ids @asset_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
523 524 525 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 523 def update!(**args) @asset_ids = args[:asset_ids] if args.key?(:asset_ids) end |