Stackdriver Monitoring V3 Client - Class QueryError (1.11.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
Name Description
data array

Optional. Data for populating the Message object.

↳ locator 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
TextLocator|null

hasLocator

clearLocator

setLocator

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

Parameter
Name Description
var 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