Struct google_api_proto::google::privacy::dlp::v2::DataProfileJobConfig
source · pub struct DataProfileJobConfig {
pub location: Option<DataProfileLocation>,
pub project_id: String,
pub inspect_templates: Vec<String>,
pub data_profile_actions: Vec<DataProfileAction>,
}
Expand description
Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project.
The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
Fields§
§location: Option<DataProfileLocation>
The data to scan.
project_id: String
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
inspect_templates: Vec<String>
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including “global”). Each region is scanned using the applicable template. If no region-specific template is specified, but a “global” template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region’s data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
data_profile_actions: Vec<DataProfileAction>
Actions to execute at the completion of the job.
Trait Implementations§
source§impl Clone for DataProfileJobConfig
impl Clone for DataProfileJobConfig
source§fn clone(&self) -> DataProfileJobConfig
fn clone(&self) -> DataProfileJobConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataProfileJobConfig
impl Debug for DataProfileJobConfig
source§impl Default for DataProfileJobConfig
impl Default for DataProfileJobConfig
source§impl Message for DataProfileJobConfig
impl Message for DataProfileJobConfig
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 DataProfileJobConfig
impl PartialEq for DataProfileJobConfig
source§fn eq(&self, other: &DataProfileJobConfig) -> bool
fn eq(&self, other: &DataProfileJobConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataProfileJobConfig
Auto Trait Implementations§
impl Freeze for DataProfileJobConfig
impl RefUnwindSafe for DataProfileJobConfig
impl Send for DataProfileJobConfig
impl Sync for DataProfileJobConfig
impl Unpin for DataProfileJobConfig
impl UnwindSafe for DataProfileJobConfig
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