Stackdriver Monitoring V3 Client - Class Error (1.2.2)

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

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.

Generated from protobuf field .google.rpc.Status status = 1;

Returns
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The status of the requested write operation.

Generated from protobuf field .google.rpc.Status status = 1;

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

getPointCount

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

Generated from protobuf field int32 point_count = 2;

Returns
TypeDescription
int

setPointCount

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

Generated from protobuf field int32 point_count = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this