Struct google_api_proto::google::monitoring::v3::ListAlertPoliciesRequest
source · pub struct ListAlertPoliciesRequest {
pub name: String,
pub filter: String,
pub order_by: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
The protocol for the ListAlertPolicies
request.
Fields§
§name: String
Required. The project whose alert policies are to be listed. The format is:
projects/\[PROJECT_ID_OR_NUMBER\]
Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] operation, instead.
filter: String
If provided, this field specifies the criteria that must be met by alert policies 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 field references as the filter
field. Entries can be
prefixed with a minus sign to sort by the field in descending order.
For more details, see sorting and filtering.
page_size: i32
The maximum number of results to return in a single response.
page_token: String
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return more results from the previous method call.
Trait Implementations§
source§impl Clone for ListAlertPoliciesRequest
impl Clone for ListAlertPoliciesRequest
source§fn clone(&self) -> ListAlertPoliciesRequest
fn clone(&self) -> ListAlertPoliciesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAlertPoliciesRequest
impl Debug for ListAlertPoliciesRequest
source§impl Default for ListAlertPoliciesRequest
impl Default for ListAlertPoliciesRequest
source§impl Message for ListAlertPoliciesRequest
impl Message for ListAlertPoliciesRequest
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 ListAlertPoliciesRequest
impl PartialEq for ListAlertPoliciesRequest
source§fn eq(&self, other: &ListAlertPoliciesRequest) -> bool
fn eq(&self, other: &ListAlertPoliciesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAlertPoliciesRequest
Auto Trait Implementations§
impl Freeze for ListAlertPoliciesRequest
impl RefUnwindSafe for ListAlertPoliciesRequest
impl Send for ListAlertPoliciesRequest
impl Sync for ListAlertPoliciesRequest
impl Unpin for ListAlertPoliciesRequest
impl UnwindSafe for ListAlertPoliciesRequest
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