Class: Google::Apis::MigrationcenterV1::DiskUsageSample

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

Disk usage sample. Values are across all disks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskUsageSample

Returns a new instance of DiskUsageSample.



1388
1389
1390
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1388

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

Instance Attribute Details

#average_iopsFloat

Average IOPS sampled over a short window. Must be non-negative. Corresponds to the JSON property averageIops

Returns:

  • (Float)


1386
1387
1388
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1386

def average_iops
  @average_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1393
1394
1395
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1393

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