Struct gapi_grpc::google::privacy::dlp::v2::RedactImageRequest[][src]

pub struct RedactImageRequest {
    pub parent: String,
    pub location_id: String,
    pub inspect_config: Option<InspectConfig>,
    pub image_redaction_configs: Vec<ImageRedactionConfig>,
    pub include_findings: bool,
    pub byte_item: Option<ByteContentItem>,
}

Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.

Fields

parent: String

Parent resource name.

The format of this value varies depending on whether you have specified a processing location:

The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data:

parent=projects/example-project/locations/europe-west3
location_id: String

Deprecated. This field has no effect.

inspect_config: Option<InspectConfig>

Configuration for the inspector.

image_redaction_configs: Vec<ImageRedactionConfig>

The configuration for specifying what content to redact from images.

include_findings: bool

Whether the response should include findings along with the redacted image.

byte_item: Option<ByteContentItem>

The content must be PNG, JPEG, SVG or BMP.

Trait Implementations

impl Clone for RedactImageRequest[src]

impl Debug for RedactImageRequest[src]

impl Default for RedactImageRequest[src]

impl Message for RedactImageRequest[src]

impl PartialEq<RedactImageRequest> for RedactImageRequest[src]

impl StructuralPartialEq for RedactImageRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RedactImageRequest

impl Send for RedactImageRequest

impl Sync for RedactImageRequest

impl Unpin for RedactImageRequest

impl UnwindSafe for RedactImageRequest

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]