Class: Google::Apis::MigrationcenterV1::AssetList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idsArray<String>

Required. A list of asset IDs Corresponds to the JSON property assetIds

Returns:

  • (Array<String>)


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