Stay organized with collections
Save and categorize content based on your preferences.
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
HTTP request
GET https://contentwarehouse.googleapis.com/v1/{name}
Path parameters
Parameters
name
string
Required. The name of the rule set to retrieve. Format: projects/{projectNumber}/locations/{location}/ruleSets/{rule_set_id}. It takes the form projects/{project}/locations/{location}/ruleSets/{ruleset}.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of RuleSet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[[["\u003cp\u003eRetrieves a specified ruleset based on its unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter, formatted as \u003ccode\u003eprojects/{projectNumber}/locations/{location}/ruleSets/{rule_set_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, ensuring a straightforward retrieval operation.\u003c/p\u003e\n"],["\u003cp\u003eA successful retrieval will return an instance of the \u003ccode\u003eRuleSet\u003c/code\u003e object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003econtentwarehouse.ruleSets.get\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for access.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.ruleSets.get\n\nGets a ruleset. Returns NOT_FOUND if the ruleset does not exist.\n\n### HTTP request\n\n`GET https://contentwarehouse.googleapis.com/v1/{name}`\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [RuleSet](/document-warehouse/docs/reference/rest/v1/projects.locations.ruleSets#RuleSet).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `contentwarehouse.ruleSets.get`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]