Struct google_api_proto::google::privacy::dlp::v2::ListJobTriggersRequest
source · pub struct ListJobTriggersRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub order_by: String,
pub filter: String,
pub type: i32,
pub location_id: String,
}
Expand description
Request message for ListJobTriggers.
Fields§
§parent: String
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
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
page_token: String
Page token to continue retrieval. Comes from the previous call
to ListJobTriggers. order_by
field must not
change for subsequent calls.
page_size: i32
Size of the page. This value can be limited by a server.
order_by: String
Comma-separated list of triggeredJob fields to order by,
followed by asc
or desc
postfix. This list is case insensitive. The
default sorting order is ascending. Redundant space characters are
insignificant.
Example: name asc,update_time, create_time desc
Supported fields are:
create_time
: corresponds to the time the JobTrigger was created.update_time
: corresponds to the time the JobTrigger was last updated.last_run_time
: corresponds to the last time the JobTrigger ran.name
: corresponds to the JobTrigger’s name.display_name
: corresponds to the JobTrigger’s display name.status
: corresponds to JobTrigger’s status.
filter: String
Allows filtering.
Supported syntax:
- Filter expressions are made up of one or more restrictions.
- Restrictions can be combined by
AND
orOR
logical operators. A sequence of restrictions implicitly usesAND
. - A restriction has the form of
{field} {operator} {value}
. - Supported fields/values for inspect triggers:
status
- HEALTHY|PAUSED|CANCELLEDinspected_storage
- DATASTORE|CLOUD_STORAGE|BIGQUERY- ’last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored.
- ‘error_count’ - Number of errors that have occurred while running.
- The operator must be
=
or!=
for status and inspected_storage.
Examples:
- inspected_storage = cloud_storage AND status = HEALTHY
- inspected_storage = cloud_storage OR inspected_storage = bigquery
- inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
- last_run_time > "2017-12-12T00:00:00+00:00"
The length of this field should be no more than 500 characters.
type: i32
The type of jobs. Will use DlpJobType.INSPECT
if not set.
location_id: String
Deprecated. This field has no effect.
Implementations§
source§impl ListJobTriggersRequest
impl ListJobTriggersRequest
sourcepub fn type(&self) -> DlpJobType
pub fn type(&self) -> DlpJobType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: DlpJobType)
pub fn set_type(&mut self, value: DlpJobType)
Sets type
to the provided enum value.
Trait Implementations§
source§impl Clone for ListJobTriggersRequest
impl Clone for ListJobTriggersRequest
source§fn clone(&self) -> ListJobTriggersRequest
fn clone(&self) -> ListJobTriggersRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobTriggersRequest
impl Debug for ListJobTriggersRequest
source§impl Default for ListJobTriggersRequest
impl Default for ListJobTriggersRequest
source§impl Message for ListJobTriggersRequest
impl Message for ListJobTriggersRequest
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 ListJobTriggersRequest
impl PartialEq for ListJobTriggersRequest
source§fn eq(&self, other: &ListJobTriggersRequest) -> bool
fn eq(&self, other: &ListJobTriggersRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobTriggersRequest
Auto Trait Implementations§
impl Freeze for ListJobTriggersRequest
impl RefUnwindSafe for ListJobTriggersRequest
impl Send for ListJobTriggersRequest
impl Sync for ListJobTriggersRequest
impl Unpin for ListJobTriggersRequest
impl UnwindSafe for ListJobTriggersRequest
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