[−][src]Struct google_dlp2::GooglePrivacyDlpV2InspectConfig
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
This type is not used in any activity, and only used as part of another schema.
Fields
exclude_info_types: Option<bool>
When true, excludes type information of the findings.
limits: Option<GooglePrivacyDlpV2FindingLimits>
Configuration to control the number of findings returned.
min_likelihood: Option<String>
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
custom_info_types: Option<Vec<GooglePrivacyDlpV2CustomInfoType>>
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
include_quote: Option<bool>
When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
rule_set: Option<Vec<GooglePrivacyDlpV2InspectionRuleSet>>
Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type.
content_options: Option<Vec<String>>
List of options defining data content to scan. If empty, text, images, and other content will be included.
info_types: Option<Vec<GooglePrivacyDlpV2InfoType>>
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
Trait Implementations
impl Clone for GooglePrivacyDlpV2InspectConfig
[src]
fn clone(&self) -> GooglePrivacyDlpV2InspectConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GooglePrivacyDlpV2InspectConfig
[src]
impl Default for GooglePrivacyDlpV2InspectConfig
[src]
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2InspectConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GooglePrivacyDlpV2InspectConfig
[src]
impl Serialize for GooglePrivacyDlpV2InspectConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for GooglePrivacyDlpV2InspectConfig
impl Send for GooglePrivacyDlpV2InspectConfig
impl Sync for GooglePrivacyDlpV2InspectConfig
impl Unpin for GooglePrivacyDlpV2InspectConfig
impl UnwindSafe for GooglePrivacyDlpV2InspectConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,