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
Returns
- (::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
#status_class=
def status_class=(value) -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
Parameter
- value (::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
Returns
- (::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
#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.