Stackdriver Monitoring V3 Client - Class QueryError (1.11.0)

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
Name Description
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
Type Description
Google\Cloud\Monitoring\V3\TextLocator|null

hasLocator

clearLocator

setLocator

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

Parameter
Name Description
var Google\Cloud\Monitoring\V3\TextLocator
Returns
Type Description
$this

getMessage

The error message.

Returns
Type Description
string

setMessage

The error message.

Parameter
Name Description
var string
Returns
Type Description
$this