pub struct ListServiceLevelObjectivesRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub view: i32,
}Expand description
The ListServiceLevelObjectives request.
Fields§
§parent: StringRequired. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Metrics Scope. The formats are:
projects/\[PROJECT_ID_OR_NUMBER\]/services/\[SERVICE_ID\]
workspaces/\[HOST_PROJECT_ID_OR_NUMBER\]/services/-filter: StringA filter specifying what ServiceLevelObjectives to return.
page_size: i32A non-negative number that is the maximum number of results to return. When 0, use default page size.
page_token: StringIf 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.
view: i32View of the ServiceLevelObjectives to return. If DEFAULT, return each
ServiceLevelObjective as originally defined. If EXPLICIT and the
ServiceLevelObjective is defined in terms of a BasicSli, replace the
BasicSli with a RequestBasedSli spelling out how the SLI is computed.
Implementations§
Trait Implementations§
source§impl Clone for ListServiceLevelObjectivesRequest
impl Clone for ListServiceLevelObjectivesRequest
source§fn clone(&self) -> ListServiceLevelObjectivesRequest
fn clone(&self) -> ListServiceLevelObjectivesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Message for ListServiceLevelObjectivesRequest
impl Message for ListServiceLevelObjectivesRequest
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 ListServiceLevelObjectivesRequest
impl PartialEq for ListServiceLevelObjectivesRequest
source§fn eq(&self, other: &ListServiceLevelObjectivesRequest) -> bool
fn eq(&self, other: &ListServiceLevelObjectivesRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListServiceLevelObjectivesRequest
Auto Trait Implementations§
impl Freeze for ListServiceLevelObjectivesRequest
impl RefUnwindSafe for ListServiceLevelObjectivesRequest
impl Send for ListServiceLevelObjectivesRequest
impl Sync for ListServiceLevelObjectivesRequest
impl Unpin for ListServiceLevelObjectivesRequest
impl UnwindSafe for ListServiceLevelObjectivesRequest
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