#[non_exhaustive]pub struct UpdateUptimeCheckConfigRequest {
pub update_mask: Option<FieldMask>,
pub uptime_check_config: Option<UptimeCheckConfig>,
}Expand description
The protocol for the UpdateUptimeCheckConfig 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.update_mask: Option<FieldMask>Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.
uptime_check_config: Option<UptimeCheckConfig>Required. If an updateMask has been specified, this field gives
the values for the set of fields mentioned in the updateMask. If an
updateMask has not been given, this Uptime check configuration replaces
the current configuration. If a field is mentioned in updateMask but
the corresponding field is omitted in this partial Uptime check
configuration, it has the effect of deleting/clearing the field from the
configuration on the server.
The following fields can be updated: display_name,
http_check, tcp_check, timeout, content_matchers, and
selected_regions.
Implementations§
Source§impl UpdateUptimeCheckConfigRequest
impl UpdateUptimeCheckConfigRequest
Sourcepub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_uptime_check_config<T: Into<Option<UptimeCheckConfig>>>(
self,
v: T,
) -> Self
pub fn set_uptime_check_config<T: Into<Option<UptimeCheckConfig>>>( self, v: T, ) -> Self
Sets the value of uptime_check_config.
Trait Implementations§
Source§impl Clone for UpdateUptimeCheckConfigRequest
impl Clone for UpdateUptimeCheckConfigRequest
Source§fn clone(&self) -> UpdateUptimeCheckConfigRequest
fn clone(&self) -> UpdateUptimeCheckConfigRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UpdateUptimeCheckConfigRequest
impl Default for UpdateUptimeCheckConfigRequest
Source§fn default() -> UpdateUptimeCheckConfigRequest
fn default() -> UpdateUptimeCheckConfigRequest
Source§impl<'de> Deserialize<'de> for UpdateUptimeCheckConfigRequest
impl<'de> Deserialize<'de> for UpdateUptimeCheckConfigRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for UpdateUptimeCheckConfigRequest
impl PartialEq for UpdateUptimeCheckConfigRequest
Source§fn eq(&self, other: &UpdateUptimeCheckConfigRequest) -> bool
fn eq(&self, other: &UpdateUptimeCheckConfigRequest) -> bool
self and other values to be equal, and is used by ==.