Class: Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationMemory
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationMemory
- 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 memory 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) ⇒ DailyResourceUsageAggregationMemory
constructor
A new instance of DailyResourceUsageAggregationMemory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DailyResourceUsageAggregationMemory
Returns a new instance of DailyResourceUsageAggregationMemory.
1002 1003 1004 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1002 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
1000 1001 1002 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1000 def utilization_percentage @utilization_percentage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1007 1008 1009 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1007 def update!(**args) @utilization_percentage = args[:utilization_percentage] if args.key?(:utilization_percentage) end |