[][src]Struct google_dlp2::GooglePrivacyDlpV2InspectConfig

pub struct GooglePrivacyDlpV2InspectConfig {
    pub exclude_info_types: Option<bool>,
    pub limits: Option<GooglePrivacyDlpV2FindingLimits>,
    pub min_likelihood: Option<String>,
    pub custom_info_types: Option<Vec<GooglePrivacyDlpV2CustomInfoType>>,
    pub include_quote: Option<bool>,
    pub rule_set: Option<Vec<GooglePrivacyDlpV2InspectionRuleSet>>,
    pub content_options: Option<Vec<String>>,
    pub info_types: Option<Vec<GooglePrivacyDlpV2InfoType>>,
}

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]

impl Debug for GooglePrivacyDlpV2InspectConfig[src]

impl Default for GooglePrivacyDlpV2InspectConfig[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2InspectConfig[src]

impl Part for GooglePrivacyDlpV2InspectConfig[src]

impl Serialize for GooglePrivacyDlpV2InspectConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any