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

pub struct ReidentifyContentRequest {
    pub parent: String,
    pub reidentify_config: Option<DeidentifyConfig>,
    pub inspect_config: Option<InspectConfig>,
    pub item: Option<ContentItem>,
    pub inspect_template_name: String,
    pub reidentify_template_name: String,
    pub location_id: String,
}

Request to re-identify an item.

Fields

parent: String

Required. 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
reidentify_config: Option<DeidentifyConfig>

Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are:

inspect_config: Option<InspectConfig>

Configuration for the inspector.

item: Option<ContentItem>

The item to re-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.

reidentify_template_name: String

Template to use. References an instance of DeidentifyTemplate. Any configuration directly specified in reidentify_config or inspect_config will override those set in the template. The DeidentifyTemplate used must include only reversible transformations. 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 ReidentifyContentRequest[src]

impl Debug for ReidentifyContentRequest[src]

impl Default for ReidentifyContentRequest[src]

impl Message for ReidentifyContentRequest[src]

impl PartialEq<ReidentifyContentRequest> for ReidentifyContentRequest[src]

impl StructuralPartialEq for ReidentifyContentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ReidentifyContentRequest

impl Send for ReidentifyContentRequest

impl Sync for ReidentifyContentRequest

impl Unpin for ReidentifyContentRequest

impl UnwindSafe for ReidentifyContentRequest

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]