Struct google_api_proto::google::firestore::admin::v1::BackupSchedule
source · pub struct BackupSchedule {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub retention: Option<Duration>,
pub recurrence: Option<Recurrence>,
}
Expand description
A backup schedule for a Cloud Firestore Database.
This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.
Fields§
§name: String
Output only. The unique backup schedule identifier across all locations and databases for the given project.
This will be auto-assigned.
Format is
projects/{project}/databases/{database}/backupSchedules/{backup_schedule}
create_time: Option<Timestamp>
Output only. The timestamp at which this backup schedule was created and effective since.
No backups will be created for this schedule before this time.
update_time: Option<Timestamp>
Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.
retention: Option<Duration>
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
The maximum supported retention period is 14 weeks.
recurrence: Option<Recurrence>
A oneof field to represent when backups will be taken.
Trait Implementations§
source§impl Clone for BackupSchedule
impl Clone for BackupSchedule
source§fn clone(&self) -> BackupSchedule
fn clone(&self) -> BackupSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupSchedule
impl Debug for BackupSchedule
source§impl Default for BackupSchedule
impl Default for BackupSchedule
source§impl Message for BackupSchedule
impl Message for BackupSchedule
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 BackupSchedule
impl PartialEq for BackupSchedule
source§fn eq(&self, other: &BackupSchedule) -> bool
fn eq(&self, other: &BackupSchedule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackupSchedule
Auto Trait Implementations§
impl Freeze for BackupSchedule
impl RefUnwindSafe for BackupSchedule
impl Send for BackupSchedule
impl Sync for BackupSchedule
impl Unpin for BackupSchedule
impl UnwindSafe for BackupSchedule
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