Class: Google::Apis::MigrationcenterV1alpha1::DiskUsageSample
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DiskUsageSample
- 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
Disk usage sample. Values are across all disks.
Instance Attribute Summary collapse
-
#average_iops ⇒ Float
Average IOPS sampled over a short window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskUsageSample
constructor
A new instance of DiskUsageSample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskUsageSample
Returns a new instance of DiskUsageSample.
1395 1396 1397 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1395 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average_iops ⇒ Float
Average IOPS sampled over a short window. Must be non-negative. Must be equal
to the sum of read and write if one of them is positive. if both read and
write are zero they are ignored.
Corresponds to the JSON property averageIops
1393 1394 1395 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1393 def average_iops @average_iops end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1400 1401 1402 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1400 def update!(**args) @average_iops = args[:average_iops] if args.key?(:average_iops) end |