Class: Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationCpu
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationCpu
- 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
Statistical aggregation of CPU usage.
Instance Attribute Summary collapse
-
#utilization_percentage ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DailyResourceUsageAggregationCpu
constructor
A new instance of DailyResourceUsageAggregationCpu.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DailyResourceUsageAggregationCpu
Returns a new instance of DailyResourceUsageAggregationCpu.
964 965 966 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#utilization_percentage ⇒ Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats
Statistical aggregation of samples for a single resource usage.
Corresponds to the JSON property utilizationPercentage
962 963 964 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 962 def utilization_percentage @utilization_percentage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
969 970 971 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 969 def update!(**args) @utilization_percentage = args[:utilization_percentage] if args.key?(:utilization_percentage) end |