Class: Google::Apis::ComputeAlpha::StoragePoolResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::StoragePoolResourceStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
[Output Only] Contains output only fields.
Instance Attribute Summary collapse
-
#aggregate_disk_provisioned_iops ⇒ Fixnum
[Output Only] Sum of all the disk' provisioned IOPS.
-
#aggregate_disk_size_gb ⇒ Fixnum
[Output Only] Sum of all the capacity provisioned in disks in this storage pool.
-
#last_resize_timestamp ⇒ String
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
-
#max_aggregate_disk_size_gb ⇒ Fixnum
[Output Only] Maximum allowed aggregate disk size in gigabytes.
-
#number_of_disks ⇒ Fixnum
[Output Only] Number of disks used.
-
#used_bytes ⇒ Fixnum
[Output Only] Sum of all the disks' local used bytes.
-
#used_reduced_bytes ⇒ Fixnum
[Output Only] Sum of all the disks' used reduced bytes.
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.
45840 45841 45842 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregate_disk_provisioned_iops ⇒ Fixnum
[Output Only] Sum of all the disk' provisioned IOPS.
Corresponds to the JSON property aggregateDiskProvisionedIops
45805 45806 45807 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45805 def aggregate_disk_provisioned_iops @aggregate_disk_provisioned_iops end |
#aggregate_disk_size_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 aggregateDiskSizeGb
45811 45812 45813 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45811 def aggregate_disk_size_gb @aggregate_disk_size_gb end |
#last_resize_timestamp ⇒ String
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
Corresponds to the JSON property lastResizeTimestamp
45816 45817 45818 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45816 def @last_resize_timestamp end |
#max_aggregate_disk_size_gb ⇒ Fixnum
[Output Only] Maximum allowed aggregate disk size in gigabytes.
Corresponds to the JSON property maxAggregateDiskSizeGb
45821 45822 45823 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45821 def max_aggregate_disk_size_gb @max_aggregate_disk_size_gb end |
#number_of_disks ⇒ Fixnum
[Output Only] Number of disks used.
Corresponds to the JSON property numberOfDisks
45826 45827 45828 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45826 def number_of_disks @number_of_disks end |
#used_bytes ⇒ Fixnum
[Output Only] Sum of all the disks' local used bytes. This specifically refers
to the amount of bytes used on the disk without any encryption or compression.
Corresponds to the JSON property usedBytes
45832 45833 45834 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45832 def used_bytes @used_bytes end |
#used_reduced_bytes ⇒ Fixnum
[Output Only] Sum of all the disks' used reduced bytes. This is the actual
storage capacity consumed by all of the disks.
Corresponds to the JSON property usedReducedBytes
45838 45839 45840 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45838 def used_reduced_bytes @used_reduced_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45845 45846 45847 45848 45849 45850 45851 45852 45853 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 45845 def update!(**args) @aggregate_disk_provisioned_iops = args[:aggregate_disk_provisioned_iops] if args.key?(:aggregate_disk_provisioned_iops) @aggregate_disk_size_gb = args[:aggregate_disk_size_gb] if args.key?(:aggregate_disk_size_gb) @last_resize_timestamp = args[:last_resize_timestamp] if args.key?(:last_resize_timestamp) @max_aggregate_disk_size_gb = args[:max_aggregate_disk_size_gb] if args.key?(:max_aggregate_disk_size_gb) @number_of_disks = args[:number_of_disks] if args.key?(:number_of_disks) @used_bytes = args[:used_bytes] if args.key?(:used_bytes) @used_reduced_bytes = args[:used_reduced_bytes] if args.key?(:used_reduced_bytes) end |