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

pub struct CreateInspectTemplateRequest {
    pub parent: String,
    pub inspect_template: Option<InspectTemplate>,
    pub template_id: String,
    pub location_id: String,
}

Request message for CreateInspectTemplate.

Fields

parent: String

Required. Parent resource name.

The format of this value varies depending on the scope of the request (project or organization) and 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_template: Option<InspectTemplate>

Required. The InspectTemplate to create.

template_id: String

The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

location_id: String

Deprecated. This field has no effect.

Trait Implementations

impl Clone for CreateInspectTemplateRequest[src]

impl Debug for CreateInspectTemplateRequest[src]

impl Default for CreateInspectTemplateRequest[src]

impl Message for CreateInspectTemplateRequest[src]

impl PartialEq<CreateInspectTemplateRequest> for CreateInspectTemplateRequest[src]

impl StructuralPartialEq for CreateInspectTemplateRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateInspectTemplateRequest

impl Send for CreateInspectTemplateRequest

impl Sync for CreateInspectTemplateRequest

impl Unpin for CreateInspectTemplateRequest

impl UnwindSafe for CreateInspectTemplateRequest

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]