Class: Google::Apis::ComputeAlpha::StoragePoolResourceStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoragePoolResourceStatus

Returns a new instance of StoragePoolResourceStatus.



47759
47760
47761
# File 'lib/google/apis/compute_alpha/classes.rb', line 47759

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

Instance Attribute Details

#aggregate_disk_provisioned_iopsFixnum

[Output Only] Sum of all the disks' provisioned IOPS. Corresponds to the JSON property aggregateDiskProvisionedIops

Returns:

  • (Fixnum)


47719
47720
47721
# File 'lib/google/apis/compute_alpha/classes.rb', line 47719

def aggregate_disk_provisioned_iops
  @aggregate_disk_provisioned_iops
end

#aggregate_disk_size_gbFixnum

[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

Returns:

  • (Fixnum)


47725
47726
47727
# File 'lib/google/apis/compute_alpha/classes.rb', line 47725

def aggregate_disk_size_gb
  @aggregate_disk_size_gb
end

#last_resize_timestampString

[Output Only] Timestamp of the last successful resize in RFC3339 text format. Corresponds to the JSON property lastResizeTimestamp

Returns:

  • (String)


47730
47731
47732
# File 'lib/google/apis/compute_alpha/classes.rb', line 47730

def last_resize_timestamp
  @last_resize_timestamp
end

#max_aggregate_disk_size_gbFixnum

[Output Only] Maximum allowed aggregate disk size in gigabytes. Corresponds to the JSON property maxAggregateDiskSizeGb

Returns:

  • (Fixnum)


47735
47736
47737
# File 'lib/google/apis/compute_alpha/classes.rb', line 47735

def max_aggregate_disk_size_gb
  @max_aggregate_disk_size_gb
end

#number_of_disksFixnum

[Output Only] Number of disks used. Corresponds to the JSON property numberOfDisks

Returns:

  • (Fixnum)


47740
47741
47742
# File 'lib/google/apis/compute_alpha/classes.rb', line 47740

def number_of_disks
  @number_of_disks
end

#used_bytesFixnum

[Output Only] Space used by data stored in disks within the storage pool (in bytes). Corresponds to the JSON property usedBytes

Returns:

  • (Fixnum)


47746
47747
47748
# File 'lib/google/apis/compute_alpha/classes.rb', line 47746

def used_bytes
  @used_bytes
end

#used_reduced_bytesFixnum

[Output Only] Space used by compressed and deduped data stored in disks within the storage pool (in bytes). Corresponds to the JSON property usedReducedBytes

Returns:

  • (Fixnum)


47752
47753
47754
# File 'lib/google/apis/compute_alpha/classes.rb', line 47752

def used_reduced_bytes
  @used_reduced_bytes
end

#used_throughputFixnum

[Output Only] Sum of all the disks' provisioned throughput in MB/s. Corresponds to the JSON property usedThroughput

Returns:

  • (Fixnum)


47757
47758
47759
# File 'lib/google/apis/compute_alpha/classes.rb', line 47757

def used_throughput
  @used_throughput
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
# File 'lib/google/apis/compute_alpha/classes.rb', line 47764

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