Reference documentation and code samples for the Google Cloud Chronicle V1 Client class RuleExecutionError.
The RuleExecutionError resource represents an error generated from running/deploying a rule.
Generated from protobuf message google.cloud.chronicle.v1.RuleExecutionError
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rule |
string
Output only. The resource name of the rule that generated the rule execution error. |
↳ curated_rule |
string
Output only. The resource name of the curated rule that generated the rule execution error. |
↳ name |
string
Output only. The resource name of the rule execution error. Format: projects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error} |
↳ error |
Google\Rpc\Status
Output only. The error status corresponding with the rule execution error. |
↳ time_range |
Google\Type\Interval
Output only. The event time range that the rule execution error corresponds with. |
getRule
Output only. The resource name of the rule that generated the rule execution error.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRule
setRule
Output only. The resource name of the rule that generated the rule execution error.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCuratedRule
Output only. The resource name of the curated rule that generated the rule execution error.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCuratedRule
setCuratedRule
Output only. The resource name of the curated rule that generated the rule execution error.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Output only. The resource name of the rule execution error.
Format: projects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. The resource name of the rule execution error.
Format: projects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getError
Output only. The error status corresponding with the rule execution error.
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasError
clearError
setError
Output only. The error status corresponding with the rule execution error.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimeRange
Output only. The event time range that the rule execution error corresponds with.
| Returns | |
|---|---|
| Type | Description |
Google\Type\Interval|null |
|
hasTimeRange
clearTimeRange
setTimeRange
Output only. The event time range that the rule execution error corresponds with.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Interval
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|