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

pub struct DeidentifyContentRequest {
    pub parent: String,
    pub deidentify_config: Option<DeidentifyConfig>,
    pub inspect_config: Option<InspectConfig>,
    pub item: Option<ContentItem>,
    pub inspect_template_name: String,
    pub deidentify_template_name: String,
    pub location_id: String,
}

Request to de-identify a list of items.

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
deidentify_config: Option<DeidentifyConfig>

Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.

inspect_config: Option<InspectConfig>

Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.

item: Option<ContentItem>

The item to de-identify. Will be treated as text.

inspect_template_name: String

Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

deidentify_template_name: String

Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

location_id: String

Deprecated. This field has no effect.

Trait Implementations

impl Clone for DeidentifyContentRequest[src]

impl Debug for DeidentifyContentRequest[src]

impl Default for DeidentifyContentRequest[src]

impl Message for DeidentifyContentRequest[src]

impl PartialEq<DeidentifyContentRequest> for DeidentifyContentRequest[src]

impl StructuralPartialEq for DeidentifyContentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DeidentifyContentRequest

impl Send for DeidentifyContentRequest

impl Sync for DeidentifyContentRequest

impl Unpin for DeidentifyContentRequest

impl UnwindSafe for DeidentifyContentRequest

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]