Struct google_dlp2_beta1::GooglePrivacyDlpV2beta1ImageRedactionConfig[][src]

pub struct GooglePrivacyDlpV2beta1ImageRedactionConfig {
    pub redact_all_text: Option<bool>,
    pub info_type: Option<GooglePrivacyDlpV2beta1InfoType>,
    pub redaction_color: Option<GooglePrivacyDlpV2beta1Color>,
}

Configuration for determining how redaction of images should occur.

This type is not used in any activity, and only used as part of another schema.

Fields

If true, all text found in the image, regardless whether it matches an info_type, is redacted.

Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.

The color to use when redacting content from an image. If not specified, the default is black.

Trait Implementations

impl Default for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]

Formats the value using the given formatter. Read more

impl Part for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]

Auto Trait Implementations