Struct google_api_proto::google::monitoring::v3::ListServicesRequest
source · pub struct ListServicesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
The ListServices
request.
Fields§
§parent: String
Required. Resource name of the parent containing the listed services, either a project or a Monitoring Metrics Scope. The formats are:
projects/\[PROJECT_ID_OR_NUMBER\]
workspaces/\[HOST_PROJECT_ID_OR_NUMBER\]
filter: String
A filter specifying what Service
s to return. The filter supports
filtering on a particular service-identifier type or one of its attributes.
To filter on a particular service-identifier type, the identifier_case
refers to which option in the identifier
field is populated. For example,
the filter identifier_case = "CUSTOM"
would match all services with a
value for the custom
field. Valid options include “CUSTOM”, “APP_ENGINE”,
“MESH_ISTIO”, and the other options listed at
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
To filter on an attribute of a service-identifier type, apply the filter
name by using the snake case of the service-identifier type and the
attribute of that service-identifier type, and join the two with a period.
For example, to filter by the meshUid
field of the MeshIstio
service-identifier type, you must filter on mesh_istio.mesh_uid = "123"
to match all services with mesh UID “123”. Service-identifier types
and their attributes are described at
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
page_size: i32
A non-negative number that is the maximum number of results to return. When 0, use default page size.
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 additional results from the previous method call.
Trait Implementations§
source§impl Clone for ListServicesRequest
impl Clone for ListServicesRequest
source§fn clone(&self) -> ListServicesRequest
fn clone(&self) -> ListServicesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListServicesRequest
impl Debug for ListServicesRequest
source§impl Default for ListServicesRequest
impl Default for ListServicesRequest
source§impl Message for ListServicesRequest
impl Message for ListServicesRequest
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 ListServicesRequest
impl PartialEq for ListServicesRequest
source§fn eq(&self, other: &ListServicesRequest) -> bool
fn eq(&self, other: &ListServicesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListServicesRequest
Auto Trait Implementations§
impl Freeze for ListServicesRequest
impl RefUnwindSafe for ListServicesRequest
impl Send for ListServicesRequest
impl Sync for ListServicesRequest
impl Unpin for ListServicesRequest
impl UnwindSafe for ListServicesRequest
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