rules
Creates, updates, deletes, gets or lists a rules
resource.
Overview
Name | rules |
Type | Resource |
Id | google.workloadmanager.rules |
Fields
Name | Datatype | Description |
---|---|---|
name | string | rule name |
description | string | descrite rule in plain language |
displayName | string | the name display in UI |
errorMessage | string | the message template for rule |
primaryCategory | string | the primary category |
remediation | string | the remediation for the rule |
revisionId | string | Output only. the version of the rule |
secondaryCategory | string | the secondary category |
severity | string | the severity of the rule |
tags | array | List of user-defined tags |
uri | string | the docuement url for the rule |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | locationsId, projectsId | Lists rules in a given project. |
SELECT
examples
Lists rules in a given project.
SELECT
name,
description,
displayName,
errorMessage,
primaryCategory,
remediation,
revisionId,
secondaryCategory,
severity,
tags,
uri
FROM google.workloadmanager.rules
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';