pub struct GooglePrivacyDlpV2InspectContentRequest {
pub inspect_config: Option<GooglePrivacyDlpV2InspectConfig>,
pub inspect_template_name: Option<String>,
pub item: Option<GooglePrivacyDlpV2ContentItem>,
pub location_id: Option<String>,
}
Expand description
Request to search for potentially sensitive info in a ContentItem.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- content inspect projects (request)
- locations content inspect projects (request)
Fields§
§inspect_config: Option<GooglePrivacyDlpV2InspectConfig>
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
inspect_template_name: Option<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.
item: Option<GooglePrivacyDlpV2ContentItem>
The item to inspect.
location_id: Option<String>
Deprecated. This field has no effect.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2InspectContentRequest
impl Clone for GooglePrivacyDlpV2InspectContentRequest
source§fn clone(&self) -> GooglePrivacyDlpV2InspectContentRequest
fn clone(&self) -> GooglePrivacyDlpV2InspectContentRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GooglePrivacyDlpV2InspectContentRequest
impl Default for GooglePrivacyDlpV2InspectContentRequest
source§fn default() -> GooglePrivacyDlpV2InspectContentRequest
fn default() -> GooglePrivacyDlpV2InspectContentRequest
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2InspectContentRequest
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2InspectContentRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GooglePrivacyDlpV2InspectContentRequest
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2InspectContentRequest
impl RefUnwindSafe for GooglePrivacyDlpV2InspectContentRequest
impl Send for GooglePrivacyDlpV2InspectContentRequest
impl Sync for GooglePrivacyDlpV2InspectContentRequest
impl Unpin for GooglePrivacyDlpV2InspectContentRequest
impl UnwindSafe for GooglePrivacyDlpV2InspectContentRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more