Struct google_dlp2::api::GooglePrivacyDlpV2JobTrigger
source · pub struct GooglePrivacyDlpV2JobTrigger {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub display_name: Option<String>,
pub errors: Option<Vec<GooglePrivacyDlpV2Error>>,
pub inspect_job: Option<GooglePrivacyDlpV2InspectJobConfig>,
pub last_run_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub status: Option<String>,
pub triggers: Option<Vec<GooglePrivacyDlpV2Trigger>>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/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).
- locations job triggers create organizations (response)
- locations job triggers get organizations (response)
- locations job triggers patch organizations (response)
- job triggers create projects (response)
- job triggers get projects (response)
- job triggers patch projects (response)
- locations job triggers create projects (response)
- locations job triggers get projects (response)
- locations job triggers patch projects (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The creation timestamp of a triggeredJob.
description: Option<String>
User provided description (max 256 chars)
display_name: Option<String>
Display name (max 100 chars)
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.
inspect_job: Option<GooglePrivacyDlpV2InspectJobConfig>
For inspect jobs, a snapshot of the configuration.
last_run_time: Option<DateTime<Utc>>
Output only. The timestamp of the last time this trigger executed.
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
.
status: Option<String>
Required. A status for this trigger.
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.
update_time: Option<DateTime<Utc>>
Output only. The last update timestamp of a triggeredJob.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2JobTrigger
impl Clone for GooglePrivacyDlpV2JobTrigger
source§fn clone(&self) -> GooglePrivacyDlpV2JobTrigger
fn clone(&self) -> GooglePrivacyDlpV2JobTrigger
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more