#[non_exhaustive]pub struct ListQueuesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for ListQueues.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The location name.
For example: projects/PROJECT_ID/locations/LOCATION_ID
filter: Stringfilter can be used to specify a subset of queues. Any
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: i32Requested 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 in the response to determine if more queues exist.
page_token: StringA 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 returned from the previous call to ListQueues method. It is an error to switch the value of the filter while iterating through pages.
Implementations§
Source§impl ListQueuesRequest
impl ListQueuesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
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 more