Class ResponseStatusCode (2.22.1)

ResponseStatusCode(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A status to accept. Either a status code class like "2xx", or an integer status code like "200".

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
status_value int
A status code to accept. This field is a member of oneof_ status_code.
status_class google.cloud.monitoring_v3.types.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
A class of status codes to accept. This field is a member of oneof_ status_code.

Classes

StatusClass

StatusClass(value)

An HTTP status code class.