Class GoogleCloudContentwarehouseV1Rule
Represents the rule for a content warehouse trigger.
Implements
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1.Data
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class GoogleCloudContentwarehouseV1Rule : IDirectResponseSchema
Properties
Actions
List of actions that are executed when the rule is satisfied.
Declaration
[JsonProperty("actions")]
public virtual IList<GoogleCloudContentwarehouseV1Action> Actions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudContentwarehouseV1Action> |
Condition
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
Declaration
[JsonProperty("condition")]
public virtual string Condition { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Short description of the rule and its context.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RuleId
ID of the rule. It has to be unique across all the examples. This is managed internally.
Declaration
[JsonProperty("ruleId")]
public virtual string RuleId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TriggerType
Identifies the trigger type for running the policy.
Declaration
[JsonProperty("triggerType")]
public virtual string TriggerType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |