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
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 367 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
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 367 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 |