Stay organized with collections
Save and categorize content based on your preferences.
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist
HTTP request
GET https://contentwarehouse.googleapis.com/v1/{name}
Path parameters
Parameters
name
string
Required. The name of the synonymSet to retrieve Format: projects/{projectNumber}/locations/{location}/synonymSets/{context}. It takes the form projects/{project}/locations/{location}/synonymSets/{synonymset}.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SynonymSet.
[[["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 SynonymSet for a specified context, identified by its name.\u003c/p\u003e\n"],["\u003cp\u003eRequires a \u003ccode\u003eGET\u003c/code\u003e request to the provided endpoint, including the SynonymSet's name in the path.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eSynonymSet\u003c/code\u003e instance upon successful retrieval, which is the requested information.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires OAuth 2.0 authentication with the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003econtentwarehouse.synonymSets.get\u003c/code\u003e IAM permission on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.synonymSets.get\n\nGets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset 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 [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 `name` resource:\n\n- `contentwarehouse.synonymSets.get`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]