[−][src]Struct google_dlp2::GooglePrivacyDlpV2CustomInfoType
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
This type is not used in any activity, and only used as part of another schema.
Fields
regex: Option<GooglePrivacyDlpV2Regex>
Regular expression based CustomInfoType.
surrogate_type: Option<GooglePrivacyDlpV2SurrogateType>
Message for detecting output from deidentification transformations that support reversing.
info_type: Option<GooglePrivacyDlpV2InfoType>
CustomInfoType can either be a new infoType, or an extension of built-in
infoType, when the name matches one of existing infoTypes and that infoType
is specified in InspectContent.info_types
field. Specifying the latter
adds findings to the one detected by the system. If built-in info type is
not specified in InspectContent.info_types
list then the name is treated
as a custom info type.
dictionary: Option<GooglePrivacyDlpV2Dictionary>
A list of phrases to detect as a CustomInfoType.
stored_type: Option<GooglePrivacyDlpV2StoredType>
Load an existing StoredInfoType
resource for use in
InspectDataSource
. Not currently supported in InspectContent
.
detection_rules: Option<Vec<GooglePrivacyDlpV2DetectionRule>>
Set of detection rules to apply to all findings of this CustomInfoType.
Rules are applied in order that they are specified. Not supported for the
surrogate_type
CustomInfoType.
exclusion_type: Option<String>
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
likelihood: Option<String>
Likelihood to return for this CustomInfoType. This base value can be
altered by a detection rule if the finding meets the criteria specified by
the rule. Defaults to VERY_LIKELY
if not specified.
Trait Implementations
impl Clone for GooglePrivacyDlpV2CustomInfoType
[src]
fn clone(&self) -> GooglePrivacyDlpV2CustomInfoType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GooglePrivacyDlpV2CustomInfoType
[src]
impl Default for GooglePrivacyDlpV2CustomInfoType
[src]
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CustomInfoType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GooglePrivacyDlpV2CustomInfoType
[src]
impl Serialize for GooglePrivacyDlpV2CustomInfoType
[src]
Auto Trait Implementations
impl RefUnwindSafe for GooglePrivacyDlpV2CustomInfoType
impl Send for GooglePrivacyDlpV2CustomInfoType
impl Sync for GooglePrivacyDlpV2CustomInfoType
impl Unpin for GooglePrivacyDlpV2CustomInfoType
impl UnwindSafe for GooglePrivacyDlpV2CustomInfoType
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,