Struct google_api_proto::google::cloud::dataproc::v1::ListClustersRequest
source · pub struct ListClustersRequest {
pub project_id: String,
pub region: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
}Expand description
A request to list the clusters in a project.
Fields§
§project_id: StringRequired. The ID of the Google Cloud Platform project that the cluster belongs to.
region: StringRequired. The Dataproc region in which to handle the request.
filter: StringOptional. 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: i32Optional. The standard List page size.
page_token: StringOptional. The standard List page token.
Trait Implementations§
source§impl Clone for ListClustersRequest
impl Clone for ListClustersRequest
source§fn clone(&self) -> ListClustersRequest
fn clone(&self) -> ListClustersRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListClustersRequest
impl Debug for ListClustersRequest
source§impl Default for ListClustersRequest
impl Default for ListClustersRequest
source§impl Message for ListClustersRequest
impl Message for ListClustersRequest
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 ListClustersRequest
impl PartialEq for ListClustersRequest
source§fn eq(&self, other: &ListClustersRequest) -> bool
fn eq(&self, other: &ListClustersRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListClustersRequest
Auto Trait Implementations§
impl Freeze for ListClustersRequest
impl RefUnwindSafe for ListClustersRequest
impl Send for ListClustersRequest
impl Sync for ListClustersRequest
impl Unpin for ListClustersRequest
impl UnwindSafe for ListClustersRequest
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