pub struct ListNotificationChannelsRequest {
pub name: String,
pub filter: String,
pub order_by: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
The ListNotificationChannels
request.
Fields§
§name: String
Required. 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
][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
filter: String
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: String
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: i32
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: String
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.
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 Message for ListNotificationChannelsRequest
impl Message for ListNotificationChannelsRequest
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 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 ==
.impl StructuralPartialEq for ListNotificationChannelsRequest
Auto Trait Implementations§
impl Freeze for ListNotificationChannelsRequest
impl RefUnwindSafe for ListNotificationChannelsRequest
impl Send for ListNotificationChannelsRequest
impl Sync for ListNotificationChannelsRequest
impl Unpin for ListNotificationChannelsRequest
impl UnwindSafe for ListNotificationChannelsRequest
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