ProjectsLocationsRuleSets
class ProjectsLocationsRuleSets extends Resource (View source)
The "ruleSets" collection of methods.
Typical usage is:
$contentwarehouseService = new Google\Service\Contentwarehouse(...);
$ruleSets = $contentwarehouseService->projects_locations_ruleSets;
Methods
Creates a ruleset. (ruleSets.create)
Deletes a ruleset. Returns NOT_FOUND if the document does not exist.
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
Lists rulesets. (ruleSets.listProjectsLocationsRuleSets)
Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name. (ruleSets.patch)
Details
GoogleCloudContentwarehouseV1RuleSet
create(string $parent, GoogleCloudContentwarehouseV1RuleSet $postBody, array $optParams = [])
Creates a ruleset. (ruleSets.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a ruleset. Returns NOT_FOUND if the document does not exist.
(ruleSets.delete)
GoogleCloudContentwarehouseV1RuleSet
get(string $name, array $optParams = [])
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
(ruleSets.get)
GoogleCloudContentwarehouseV1ListRuleSetsResponse
listProjectsLocationsRuleSets(string $parent, array $optParams = [])
Lists rulesets. (ruleSets.listProjectsLocationsRuleSets)
GoogleCloudContentwarehouseV1RuleSet
patch(string $name, GoogleCloudContentwarehouseV1UpdateRuleSetRequest $postBody, array $optParams = [])
Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name. (ruleSets.patch)