Stackdriver Monitoring V3 Client - Class Error (1.10.1)

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

Detailed information about an error category.

Generated from protobuf message google.monitoring.v3.CreateTimeSeriesSummary.Error

Namespace

Google \ Cloud \ Monitoring \ V3 \ CreateTimeSeriesSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ status Google\Rpc\Status

The status of the requested write operation.

↳ point_count int

The number of points that couldn't be written because of status.

getStatus

The status of the requested write operation.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The status of the requested write operation.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getPointCount

The number of points that couldn't be written because of status.

Returns
Type Description
int

setPointCount

The number of points that couldn't be written because of status.

Parameter
Name Description
var int
Returns
Type Description
$this