Class: Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/uptime.rb
Overview
A status to accept. Either a status code class like "2xx", or an integer status code like "200".
Defined Under Namespace
Modules: StatusClass
Instance Attribute Summary collapse
-
#status_class ⇒ ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
A class of status codes to accept.
-
#status_value ⇒ ::Integer
A status code to accept.
Instance Attribute Details
#status_class ⇒ ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass
Returns A class of status codes to accept.
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 353 class ResponseStatusCode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An HTTP status code class. module StatusClass # Default value that matches no status codes. STATUS_CLASS_UNSPECIFIED = 0 # The class of status codes between 100 and 199. STATUS_CLASS_1XX = 100 # The class of status codes between 200 and 299. STATUS_CLASS_2XX = 200 # The class of status codes between 300 and 399. STATUS_CLASS_3XX = 300 # The class of status codes between 400 and 499. STATUS_CLASS_4XX = 400 # The class of status codes between 500 and 599. STATUS_CLASS_5XX = 500 # The class of all status codes. STATUS_CLASS_ANY = 1000 end end |
#status_value ⇒ ::Integer
Returns A status code to accept.
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 353 class ResponseStatusCode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An HTTP status code class. module StatusClass # Default value that matches no status codes. STATUS_CLASS_UNSPECIFIED = 0 # The class of status codes between 100 and 199. STATUS_CLASS_1XX = 100 # The class of status codes between 200 and 299. STATUS_CLASS_2XX = 200 # The class of status codes between 300 and 399. STATUS_CLASS_3XX = 300 # The class of status codes between 400 and 499. STATUS_CLASS_4XX = 400 # The class of status codes between 500 and 599. STATUS_CLASS_5XX = 500 # The class of all status codes. STATUS_CLASS_ANY = 1000 end end |