Struct gapi_grpc::google::cloud::dataproc::v1::ListJobsRequest [−][src]
A request to list jobs in a project.
Fields
project_id: String
Required. The ID of the Google Cloud Platform project that the job belongs to.
region: String
Required. The Dataproc region in which to handle the request.
page_size: i32
Optional. The number of results to return in each response.
page_token: String
Optional. The page token, returned by a previous call, to request the next page of results.
cluster_name: String
Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.
job_state_matcher: i32
Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).
If filter
is provided, jobStateMatcher
will be ignored.
filter: String
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:
[field = value] AND [field [= value]] …
where field is status.state
or labels.[KEY]
, and [KEY]
is a label
key. value can be *
to match all values.
status.state
can be either ACTIVE
or NON_ACTIVE
.
Only the logical AND
operator is supported; space-separated items are
treated as having an implicit AND
operator.
Example filter:
status.state = ACTIVE AND labels.env = staging AND labels.starred = *
Implementations
impl ListJobsRequest
[src][−]
pub fn job_state_matcher(&self) -> JobStateMatcher
[src][−]
Returns the enum value of job_state_matcher
, or the default if the field is set to an invalid enum value.
pub fn set_job_state_matcher(&mut self, value: JobStateMatcher)
[src][−]
Sets job_state_matcher
to the provided enum value.
Trait Implementations
impl Clone for ListJobsRequest
[src][+]
impl Debug for ListJobsRequest
[src][+]
impl Default for ListJobsRequest
[src][+]
impl Message for ListJobsRequest
[src][+]
impl PartialEq<ListJobsRequest> for ListJobsRequest
[src][+]
impl StructuralPartialEq for ListJobsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for ListJobsRequest
impl Send for ListJobsRequest
impl Sync for ListJobsRequest
impl Unpin for ListJobsRequest
impl UnwindSafe for ListJobsRequest
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>,