Class: Google::Apis::MigrationcenterV1::Insight
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::Insight
- 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
An insight about an asset.
Instance Attribute Summary collapse
-
#generic_insight ⇒ Google::Apis::MigrationcenterV1::GenericInsight
A generic insight about an asset.
-
#migration_insight ⇒ Google::Apis::MigrationcenterV1::MigrationInsight
An insight about potential migrations for an asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Insight
constructor
A new instance of Insight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Insight
Returns a new instance of Insight.
2725 2726 2727 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generic_insight ⇒ Google::Apis::MigrationcenterV1::GenericInsight
A generic insight about an asset.
Corresponds to the JSON property genericInsight
2718 2719 2720 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2718 def generic_insight @generic_insight end |
#migration_insight ⇒ Google::Apis::MigrationcenterV1::MigrationInsight
An insight about potential migrations for an asset.
Corresponds to the JSON property migrationInsight
2723 2724 2725 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2723 def migration_insight @migration_insight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2730 2731 2732 2733 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2730 def update!(**args) @generic_insight = args[:generic_insight] if args.key?(:generic_insight) @migration_insight = args[:migration_insight] if args.key?(:migration_insight) end |