Struct google_api_proto::google::privacy::dlp::v2::InspectContentRequest
source · pub struct InspectContentRequest {
pub parent: String,
pub inspect_config: Option<InspectConfig>,
pub item: Option<ContentItem>,
pub inspect_template_name: String,
pub location_id: String,
}
Expand description
Request to search for potentially sensitive info in a ContentItem.
Fields§
§parent: String
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
inspect_config: Option<InspectConfig>
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
item: Option<ContentItem>
The item to inspect.
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.
location_id: String
Deprecated. This field has no effect.
Trait Implementations§
source§impl Clone for InspectContentRequest
impl Clone for InspectContentRequest
source§fn clone(&self) -> InspectContentRequest
fn clone(&self) -> InspectContentRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InspectContentRequest
impl Debug for InspectContentRequest
source§impl Default for InspectContentRequest
impl Default for InspectContentRequest
source§impl Message for InspectContentRequest
impl Message for InspectContentRequest
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 InspectContentRequest
impl PartialEq for InspectContentRequest
source§fn eq(&self, other: &InspectContentRequest) -> bool
fn eq(&self, other: &InspectContentRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InspectContentRequest
Auto Trait Implementations§
impl !Freeze for InspectContentRequest
impl RefUnwindSafe for InspectContentRequest
impl Send for InspectContentRequest
impl Sync for InspectContentRequest
impl Unpin for InspectContentRequest
impl UnwindSafe for InspectContentRequest
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