GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Rule
Table of Contents ▼
Jump to a specific part of the page:
Description
Represents the rule for a content warehouse trigger.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
actions
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Action)
, default:nil
)
- List of actions that are executed when the rule is satisfied. -
condition
(type:String.t
, default:nil
)
- 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 -
description
(type:String.t
, default:nil
)
- Short description of the rule and its context. -
ruleId
(type:String.t
, default:nil
)
- ID of the rule. It has to be unique across all the examples. This is managed internally. -
triggerType
(type:String.t
, default:nil
)
- Identifies the trigger type for running the policy.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Rule{
actions: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Action.t() ] | nil,
condition: String.t() | nil,
description: String.t() | nil,
ruleId: String.t() | nil,
triggerType: String.t() | nil
}
actions: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Action.t() ] | nil,
condition: String.t() | nil,
description: String.t() | nil,
ruleId: String.t() | nil,
triggerType: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Rule