Class: Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationMemory

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DailyResourceUsageAggregationMemory

Returns a new instance of DailyResourceUsageAggregationMemory.



990
991
992
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 990

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

Instance Attribute Details

#utilization_percentageGoogle::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats

Statistical aggregation of samples for a single resource usage. Corresponds to the JSON property utilizationPercentage



988
989
990
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 988

def utilization_percentage
  @utilization_percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



995
996
997
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 995

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