scanned_resources
Creates, updates, deletes, gets or lists a scanned_resources resource.
Overview
| Name | scanned_resources |
| Type | Resource |
| Id | google.workloadmanager.scanned_resources |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
resource | string | resource name |
type | string | resource type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | projectsId, locationsId, evaluationsId, executionsId | rule, pageSize, pageToken, filter, orderBy | List all scanned resources for a single Execution. |
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 | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
rule | string |
SELECT examples
- list
List all scanned resources for a single Execution.
SELECT
resource,
type
FROM google.workloadmanager.scanned_resources
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND evaluationsId = '{{ evaluationsId }}' -- required
AND executionsId = '{{ executionsId }}' -- required
AND rule = '{{ rule }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
;