#[non_exhaustive]pub struct ListGroupMembersRequest {
pub name: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub interval: Option<TimeInterval>,
}Expand description
The ListGroupMembers request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The group whose members are listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]page_size: i32A positive number that is the maximum number of results to return.
page_token: StringIf this field is not empty then it must contain the next_page_token value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
filter: StringAn optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:
`resource.type = "gce_instance"`interval: Option<TimeInterval>An optional time interval for which results should be returned. Only members that were part of the group during the specified interval are included in the response. If no interval is provided then the group membership over the last minute is returned.
Implementations§
Source§impl ListGroupMembersRequest
impl ListGroupMembersRequest
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_interval<T: Into<Option<TimeInterval>>>(self, v: T) -> Self
pub fn set_interval<T: Into<Option<TimeInterval>>>(self, v: T) -> Self
Sets the value of interval.
Trait Implementations§
Source§impl Clone for ListGroupMembersRequest
impl Clone for ListGroupMembersRequest
Source§fn clone(&self) -> ListGroupMembersRequest
fn clone(&self) -> ListGroupMembersRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more