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 disks' 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] Space used by data stored in disks within the storage pool (in bytes).
-
#used_reduced_bytes ⇒ Fixnum
[Output Only] Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
-
#used_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s.
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.
48069 48070 48071 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48069 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregate_disk_provisioned_iops ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned IOPS.
Corresponds to the JSON property aggregateDiskProvisionedIops
48029 48030 48031 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48029 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
48035 48036 48037 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48035 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
48040 48041 48042 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48040 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
48045 48046 48047 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48045 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
48050 48051 48052 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48050 def number_of_disks @number_of_disks end |
#used_bytes ⇒ Fixnum
[Output Only] Space used by data stored in disks within the storage pool (in
bytes).
Corresponds to the JSON property usedBytes
48056 48057 48058 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48056 def used_bytes @used_bytes end |
#used_reduced_bytes ⇒ Fixnum
[Output Only] Space used by compressed and deduped data stored in disks within
the storage pool (in bytes).
Corresponds to the JSON property usedReducedBytes
48062 48063 48064 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48062 def used_reduced_bytes @used_reduced_bytes end |
#used_throughput ⇒ Fixnum
[Output Only] Sum of all the disks' provisioned throughput in MB/s.
Corresponds to the JSON property usedThroughput
48067 48068 48069 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48067 def used_throughput @used_throughput end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48074 48075 48076 48077 48078 48079 48080 48081 48082 48083 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48074 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) @used_throughput = args[:used_throughput] if args.key?(:used_throughput) end |