Stackdriver Monitoring V3 Client - Class QueryError (1.2.2)

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

An error associated with a query in the time series query language format.

Generated from protobuf message google.monitoring.v3.QueryError

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ locator Google\Cloud\Monitoring\V3\TextLocator

The location of the time series query language text that this error applies to.

↳ message string

The error message.

getLocator

The location of the time series query language text that this error applies to.

Generated from protobuf field .google.monitoring.v3.TextLocator locator = 1;

Returns
TypeDescription
Google\Cloud\Monitoring\V3\TextLocator|null

hasLocator

clearLocator

setLocator

The location of the time series query language text that this error applies to.

Generated from protobuf field .google.monitoring.v3.TextLocator locator = 1;

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\TextLocator
Returns
TypeDescription
$this

getMessage

The error message.

Generated from protobuf field string message = 2;

Returns
TypeDescription
string

setMessage

The error message.

Generated from protobuf field string message = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this