Struct google_api_proto::google::cloud::compute::v1::StoragePoolDisk
source · pub struct StoragePoolDisk {
pub attached_instances: Vec<String>,
pub creation_timestamp: Option<String>,
pub disk: Option<String>,
pub name: Option<String>,
pub provisioned_iops: Option<i64>,
pub provisioned_throughput: Option<i64>,
pub resource_policies: Vec<String>,
pub size_gb: Option<i64>,
pub status: Option<String>,
pub type: Option<String>,
pub used_bytes: Option<i64>,
}
Expand description
Fields§
§attached_instances: Vec<String>
[Output Only] Instances this disk is attached to.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
disk: Option<String>
[Output Only] The URL of the disk.
name: Option<String>
[Output Only] The name of the disk.
provisioned_iops: Option<i64>
[Output Only] The number of IOPS provisioned for the disk.
provisioned_throughput: Option<i64>
[Output Only] The throughput provisioned for the disk.
resource_policies: Vec<String>
[Output Only] Resource policies applied to disk for automatic snapshot creations.
size_gb: Option<i64>
[Output Only] The disk size, in GB.
status: Option<String>
[Output Only] The disk status. Check the Status enum for the list of possible values.
type: Option<String>
[Output Only] The disk type.
used_bytes: Option<i64>
[Output Only] Amount of disk space used.
Implementations§
source§impl StoragePoolDisk
impl StoragePoolDisk
sourcepub fn creation_timestamp(&self) -> &str
pub fn creation_timestamp(&self) -> &str
Returns the value of creation_timestamp
, or the default value if creation_timestamp
is unset.
sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
Returns the value of status
, or the default value if status
is unset.
sourcepub fn provisioned_iops(&self) -> i64
pub fn provisioned_iops(&self) -> i64
Returns the value of provisioned_iops
, or the default value if provisioned_iops
is unset.
sourcepub fn used_bytes(&self) -> i64
pub fn used_bytes(&self) -> i64
Returns the value of used_bytes
, or the default value if used_bytes
is unset.
sourcepub fn size_gb(&self) -> i64
pub fn size_gb(&self) -> i64
Returns the value of size_gb
, or the default value if size_gb
is unset.
sourcepub fn provisioned_throughput(&self) -> i64
pub fn provisioned_throughput(&self) -> i64
Returns the value of provisioned_throughput
, or the default value if provisioned_throughput
is unset.
Trait Implementations§
source§impl Clone for StoragePoolDisk
impl Clone for StoragePoolDisk
source§fn clone(&self) -> StoragePoolDisk
fn clone(&self) -> StoragePoolDisk
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StoragePoolDisk
impl Debug for StoragePoolDisk
source§impl Default for StoragePoolDisk
impl Default for StoragePoolDisk
source§impl Message for StoragePoolDisk
impl Message for StoragePoolDisk
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 StoragePoolDisk
impl PartialEq for StoragePoolDisk
source§fn eq(&self, other: &StoragePoolDisk) -> bool
fn eq(&self, other: &StoragePoolDisk) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StoragePoolDisk
Auto Trait Implementations§
impl Freeze for StoragePoolDisk
impl RefUnwindSafe for StoragePoolDisk
impl Send for StoragePoolDisk
impl Sync for StoragePoolDisk
impl Unpin for StoragePoolDisk
impl UnwindSafe for StoragePoolDisk
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