Struct google_api_proto::google::bigtable::admin::v2::CopyBackupRequest
source · pub struct CopyBackupRequest {
pub parent: String,
pub backup_id: String,
pub source_backup: String,
pub expire_time: Option<Timestamp>,
}
Expand description
The request for [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
Fields§
§parent: String
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
projects/{project}/instances/{instance}/clusters/{cluster}
.
backup_id: String
Required. The id of the new backup. The backup_id
along with parent
are combined as {parent}/backups/{backup_id} to create the full backup
name, of the form:
projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}
.
This string must be between 1 and 50 characters in length and match the
regex [a-zA-Z0-9][-.a-zA-Z0-9]*.
source_backup: String
Required. The source backup to be copied from.
The source backup needs to be in READY state for it to be copied.
Copying a copied backup is not allowed.
Once CopyBackup is in progress, the source backup cannot be deleted or
cleaned up on expiration until CopyBackup is finished.
Values are of the form:
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
expire_time: Option<Timestamp>
Required. Required. The expiration time of the copied backup with
microsecond granularity that must be at least 6 hours and at most 30 days
from the time the request is received. Once the expire_time
has
passed, Cloud Bigtable will delete the backup and free the resources used
by the backup.
Trait Implementations§
source§impl Clone for CopyBackupRequest
impl Clone for CopyBackupRequest
source§fn clone(&self) -> CopyBackupRequest
fn clone(&self) -> CopyBackupRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CopyBackupRequest
impl Debug for CopyBackupRequest
source§impl Default for CopyBackupRequest
impl Default for CopyBackupRequest
source§impl Message for CopyBackupRequest
impl Message for CopyBackupRequest
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 CopyBackupRequest
impl PartialEq for CopyBackupRequest
source§fn eq(&self, other: &CopyBackupRequest) -> bool
fn eq(&self, other: &CopyBackupRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CopyBackupRequest
Auto Trait Implementations§
impl Freeze for CopyBackupRequest
impl RefUnwindSafe for CopyBackupRequest
impl Send for CopyBackupRequest
impl Sync for CopyBackupRequest
impl Unpin for CopyBackupRequest
impl UnwindSafe for CopyBackupRequest
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