executions
Creates, updates, deletes, gets or lists a executions
resource.
Overview
Name | executions |
Type | Resource |
Id | google.workloadmanager.executions |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} |
endTime | string | Output only. [Output only] End time stamp |
evaluationId | string | Output only. [Output only] Evaluation ID |
externalDataSources | array | Optional. External data sources |
inventoryTime | string | Output only. [Output only] Inventory time stamp |
labels | object | Labels as key value pairs |
runType | string | type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. |
startTime | string | Output only. [Output only] Start time stamp |
state | string | Output only. [Output only] State |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | evaluationsId, executionsId, locationsId, projectsId | Gets details of a single Execution. |
list | SELECT | evaluationsId, locationsId, projectsId | Lists Executions in a given project and location. |
delete | DELETE | evaluationsId, executionsId, locationsId, projectsId | Deletes a single Execution. |
run | EXEC | evaluationsId, locationsId, projectsId | Creates a new Execution in a given project and location. |
SELECT
examples
Lists Executions in a given project and location.
SELECT
name,
endTime,
evaluationId,
externalDataSources,
inventoryTime,
labels,
runType,
startTime,
state
FROM google.workloadmanager.executions
WHERE evaluationsId = '{{ evaluationsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified executions
resource.
/*+ delete */
DELETE FROM google.workloadmanager.executions
WHERE evaluationsId = '{{ evaluationsId }}'
AND executionsId = '{{ executionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';