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
-
(::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
Note: The following fields are mutually exclusive:
status_class
,status_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#status_class=
def status_class=(value) -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
-
value (::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
Note: The following fields are mutually exclusive:
status_class
,status_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass) — A class of status codes to accept.
Note: The following fields are mutually exclusive:
status_class
,status_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#status_value
def status_value() -> ::Integer
-
(::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=
def status_value=(value) -> ::Integer
-
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.
-
(::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.