Struct google_api_proto::google::apps::alertcenter::v1beta1::ListAlertsRequest
source · pub struct ListAlertsRequest {
pub customer_id: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
}
Expand description
An alert listing request.
Fields§
§customer_id: String
Optional. The unique identifier of the Google Workspace account of the
customer the alerts are associated with. The customer_id
must have the
initial “C” stripped (for example, 046psxkn
). Inferred from the caller
identity if not provided. Find your customer
ID.
page_size: i32
Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.
page_token: String
Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous ListAlertsResponse’s [next_page_token][google.apps.alertcenter.v1beta1.ListAlertsResponse.next_page_token] field.
filter: String
Optional. A query string for filtering alert results. For more details, see Query filters and Supported query filter fields.
order_by: String
Optional. The sort order of the list results.
If not specified results may be returned in arbitrary order.
You can sort the results in descending order based on the creation
timestamp using order_by="create_time desc"
.
Currently, supported sorting are create_time asc
, create_time desc
,
update_time desc
Trait Implementations§
source§impl Clone for ListAlertsRequest
impl Clone for ListAlertsRequest
source§fn clone(&self) -> ListAlertsRequest
fn clone(&self) -> ListAlertsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAlertsRequest
impl Debug for ListAlertsRequest
source§impl Default for ListAlertsRequest
impl Default for ListAlertsRequest
source§impl Message for ListAlertsRequest
impl Message for ListAlertsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListAlertsRequest
impl PartialEq for ListAlertsRequest
source§fn eq(&self, other: &ListAlertsRequest) -> bool
fn eq(&self, other: &ListAlertsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAlertsRequest
Auto Trait Implementations§
impl Freeze for ListAlertsRequest
impl RefUnwindSafe for ListAlertsRequest
impl Send for ListAlertsRequest
impl Sync for ListAlertsRequest
impl Unpin for ListAlertsRequest
impl UnwindSafe for ListAlertsRequest
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