Struct google_api_proto::google::cloud::tasks::v2beta2::ListQueuesRequest
source · pub struct ListQueuesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub read_mask: Option<FieldMask>,
}
Expand description
Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
Fields§
§parent: String
Required. The location name.
For example: projects/PROJECT_ID/locations/LOCATION_ID
filter: String
filter
can be used to specify a subset of queues. Any
[Queue][google.cloud.tasks.v2beta2.Queue] field can be used as a filter and
several operators as supported. For example: <=, <, >=, >, !=, =, :
. The
filter syntax is the same as described in Stackdriver’s Advanced Logs
Filters.
Sample filter “app_engine_http_target: *”.
Note that using filters might cause fewer queues than the requested_page size to be returned.
page_size: i32
Requested page size.
The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the response to determine if more queues exist.
page_token: String
A token identifying the page of results to return.
To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It is an error to switch the value of the [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages.
read_mask: Option<FieldMask>
Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats] will be returned only if it was explicitly specified in the mask.
Trait Implementations§
source§impl Clone for ListQueuesRequest
impl Clone for ListQueuesRequest
source§fn clone(&self) -> ListQueuesRequest
fn clone(&self) -> ListQueuesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListQueuesRequest
impl Debug for ListQueuesRequest
source§impl Default for ListQueuesRequest
impl Default for ListQueuesRequest
source§impl Message for ListQueuesRequest
impl Message for ListQueuesRequest
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 ListQueuesRequest
impl PartialEq for ListQueuesRequest
source§fn eq(&self, other: &ListQueuesRequest) -> bool
fn eq(&self, other: &ListQueuesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListQueuesRequest
Auto Trait Implementations§
impl Freeze for ListQueuesRequest
impl RefUnwindSafe for ListQueuesRequest
impl Send for ListQueuesRequest
impl Sync for ListQueuesRequest
impl Unpin for ListQueuesRequest
impl UnwindSafe for ListQueuesRequest
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