Class: Google::Apis::MigrationcenterV1alpha1::InsightList

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

Message containing insights list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InsightList

Returns a new instance of InsightList.



3528
3529
3530
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3528

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

Instance Attribute Details

#insightsArray<Google::Apis::MigrationcenterV1alpha1::Insight>

Output only. Insights of the list. Corresponds to the JSON property insights



3521
3522
3523
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3521

def insights
  @insights
end

#update_timeString

Output only. Update timestamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


3526
3527
3528
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3526

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3533
3534
3535
3536
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3533

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