rule_sets
Overview
Name | rule_sets |
Type | Resource |
Id | google.contentwarehouse.rule_sets |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set. |
description | string | Short description of the rule-set. |
rules | array | List of rules given by the customer. |
source | string | Source of the rules i.e., customer name. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, projectsId, ruleSetsId | Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist. |
list | SELECT | locationsId, projectsId | Lists rulesets. |
create | INSERT | locationsId, projectsId | Creates a ruleset. |
delete | DELETE | locationsId, projectsId, ruleSetsId | Deletes a ruleset. Returns NOT_FOUND if the document does not exist. |
_list | EXEC | locationsId, projectsId | Lists rulesets. |
patch | EXEC | locationsId, projectsId, ruleSetsId | Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name. |