{"description": string,"ruleActionTypes": [enum (RuleActionType)],// Union field implementation can be only one of the following:"celExpression": {object (CELExpression)}// End of list of possible types for union field implementation.}
Fields
description
string
Optional. The rule description. The maximum length is 2000 characters.
The rule's logic expression in Common Expression Language (CEL).
CELExpression
A Common Expression Language (CEL) expression that's used to create a rule.
JSON representation
{"expression": string,// Union field criteria can be only one of the following:"resourceTypesValues": {object (StringList)}// End of list of possible types for union field criteria.}
Fields
expression
string
Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression.
Union field criteria. The criteria of the CEL expression. criteria can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-07 UTC."],[],[]]