pub struct UpdateUptimeCheckConfigRequest {
pub update_mask: Option<FieldMask>,
pub uptime_check_config: Option<UptimeCheckConfig>,
}
Expand description
The protocol for the UpdateUptimeCheckConfig
request.
Fields§
§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
.
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 Message for UpdateUptimeCheckConfigRequest
impl Message for UpdateUptimeCheckConfigRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.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 ==
.impl StructuralPartialEq for UpdateUptimeCheckConfigRequest
Auto Trait Implementations§
impl !Freeze for UpdateUptimeCheckConfigRequest
impl RefUnwindSafe for UpdateUptimeCheckConfigRequest
impl Send for UpdateUptimeCheckConfigRequest
impl Sync for UpdateUptimeCheckConfigRequest
impl Unpin for UpdateUptimeCheckConfigRequest
impl UnwindSafe for UpdateUptimeCheckConfigRequest
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