Resource: Execution
Message describing Execution object
JSON representation |
---|
{ "name": string, "startTime": string, "endTime": string, "inventoryTime": string, "state": enum ( |
Fields | |
---|---|
name |
The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} |
startTime |
Output only. [Output only] Start time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. [Output only] End time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
inventoryTime |
Output only. [Output only] Inventory time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. [Output only] State |
evaluationId |
Output only. [Output only] Evaluation ID |
labels |
Labels as key value pairs An object containing a list of |
runType |
type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. |
ruleResults[] |
Output only. execution result summary per rule |
State
The state of execution
Enums | |
---|---|
STATE_UNSPECIFIED |
state of execution is unspecified |
RUNNING |
the execution is running in backend service |
SUCCEEDED |
the execution run success |
FAILED |
the execution run failed |
Type
the type of execution, could be on demand execute or scheduled execute
Enums | |
---|---|
TYPE_UNSPECIFIED |
type of execution is unspecified |
ONE_TIME |
type of execution is one time |
SCHEDULED |
type of execution is scheduled |
RuleExecutionResult
Message for execution result summary per rule
JSON representation |
---|
{
"rule": string,
"state": enum ( |
Fields | |
---|---|
rule |
rule name |
state |
Output only. The execution status |
message |
Execution message, if any |
resultCount |
Number of violations |
State
Execution state per rule
Enums | |
---|---|
STATE_UNSPECIFIED |
Unknown state |
STATE_SUCCESS |
execution completed successfully |
STATE_FAILURE |
execution completed with failures |
STATE_SKIPPED |
execution was not executed |
Methods |
|
---|---|
|
Deletes a single Execution. |
|
Gets details of a single Execution. |
|
Lists Executions in a given project and location. |
|
Creates a new Execution in a given project and location. |