Struct google_api_proto::google::analytics::admin::v1alpha::DataRedactionSettings
source · pub struct DataRedactionSettings {
pub name: String,
pub email_redaction_enabled: bool,
pub query_parameter_redaction_enabled: bool,
pub query_parameter_keys: Vec<String>,
}
Expand description
Settings for client-side data redaction. Singleton resource under a Web Stream.
Fields§
§name: String
Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings Example: “properties/1000/dataStreams/2000/dataRedactionSettings”
email_redaction_enabled: bool
If enabled, any event parameter or user property values that look like an email will be redacted.
query_parameter_redaction_enabled: bool
Query Parameter redaction removes the key and value portions of a query parameter if it is in the configured set of query parameters.
If enabled, URL query replacement logic will be run for the Stream. Any query parameters defined in query_parameter_keys will be redacted.
query_parameter_keys: Vec<String>
The query parameter keys to apply redaction logic to if present in the URL. Query parameter matching is case-insensitive.
Must contain at least one element if query_parameter_replacement_enabled is true. Keys cannot contain commas.
Trait Implementations§
source§impl Clone for DataRedactionSettings
impl Clone for DataRedactionSettings
source§fn clone(&self) -> DataRedactionSettings
fn clone(&self) -> DataRedactionSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataRedactionSettings
impl Debug for DataRedactionSettings
source§impl Default for DataRedactionSettings
impl Default for DataRedactionSettings
source§impl Message for DataRedactionSettings
impl Message for DataRedactionSettings
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 DataRedactionSettings
impl PartialEq for DataRedactionSettings
source§fn eq(&self, other: &DataRedactionSettings) -> bool
fn eq(&self, other: &DataRedactionSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataRedactionSettings
Auto Trait Implementations§
impl Freeze for DataRedactionSettings
impl RefUnwindSafe for DataRedactionSettings
impl Send for DataRedactionSettings
impl Sync for DataRedactionSettings
impl Unpin for DataRedactionSettings
impl UnwindSafe for DataRedactionSettings
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