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,[]]