Class: Google::Apis::MigrationcenterV1alpha1::AssetPerformanceData
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AssetPerformanceData
- 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
Performance data for an asset.
Instance Attribute Summary collapse
-
#daily_resource_usage_aggregations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DailyResourceUsageAggregation>
Daily resource usage aggregations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetPerformanceData
constructor
A new instance of AssetPerformanceData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetPerformanceData
Returns a new instance of AssetPerformanceData.
529 530 531 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#daily_resource_usage_aggregations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DailyResourceUsageAggregation>
Daily resource usage aggregations. Contains all of the data available for an
asset, up to the last 420 days.
Corresponds to the JSON property dailyResourceUsageAggregations
527 528 529 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 527 def daily_resource_usage_aggregations @daily_resource_usage_aggregations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
534 535 536 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 534 def update!(**args) @daily_resource_usage_aggregations = args[:daily_resource_usage_aggregations] if args.key?(:daily_resource_usage_aggregations) end |