#[non_exhaustive]pub struct ListUptimeCheckConfigsRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
The protocol for the ListUptimeCheckConfigs 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.parent: StringRequired. The project whose Uptime check configurations are listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]filter: StringIf provided, this field specifies the criteria that must be met by uptime checks to be included in the response.
For more details, see Filtering syntax.
page_size: i32The maximum number of results to return in a single response. The server may further constrain the maximum number of results returned in a single page. If the page_size is <=0, the server will decide the number of results to be returned.
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 more results from the previous method call.
Implementations§
Source§impl ListUptimeCheckConfigsRequest
impl ListUptimeCheckConfigsRequest
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_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<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 = ListUptimeCheckConfigsRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListUptimeCheckConfigsRequest
impl Clone for ListUptimeCheckConfigsRequest
Source§fn clone(&self) -> ListUptimeCheckConfigsRequest
fn clone(&self) -> ListUptimeCheckConfigsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ListUptimeCheckConfigsRequest
impl Default for ListUptimeCheckConfigsRequest
Source§fn default() -> ListUptimeCheckConfigsRequest
fn default() -> ListUptimeCheckConfigsRequest
Source§impl PartialEq for ListUptimeCheckConfigsRequest
impl PartialEq for ListUptimeCheckConfigsRequest
Source§fn eq(&self, other: &ListUptimeCheckConfigsRequest) -> bool
fn eq(&self, other: &ListUptimeCheckConfigsRequest) -> bool
self and other values to be equal, and is used by ==.