Struct google_api_proto::google::privacy::dlp::v2::ReidentifyContentRequest
source · 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,
}
Expand description
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:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
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:
CryptoDeterministicConfig
CryptoReplaceFfxFpeConfig
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§
source§impl Clone for ReidentifyContentRequest
impl Clone for ReidentifyContentRequest
source§fn clone(&self) -> ReidentifyContentRequest
fn clone(&self) -> ReidentifyContentRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReidentifyContentRequest
impl Debug for ReidentifyContentRequest
source§impl Default for ReidentifyContentRequest
impl Default for ReidentifyContentRequest
source§impl Message for ReidentifyContentRequest
impl Message for ReidentifyContentRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ReidentifyContentRequest
impl PartialEq for ReidentifyContentRequest
source§fn eq(&self, other: &ReidentifyContentRequest) -> bool
fn eq(&self, other: &ReidentifyContentRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReidentifyContentRequest
Auto Trait Implementations§
impl !Freeze for ReidentifyContentRequest
impl RefUnwindSafe for ReidentifyContentRequest
impl Send for ReidentifyContentRequest
impl Sync for ReidentifyContentRequest
impl Unpin for ReidentifyContentRequest
impl UnwindSafe for ReidentifyContentRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request