Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::UpdateUptimeCheckConfigRequest (v0.16.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::UpdateUptimeCheckConfigRequest.

The protocol for the UpdateUptimeCheckConfig request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::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.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::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.
Returns
  • (::Google::Protobuf::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

def uptime_check_config() -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig
Returns
  • (::Google::Cloud::Monitoring::V3::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.

#uptime_check_config=

def uptime_check_config=(value) -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig
Parameter
  • value (::Google::Cloud::Monitoring::V3::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.

Returns
  • (::Google::Cloud::Monitoring::V3::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.