Class: Google::Apis::ComputeV1::StoragePoolResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::StoragePoolResourceStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
[Output Only] Contains output only fields.
Instance Attribute Summary collapse
-
#disk_count ⇒ Fixnum
[Output Only] Number of disks used.
-
#last_resize_timestamp ⇒ String
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
-
#max_total_provisioned_disk_capacity_gb ⇒ Fixnum
[Output Only] Maximum allowed aggregate disk size in gigabytes.
-
#pool_used_capacity_bytes ⇒ Fixnum
[Output Only] Space used by data stored in disks within the storage pool (in bytes).
-
#pool_used_iops ⇒ Fixnum
Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
-
#pool_used_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s.
-
#pool_user_written_bytes ⇒ Fixnum
[Output Only] Amount of data written into the pool, before it is compacted.
-
#total_provisioned_disk_capacity_gb ⇒ Fixnum
[Output Only] Sum of all the capacity provisioned in disks in this storage pool.
-
#total_provisioned_disk_iops ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned IOPS.
-
#total_provisioned_disk_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoragePoolResourceStatus
constructor
A new instance of StoragePoolResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StoragePoolResourceStatus
Returns a new instance of StoragePoolResourceStatus.
41418 41419 41420 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_count ⇒ Fixnum
[Output Only] Number of disks used.
Corresponds to the JSON property diskCount
41365 41366 41367 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41365 def disk_count @disk_count end |
#last_resize_timestamp ⇒ String
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
Corresponds to the JSON property lastResizeTimestamp
41370 41371 41372 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41370 def @last_resize_timestamp end |
#max_total_provisioned_disk_capacity_gb ⇒ Fixnum
[Output Only] Maximum allowed aggregate disk size in gigabytes.
Corresponds to the JSON property maxTotalProvisionedDiskCapacityGb
41375 41376 41377 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41375 def max_total_provisioned_disk_capacity_gb @max_total_provisioned_disk_capacity_gb end |
#pool_used_capacity_bytes ⇒ Fixnum
[Output Only] Space used by data stored in disks within the storage pool (in
bytes). This will reflect the total number of bytes written to the disks in
the pool, in contrast to the capacity of those disks.
Corresponds to the JSON property poolUsedCapacityBytes
41382 41383 41384 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41382 def pool_used_capacity_bytes @pool_used_capacity_bytes end |
#pool_used_iops ⇒ Fixnum
Sum of all the disks' provisioned IOPS, minus some amount that is allowed per
disk that is not counted towards pool's IOPS capacity.
Corresponds to the JSON property poolUsedIops
41388 41389 41390 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41388 def pool_used_iops @pool_used_iops end |
#pool_used_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s.
Corresponds to the JSON property poolUsedThroughput
41393 41394 41395 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41393 def pool_used_throughput @pool_used_throughput end |
#pool_user_written_bytes ⇒ Fixnum
[Output Only] Amount of data written into the pool, before it is compacted.
Corresponds to the JSON property poolUserWrittenBytes
41398 41399 41400 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41398 def pool_user_written_bytes @pool_user_written_bytes end |
#total_provisioned_disk_capacity_gb ⇒ Fixnum
[Output Only] Sum of all the capacity provisioned in disks in this storage
pool. A disk's provisioned capacity is the same as its total capacity.
Corresponds to the JSON property totalProvisionedDiskCapacityGb
41404 41405 41406 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41404 def total_provisioned_disk_capacity_gb @total_provisioned_disk_capacity_gb end |
#total_provisioned_disk_iops ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned IOPS.
Corresponds to the JSON property totalProvisionedDiskIops
41409 41410 41411 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41409 def total_provisioned_disk_iops @total_provisioned_disk_iops end |
#total_provisioned_disk_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some
amount that is allowed per disk that is not counted towards pool's throughput
capacity.
Corresponds to the JSON property totalProvisionedDiskThroughput
41416 41417 41418 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41416 def total_provisioned_disk_throughput @total_provisioned_disk_throughput end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41423 41424 41425 41426 41427 41428 41429 41430 41431 41432 41433 41434 |
# File 'lib/google/apis/compute_v1/classes.rb', line 41423 def update!(**args) @disk_count = args[:disk_count] if args.key?(:disk_count) @last_resize_timestamp = args[:last_resize_timestamp] if args.key?(:last_resize_timestamp) @max_total_provisioned_disk_capacity_gb = args[:max_total_provisioned_disk_capacity_gb] if args.key?(:max_total_provisioned_disk_capacity_gb) @pool_used_capacity_bytes = args[:pool_used_capacity_bytes] if args.key?(:pool_used_capacity_bytes) @pool_used_iops = args[:pool_used_iops] if args.key?(:pool_used_iops) @pool_used_throughput = args[:pool_used_throughput] if args.key?(:pool_used_throughput) @pool_user_written_bytes = args[:pool_user_written_bytes] if args.key?(:pool_user_written_bytes) @total_provisioned_disk_capacity_gb = args[:total_provisioned_disk_capacity_gb] if args.key?(:total_provisioned_disk_capacity_gb) @total_provisioned_disk_iops = args[:total_provisioned_disk_iops] if args.key?(:total_provisioned_disk_iops) @total_provisioned_disk_throughput = args[:total_provisioned_disk_throughput] if args.key?(:total_provisioned_disk_throughput) end |