Struct google_api_proto::google::cloud::video::livestream::v1::RetentionConfig
source · pub struct RetentionConfig {
pub retention_window_duration: Option<Duration>,
}
Expand description
Configuration for retention of output files.
Fields§
§retention_window_duration: Option<Duration>
The minimum duration for which the output files from the channel will remain in the output bucket. After this duration, output files are deleted asynchronously.
When the channel is deleted, all output files are deleted from the output bucket asynchronously.
If omitted or set to zero, output files will remain in the output bucket based on [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration], which defaults to 60s.
If both retention_window_duration and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] are set, retention_window_duration is used and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] is ignored.
Trait Implementations§
source§impl Clone for RetentionConfig
impl Clone for RetentionConfig
source§fn clone(&self) -> RetentionConfig
fn clone(&self) -> RetentionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RetentionConfig
impl Debug for RetentionConfig
source§impl Default for RetentionConfig
impl Default for RetentionConfig
source§impl Message for RetentionConfig
impl Message for RetentionConfig
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 RetentionConfig
impl PartialEq for RetentionConfig
source§fn eq(&self, other: &RetentionConfig) -> bool
fn eq(&self, other: &RetentionConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for RetentionConfig
impl StructuralPartialEq for RetentionConfig
Auto Trait Implementations§
impl Freeze for RetentionConfig
impl RefUnwindSafe for RetentionConfig
impl Send for RetentionConfig
impl Sync for RetentionConfig
impl Unpin for RetentionConfig
impl UnwindSafe for RetentionConfig
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