Reference documentation and code samples for the Google Cloud Chronicle V1 Client class QueryRuntimeError.
Runtime error for a dashboard query.
Generated from protobuf message google.cloud.chronicle.v1.QueryRuntimeError
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ error_title |
string
Short Description of the error. |
↳ error_description |
string
Error message |
↳ error_severity |
int
Severity of the error. |
↳ metadata |
array<QueryRuntimeError\QueryRuntimeErrorMetadata>
Metadata for the error. |
↳ warning_reason |
int
Reason for the error. |
getErrorTitle
Short Description of the error.
| Returns | |
|---|---|
| Type | Description |
string |
|
setErrorTitle
Short Description of the error.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorDescription
Error message
| Returns | |
|---|---|
| Type | Description |
string |
|
setErrorDescription
Error message
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorSeverity
Severity of the error.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ErrorSeverity. |
setErrorSeverity
Severity of the error.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ErrorSeverity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadata
Metadata for the error.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<QueryRuntimeError\QueryRuntimeErrorMetadata> |
|
setMetadata
Metadata for the error.
| Parameter | |
|---|---|
| Name | Description |
var |
array<QueryRuntimeError\QueryRuntimeErrorMetadata>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWarningReason
Reason for the error.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type WarningReason. |
setWarningReason
Reason for the error.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type WarningReason. |
| Returns | |
|---|---|
| Type | Description |
$this |
|