Enum google_api_proto::google::monitoring::v3::list_groups_request::Filter
source · pub enum Filter {
ChildrenOfGroup(String),
AncestorsOfGroup(String),
DescendantsOfGroup(String),
}
Expand description
An optional filter consisting of a single group name. The filters limit the groups returned based on their parent-child relationship with the specified group. If no filter is specified, all groups are returned.
Variants§
ChildrenOfGroup(String)
A group name. The format is:
projects/\[PROJECT_ID_OR_NUMBER\]/groups/\[GROUP_ID\]
Returns groups whose parent_name
field contains the group
name. If no groups have this parent, the results are empty.
AncestorsOfGroup(String)
A group name. The format is:
projects/\[PROJECT_ID_OR_NUMBER\]/groups/\[GROUP_ID\]
Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.
DescendantsOfGroup(String)
A group name. The format is:
projects/\[PROJECT_ID_OR_NUMBER\]/groups/\[GROUP_ID\]
Returns the descendants of the specified group. This is a superset of
the results returned by the children_of_group
filter, and includes
children-of-children, and so forth.
Implementations§
source§impl Filter
impl Filter
sourcepub fn merge<B>(
field: &mut Option<Filter>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Filter>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Filter
impl PartialEq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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