#[non_exhaustive]pub struct ListMuteConfigsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for listing mute configs at a given scope e.g. organization, folder or project. If no location is specified, default is global.
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.parent: StringRequired. The parent, which owns the collection of mute configs. Its format
is organizations/[organization_id]", "folders/[folder_id],
projects/[project_id],
organizations/[organization_id]/locations/[location_id],
folders/[folder_id]/locations/[location_id],
projects/[project_id]/locations/[location_id].
page_size: i32The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: StringA page token, received from a previous ListMuteConfigs call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListMuteConfigs must
match the call that provided the page token.
Implementations§
Source§impl ListMuteConfigsRequest
impl ListMuteConfigsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
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.
§Example
let x = ListMuteConfigsRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListMuteConfigsRequest
impl Clone for ListMuteConfigsRequest
Source§fn clone(&self) -> ListMuteConfigsRequest
fn clone(&self) -> ListMuteConfigsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more