[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::ListClustersRequest

pub struct ListClustersRequest {
    pub project_id: String,
    pub region: String,
    pub filter: String,
    pub page_size: i32,
    pub page_token: String,
}

A request to list the clusters in a project.

Fields

project_id: String

Required. The ID of the Google Cloud Platform project that the cluster belongs to.

region: String

Required. The Dataproc region in which to handle the request.

filter: String

Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:

field = value [AND [field = value]] ...

where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.

Example filter:

status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *

page_size: i32

Optional. The standard List page size.

page_token: String

Optional. The standard List page token.

Trait Implementations

impl Clone for ListClustersRequest[src]

impl Debug for ListClustersRequest[src]

impl Default for ListClustersRequest[src]

impl Message for ListClustersRequest[src]

impl PartialEq<ListClustersRequest> for ListClustersRequest[src]

impl StructuralPartialEq for ListClustersRequest[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]