Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode (v1.0.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

def status_class() -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass

#status_class=

def status_class=(value) -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass

#status_value

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

#status_value=

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