[][src]Struct gcp_client::google::cloud::dataproc::v1::ListJobsRequest

pub struct ListJobsRequest {
    pub project_id: String,
    pub region: String,
    pub page_size: i32,
    pub page_token: String,
    pub cluster_name: String,
    pub job_state_matcher: i32,
    pub filter: String,
}

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]