#[non_exhaustive]pub struct ListNotificationChannelsRequest {
pub name: String,
pub filter: String,
pub order_by: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
The ListNotificationChannels request.
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.name: StringRequired. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
GetNotificationChannel
operation.
filter: StringOptional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response.
For more details, see sorting and filtering.
order_by: StringOptional. A comma-separated list of fields by which to sort the result.
Supports the same set of fields as in filter. Entries can be prefixed
with a minus sign to sort in descending rather than ascending order.
For more details, see sorting and filtering.
page_size: i32Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
page_token: StringOptional. If non-empty, page_token must contain a value returned as the
next_page_token in a previous response to request the next set
of results.
Implementations§
Source§impl ListNotificationChannelsRequest
impl ListNotificationChannelsRequest
pub fn new() -> Self
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_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
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 ListNotificationChannelsRequest
impl Clone for ListNotificationChannelsRequest
Source§fn clone(&self) -> ListNotificationChannelsRequest
fn clone(&self) -> ListNotificationChannelsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListNotificationChannelsRequest
impl Default for ListNotificationChannelsRequest
Source§fn default() -> ListNotificationChannelsRequest
fn default() -> ListNotificationChannelsRequest
Source§impl PartialEq for ListNotificationChannelsRequest
impl PartialEq for ListNotificationChannelsRequest
Source§fn eq(&self, other: &ListNotificationChannelsRequest) -> bool
fn eq(&self, other: &ListNotificationChannelsRequest) -> bool
self and other values to be equal, and is used by ==.