results
Creates, updates, deletes, gets or lists a results
resource.
Overview
Name | results |
Type | Resource |
Id | google.workloadmanager.results |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
commands | array | The commands to remediate the violation. |
documentationUrl | string | The URL for the documentation of the rule. |
resource | object | The resource that violates the rule. (id: Resource) |
rule | string | The rule that is violated in an evaluation. |
severity | string | The severity of violation. |
type | string | Execution result type of the scanned resource |
violationDetails | object | The details of violation in an evaluation result. (id: ViolationDetails) |
violationMessage | string | The violation message of an execution. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectsId , locationsId , evaluationsId , executionsId | pageSize , pageToken , filter | Lists the result of a single evaluation. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
evaluationsId | string | |
executionsId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
Lists the result of a single evaluation.
SELECT
commands,
documentationUrl,
resource,
rule,
severity,
type,
violationDetails,
violationMessage
FROM google.workloadmanager.results
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND evaluationsId = '{{ evaluationsId }}' -- required
AND executionsId = '{{ executionsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';