Stackdriver Monitoring V3 Client - Class ResponseStatusCode (1.4.0)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ResponseStatusCode.

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

Generated from protobuf message google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ status_value int

A status code to accept.

↳ status_class int

A class of status codes to accept.

getStatusValue

A status code to accept.

Returns
TypeDescription
int

hasStatusValue

setStatusValue

A status code to accept.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStatusClass

A class of status codes to accept.

Returns
TypeDescription
int

hasStatusClass

setStatusClass

A class of status codes to accept.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStatusCode

Returns
TypeDescription
string