Struct google_api_proto::google::privacy::dlp::v2::JobTrigger
source · pub struct JobTrigger {
pub name: String,
pub display_name: String,
pub description: String,
pub triggers: Vec<Trigger>,
pub errors: Vec<Error>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub last_run_time: Option<Timestamp>,
pub status: i32,
pub job: Option<Job>,
}
Expand description
Contains a configuration to make API calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/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§
source§impl JobTrigger
impl JobTrigger
Trait Implementations§
source§impl Clone for JobTrigger
impl Clone for JobTrigger
source§fn clone(&self) -> JobTrigger
fn clone(&self) -> JobTrigger
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobTrigger
impl Debug for JobTrigger
source§impl Default for JobTrigger
impl Default for JobTrigger
source§impl Message for JobTrigger
impl Message for JobTrigger
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for JobTrigger
impl PartialEq for JobTrigger
source§fn eq(&self, other: &JobTrigger) -> bool
fn eq(&self, other: &JobTrigger) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobTrigger
Auto Trait Implementations§
impl Freeze for JobTrigger
impl RefUnwindSafe for JobTrigger
impl Send for JobTrigger
impl Sync for JobTrigger
impl Unpin for JobTrigger
impl UnwindSafe for JobTrigger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request