Skip to main content

rule_sets

Overview

Namerule_sets
TypeResource
Idgoogle.contentwarehouse.rule_sets

Fields

NameDatatypeDescription
namestringThe 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.
descriptionstringShort description of the rule-set.
rulesarrayList of rules given by the customer.
sourcestringSource of the rules i.e., customer name.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, ruleSetsIdGets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
listSELECTlocationsId, projectsIdLists rulesets.
createINSERTlocationsId, projectsIdCreates a ruleset.
deleteDELETElocationsId, projectsId, ruleSetsIdDeletes a ruleset. Returns NOT_FOUND if the document does not exist.
_listEXEClocationsId, projectsIdLists rulesets.
patchEXEClocationsId, projectsId, ruleSetsIdUpdates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name.