Stackdriver Monitoring V3 Client - Class QueryError (1.5.1)

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

Namespace

Google \ Cloud \ Monitoring \ V3

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.

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.

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

getMessage

The error message.

Returns
TypeDescription
string

setMessage

The error message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this