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 | |
|---|---|
| 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.
Generated from protobuf field .google.monitoring.v3.TextLocator locator = 1;
| 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.
Generated from protobuf field .google.monitoring.v3.TextLocator locator = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Monitoring\V3\TextLocator
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMessage
The error message.
Generated from protobuf field string message = 2;
| Returns | |
|---|---|
| Type | Description |
string |
|
setMessage
The error message.
Generated from protobuf field string message = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|