pub struct GooglePrivacyDlpV2RedactImageRequest {
pub byte_item: Option<GooglePrivacyDlpV2ByteContentItem>,
pub image_redaction_configs: Option<Vec<GooglePrivacyDlpV2ImageRedactionConfig>>,
pub include_findings: Option<bool>,
pub inspect_config: Option<GooglePrivacyDlpV2InspectConfig>,
pub location_id: Option<String>,
}
Expand description
Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
§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).
- image redact projects (request)
- locations image redact projects (request)
Fields§
§byte_item: Option<GooglePrivacyDlpV2ByteContentItem>
The content must be PNG, JPEG, SVG or BMP.
image_redaction_configs: Option<Vec<GooglePrivacyDlpV2ImageRedactionConfig>>
The configuration for specifying what content to redact from images.
include_findings: Option<bool>
Whether the response should include findings along with the redacted image.
inspect_config: Option<GooglePrivacyDlpV2InspectConfig>
Configuration for the inspector.
location_id: Option<String>
Deprecated. This field has no effect.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2RedactImageRequest
impl Clone for GooglePrivacyDlpV2RedactImageRequest
source§fn clone(&self) -> GooglePrivacyDlpV2RedactImageRequest
fn clone(&self) -> GooglePrivacyDlpV2RedactImageRequest
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 GooglePrivacyDlpV2RedactImageRequest
impl Default for GooglePrivacyDlpV2RedactImageRequest
source§fn default() -> GooglePrivacyDlpV2RedactImageRequest
fn default() -> GooglePrivacyDlpV2RedactImageRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2RedactImageRequest
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2RedactImageRequest
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 GooglePrivacyDlpV2RedactImageRequest
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2RedactImageRequest
impl Send for GooglePrivacyDlpV2RedactImageRequest
impl Sync for GooglePrivacyDlpV2RedactImageRequest
impl Unpin for GooglePrivacyDlpV2RedactImageRequest
impl UnwindSafe for GooglePrivacyDlpV2RedactImageRequest
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