[][src]Struct google_dlp2::GooglePrivacyDlpV2JobTrigger

pub struct GooglePrivacyDlpV2JobTrigger {
    pub status: Option<String>,
    pub update_time: Option<String>,
    pub errors: Option<Vec<GooglePrivacyDlpV2Error>>,
    pub display_name: Option<String>,
    pub description: Option<String>,
    pub inspect_job: Option<GooglePrivacyDlpV2InspectJobConfig>,
    pub triggers: Option<Vec<GooglePrivacyDlpV2Trigger>>,
    pub last_run_time: Option<String>,
    pub create_time: Option<String>,
    pub name: Option<String>,
}

Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.

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).

Fields

status: Option<String>

Required. A status for this trigger.

update_time: Option<String>

Output only. The last update timestamp of a triggeredJob.

errors: Option<Vec<GooglePrivacyDlpV2Error>>

Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.

display_name: Option<String>

Display name (max 100 chars)

description: Option<String>

User provided description (max 256 chars)

inspect_job: Option<GooglePrivacyDlpV2InspectJobConfig>

For inspect jobs, a snapshot of the configuration.

triggers: Option<Vec<GooglePrivacyDlpV2Trigger>>

A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.

last_run_time: Option<String>

Output only. The timestamp of the last time this trigger executed.

create_time: Option<String>

Output only. The creation timestamp of a triggeredJob.

name: Option<String>

Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example projects/dlp-test-project/jobTriggers/53234423.

Trait Implementations

impl Clone for GooglePrivacyDlpV2JobTrigger[src]

impl Debug for GooglePrivacyDlpV2JobTrigger[src]

impl Default for GooglePrivacyDlpV2JobTrigger[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2JobTrigger[src]

impl ResponseResult for GooglePrivacyDlpV2JobTrigger[src]

impl Serialize for GooglePrivacyDlpV2JobTrigger[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any