Class: Google::Apis::MigrationcenterV1alpha1::AssetList
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AssetList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/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.
755 756 757 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 755 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
753 754 755 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 753 def asset_ids @asset_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
760 761 762 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 760 def update!(**args) @asset_ids = args[:asset_ids] if args.key?(:asset_ids) end |