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

pub struct InspectContentRequest {
    pub parent: String,
    pub inspect_config: Option<InspectConfig>,
    pub item: Option<ContentItem>,
    pub inspect_template_name: String,
    pub location_id: String,
}

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:

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

impl Clone for InspectContentRequest[src]

impl Debug for InspectContentRequest[src]

impl Default for InspectContentRequest[src]

impl Message for InspectContentRequest[src]

impl PartialEq<InspectContentRequest> for InspectContentRequest[src]

impl StructuralPartialEq for InspectContentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for InspectContentRequest

impl Send for InspectContentRequest

impl Sync for InspectContentRequest

impl Unpin for InspectContentRequest

impl UnwindSafe for InspectContentRequest

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]