Stackdriver Monitoring V3 Client - Class Error (1.9.0)

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
NameDescription
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
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The status of the requested write operation.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getPointCount

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

Returns
TypeDescription
int

setPointCount

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this