Struct google_api_proto::google::cloud::compute::v1::DiskAsyncReplication
source · pub struct DiskAsyncReplication {
pub consistency_group_policy: Option<String>,
pub consistency_group_policy_id: Option<String>,
pub disk: Option<String>,
pub disk_id: Option<String>,
}
Expand description
Fields§
§consistency_group_policy: Option<String>
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
consistency_group_policy_id: Option<String>
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
disk: Option<String>
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk_id: Option<String>
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
Implementations§
source§impl DiskAsyncReplication
impl DiskAsyncReplication
sourcepub fn consistency_group_policy(&self) -> &str
pub fn consistency_group_policy(&self) -> &str
Returns the value of consistency_group_policy
, or the default value if consistency_group_policy
is unset.
sourcepub fn disk_id(&self) -> &str
pub fn disk_id(&self) -> &str
Returns the value of disk_id
, or the default value if disk_id
is unset.
sourcepub fn consistency_group_policy_id(&self) -> &str
pub fn consistency_group_policy_id(&self) -> &str
Returns the value of consistency_group_policy_id
, or the default value if consistency_group_policy_id
is unset.
Trait Implementations§
source§impl Clone for DiskAsyncReplication
impl Clone for DiskAsyncReplication
source§fn clone(&self) -> DiskAsyncReplication
fn clone(&self) -> DiskAsyncReplication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskAsyncReplication
impl Debug for DiskAsyncReplication
source§impl Default for DiskAsyncReplication
impl Default for DiskAsyncReplication
source§impl Message for DiskAsyncReplication
impl Message for DiskAsyncReplication
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 DiskAsyncReplication
impl PartialEq for DiskAsyncReplication
source§fn eq(&self, other: &DiskAsyncReplication) -> bool
fn eq(&self, other: &DiskAsyncReplication) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskAsyncReplication
Auto Trait Implementations§
impl Freeze for DiskAsyncReplication
impl RefUnwindSafe for DiskAsyncReplication
impl Send for DiskAsyncReplication
impl Sync for DiskAsyncReplication
impl Unpin for DiskAsyncReplication
impl UnwindSafe for DiskAsyncReplication
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