[[["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\u003eCreates a new SynonymSet for a specified context.\u003c/p\u003e\n"],["\u003cp\u003eRequires a \u003ccode\u003eparent\u003c/code\u003e path parameter in the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of SynonymSet.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003econtentwarehouse.synonymSets.create\u003c/code\u003e IAM permission on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eWill throw an ALREADY_EXISTS exception if a SynonymSet already exists for the given context.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.synonymSets.create\n\nCreates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context.\n\n### HTTP request\n\n`POST https://contentwarehouse.googleapis.com/v1/{parent}/synonymSets`\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [SynonymSet](/document-warehouse/docs/reference/rest/v1/projects.locations.synonymSets#SynonymSet).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [SynonymSet](/document-warehouse/docs/reference/rest/v1/projects.locations.synonymSets#SynonymSet).\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 `parent` resource:\n\n- `contentwarehouse.synonymSets.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]