Enum google_api_proto::google::cloud::dialogflow::cx::v3::security_settings::DataRetention
source · pub enum DataRetention {
RetentionWindowDays(i32),
RetentionStrategy(i32),
}
Expand description
Specifies how data is retained. Note that even if the data is purged due to retention policy, we may still hold it in backup storage for a few days without allowing direct readings.
Variants§
RetentionWindowDays(i32)
Retains the data for the specified number of days. User must set a value lower than Dialogflow’s default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL. When data retention configuration is changed, it only applies to the data created after the change; the TTL of existing data created before the change stays intact.
RetentionStrategy(i32)
Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy].
Implementations§
source§impl DataRetention
impl DataRetention
sourcepub fn merge(
field: &mut Option<DataRetention>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<DataRetention>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for DataRetention
impl Clone for DataRetention
source§fn clone(&self) -> DataRetention
fn clone(&self) -> DataRetention
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataRetention
impl Debug for DataRetention
source§impl PartialEq for DataRetention
impl PartialEq for DataRetention
source§fn eq(&self, other: &DataRetention) -> bool
fn eq(&self, other: &DataRetention) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for DataRetention
impl StructuralPartialEq for DataRetention
Auto Trait Implementations§
impl Freeze for DataRetention
impl RefUnwindSafe for DataRetention
impl Send for DataRetention
impl Sync for DataRetention
impl Unpin for DataRetention
impl UnwindSafe for DataRetention
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