Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode (v1.7.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode.

A status to accept. Either a status code class like "2xx", or an integer status code like "200".

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#status_class

defstatus_class()->::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
Returns

#status_class=

defstatus_class=(value)->::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
Parameter
Returns

#status_value

defstatus_value()->::Integer
Returns
  • (::Integer) — A status code to accept.

    Note: The following fields are mutually exclusive: status_value, status_class. If a field in that set is populated, all other fields in the set will automatically be cleared.

#status_value=

defstatus_value=(value)->::Integer
Parameter
  • value (::Integer) — A status code to accept.

    Note: The following fields are mutually exclusive: status_value, status_class. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — A status code to accept.

    Note: The following fields are mutually exclusive: status_value, status_class. If a field in that set is populated, all other fields in the set will automatically be cleared.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.