Stackdriver Monitoring V3 Client - Class ResponseStatusCode (1.12.1)

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

Namespace

Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig \ HttpCheck

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

hasStatusValue

setStatusValue

A status code to accept.

Parameter
Name Description
var int
Returns
Type Description
$this

getStatusClass

A class of status codes to accept.

Returns
Type Description
int

hasStatusClass

setStatusClass

A class of status codes to accept.

Parameter
Name Description
var int
Returns
Type Description
$this

getStatusCode

Returns
Type Description
string