Represents the rule for a content warehouse trigger.
Attributes
Name
Description
description
str
Short description of the rule and its
context.
rule_id
str
ID of the rule. It has to be unique across
all the examples. This is managed internally.
trigger_type
google.cloud.contentwarehouse_v1.types.Rule.TriggerType
Identifies the trigger type for running the
policy.
condition
str
Represents the conditional expression to be evaluated.
Expression should evaluate to a boolean result. When the
condition is true actions are executed. Example: user_role =
"hsbc_role_1" AND doc.salary > 20000
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[],[]]