Struct gapi_grpc::google::privacy::dlp::v2::JobTrigger [−][src]
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.
Fields
name: String
Unique resource name for the triggeredJob, assigned by the service when the
triggeredJob is created, for example
projects/dlp-test-project/jobTriggers/53234423
.
display_name: String
Display name (max 100 chars)
description: String
User provided description (max 256 chars)
triggers: Vec<Trigger>
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.
errors: Vec<Error>
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.
create_time: Option<Timestamp>
Output only. The creation timestamp of a triggeredJob.
update_time: Option<Timestamp>
Output only. The last update timestamp of a triggeredJob.
last_run_time: Option<Timestamp>
Output only. The timestamp of the last time this trigger executed.
status: i32
Required. A status for this trigger.
job: Option<Job>
The configuration details for the specific type of job to run.
Implementations
impl JobTrigger
[src][−]
pub fn status(&self) -> Status
[src][−]
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
pub fn set_status(&mut self, value: Status)
[src][−]
Sets status
to the provided enum value.
Trait Implementations
impl Clone for JobTrigger
[src][+]
impl Debug for JobTrigger
[src][+]
impl Default for JobTrigger
[src][+]
impl Message for JobTrigger
[src][+]
impl PartialEq<JobTrigger> for JobTrigger
[src][+]
impl StructuralPartialEq for JobTrigger
[src]
Auto Trait Implementations
impl RefUnwindSafe for JobTrigger
impl Send for JobTrigger
impl Sync for JobTrigger
impl Unpin for JobTrigger
impl UnwindSafe for JobTrigger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,