pub struct GooglePrivacyDlpV2beta1RedactContentRequest {
pub items: Option<Vec<GooglePrivacyDlpV2beta1ContentItem>>,
pub replace_configs: Option<Vec<GooglePrivacyDlpV2beta1ReplaceConfig>>,
pub image_redaction_configs: Option<Vec<GooglePrivacyDlpV2beta1ImageRedactionConfig>>,
pub inspect_config: Option<GooglePrivacyDlpV2beta1InspectConfig>,
}
Expand description
Request to search for potentially sensitive info in a list of items and replace it with a default or provided content.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- redact content (request)
Fields§
§items: Option<Vec<GooglePrivacyDlpV2beta1ContentItem>>
The list of items to inspect. Up to 100 are allowed per request.
replace_configs: Option<Vec<GooglePrivacyDlpV2beta1ReplaceConfig>>
The strings to replace findings text findings with. Must specify at least one of these or one ImageRedactionConfig if redacting images.
image_redaction_configs: Option<Vec<GooglePrivacyDlpV2beta1ImageRedactionConfig>>
The configuration for specifying what content to redact from images.
inspect_config: Option<GooglePrivacyDlpV2beta1InspectConfig>
Configuration for the inspector.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1RedactContentRequest
impl Clone for GooglePrivacyDlpV2beta1RedactContentRequest
source§fn clone(&self) -> GooglePrivacyDlpV2beta1RedactContentRequest
fn clone(&self) -> GooglePrivacyDlpV2beta1RedactContentRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GooglePrivacyDlpV2beta1RedactContentRequest
impl Default for GooglePrivacyDlpV2beta1RedactContentRequest
source§fn default() -> GooglePrivacyDlpV2beta1RedactContentRequest
fn default() -> GooglePrivacyDlpV2beta1RedactContentRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1RedactContentRequest
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1RedactContentRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for GooglePrivacyDlpV2beta1RedactContentRequest
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1RedactContentRequest
impl Send for GooglePrivacyDlpV2beta1RedactContentRequest
impl Sync for GooglePrivacyDlpV2beta1RedactContentRequest
impl Unpin for GooglePrivacyDlpV2beta1RedactContentRequest
impl UnwindSafe for GooglePrivacyDlpV2beta1RedactContentRequest
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
Mutably borrows from an owned value. Read more