Struct google_api_proto::google::cloud::compute::v1::StoragePoolResourceStatus
source · pub struct StoragePoolResourceStatus {
pub disk_count: Option<i64>,
pub last_resize_timestamp: Option<String>,
pub max_total_provisioned_disk_capacity_gb: Option<i64>,
pub pool_used_capacity_bytes: Option<i64>,
pub pool_used_iops: Option<i64>,
pub pool_used_throughput: Option<i64>,
pub pool_user_written_bytes: Option<i64>,
pub total_provisioned_disk_capacity_gb: Option<i64>,
pub total_provisioned_disk_iops: Option<i64>,
pub total_provisioned_disk_throughput: Option<i64>,
}
Expand description
[Output Only] Contains output only fields.
Fields§
§disk_count: Option<i64>
[Output Only] Number of disks used.
last_resize_timestamp: Option<String>
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
max_total_provisioned_disk_capacity_gb: Option<i64>
[Output Only] Maximum allowed aggregate disk size in gigabytes.
pool_used_capacity_bytes: Option<i64>
[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.
pool_used_iops: Option<i64>
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: Option<i64>
[Output Only] Sum of all the disks’ provisioned throughput in MB/s.
pool_user_written_bytes: Option<i64>
[Output Only] Amount of data written into the pool, before it is compacted.
total_provisioned_disk_capacity_gb: Option<i64>
[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.
total_provisioned_disk_iops: Option<i64>
[Output Only] Sum of all the disks’ provisioned IOPS.
total_provisioned_disk_throughput: Option<i64>
[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.
Implementations§
source§impl StoragePoolResourceStatus
impl StoragePoolResourceStatus
sourcepub fn total_provisioned_disk_iops(&self) -> i64
pub fn total_provisioned_disk_iops(&self) -> i64
Returns the value of total_provisioned_disk_iops
, or the default value if total_provisioned_disk_iops
is unset.
sourcepub fn pool_used_iops(&self) -> i64
pub fn pool_used_iops(&self) -> i64
Returns the value of pool_used_iops
, or the default value if pool_used_iops
is unset.
sourcepub fn max_total_provisioned_disk_capacity_gb(&self) -> i64
pub fn max_total_provisioned_disk_capacity_gb(&self) -> i64
Returns the value of max_total_provisioned_disk_capacity_gb
, or the default value if max_total_provisioned_disk_capacity_gb
is unset.
sourcepub fn disk_count(&self) -> i64
pub fn disk_count(&self) -> i64
Returns the value of disk_count
, or the default value if disk_count
is unset.
sourcepub fn pool_used_throughput(&self) -> i64
pub fn pool_used_throughput(&self) -> i64
Returns the value of pool_used_throughput
, or the default value if pool_used_throughput
is unset.
sourcepub fn pool_user_written_bytes(&self) -> i64
pub fn pool_user_written_bytes(&self) -> i64
Returns the value of pool_user_written_bytes
, or the default value if pool_user_written_bytes
is unset.
sourcepub fn total_provisioned_disk_throughput(&self) -> i64
pub fn total_provisioned_disk_throughput(&self) -> i64
Returns the value of total_provisioned_disk_throughput
, or the default value if total_provisioned_disk_throughput
is unset.
sourcepub fn last_resize_timestamp(&self) -> &str
pub fn last_resize_timestamp(&self) -> &str
Returns the value of last_resize_timestamp
, or the default value if last_resize_timestamp
is unset.
sourcepub fn pool_used_capacity_bytes(&self) -> i64
pub fn pool_used_capacity_bytes(&self) -> i64
Returns the value of pool_used_capacity_bytes
, or the default value if pool_used_capacity_bytes
is unset.
sourcepub fn total_provisioned_disk_capacity_gb(&self) -> i64
pub fn total_provisioned_disk_capacity_gb(&self) -> i64
Returns the value of total_provisioned_disk_capacity_gb
, or the default value if total_provisioned_disk_capacity_gb
is unset.
Trait Implementations§
source§impl Clone for StoragePoolResourceStatus
impl Clone for StoragePoolResourceStatus
source§fn clone(&self) -> StoragePoolResourceStatus
fn clone(&self) -> StoragePoolResourceStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StoragePoolResourceStatus
impl Debug for StoragePoolResourceStatus
source§impl Default for StoragePoolResourceStatus
impl Default for StoragePoolResourceStatus
source§impl Message for StoragePoolResourceStatus
impl Message for StoragePoolResourceStatus
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for StoragePoolResourceStatus
impl PartialEq for StoragePoolResourceStatus
source§fn eq(&self, other: &StoragePoolResourceStatus) -> bool
fn eq(&self, other: &StoragePoolResourceStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StoragePoolResourceStatus
Auto Trait Implementations§
impl Freeze for StoragePoolResourceStatus
impl RefUnwindSafe for StoragePoolResourceStatus
impl Send for StoragePoolResourceStatus
impl Sync for StoragePoolResourceStatus
impl Unpin for StoragePoolResourceStatus
impl UnwindSafe for StoragePoolResourceStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request