Class: Google::Apis::MigrationcenterV1::DailyResourceUsageAggregationDisk

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 disk usage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DailyResourceUsageAggregationDisk

Returns a new instance of DailyResourceUsageAggregationDisk.



1023
1024
1025
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1023

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

Instance Attribute Details

#iopsGoogle::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats

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



1011
1012
1013
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1011

def iops
  @iops
end

#read_iopsGoogle::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats

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



1016
1017
1018
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1016

def read_iops
  @read_iops
end

#write_iopsGoogle::Apis::MigrationcenterV1::DailyResourceUsageAggregationStats

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



1021
1022
1023
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1021

def write_iops
  @write_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1028
1029
1030
1031
1032
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1028

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