Struct googapis::google::cloud::tasks::v2::ListQueuesRequest [−][src]
pub struct ListQueuesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for [ListQueues][google.cloud.tasks.v2.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.v2.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 “state: PAUSED”.
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.v2.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.v2.ListQueuesResponse.next_page_token] returned from the previous call to [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] method. It is an error to switch the value of the [filter][google.cloud.tasks.v2.ListQueuesRequest.filter] while iterating through pages.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListQueuesRequest
impl Send for ListQueuesRequest
impl Sync for ListQueuesRequest
impl Unpin for ListQueuesRequest
impl UnwindSafe for ListQueuesRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more