Represents a list of synonyms for a given context.
For example a context "sales" could contain:
Synonym 1: sale, invoice, bill, order
Synonym 2: money, credit, finance, payment
Synonym 3: shipping, freight, transport
Each SynonymSets should be disjoint
Attributes
Name
Description
name
str
The resource name of the SynonymSet This is mandatory for
google.api.resource. Format:
projects/{project_number}/locations/{location}/synonymSets/{context}.
context
str
This is a freeform field. Example contexts
can be "sales," "engineering," "real estate,"
"accounting," etc. The context can be supplied
during search requests.
[[["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-08-28 UTC."],[],[],null,["# Class SynonymSet (0.7.16)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.16 (latest)](/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.7.15](/python/docs/reference/contentwarehouse/0.7.15/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.6.0](/python/docs/reference/contentwarehouse/0.6.0/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.5.1](/python/docs/reference/contentwarehouse/0.5.1/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.4.1](/python/docs/reference/contentwarehouse/0.4.1/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.3.1](/python/docs/reference/contentwarehouse/0.3.1/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.2.1](/python/docs/reference/contentwarehouse/0.2.1/google.cloud.contentwarehouse_v1.types.SynonymSet)\n- [0.1.0](/python/docs/reference/contentwarehouse/0.1.0/google.cloud.contentwarehouse_v1.types.SynonymSet) \n\n SynonymSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRepresents a list of synonyms for a given context.\nFor example a context \"sales\" could contain:\n\nSynonym 1: sale, invoice, bill, order\nSynonym 2: money, credit, finance, payment\nSynonym 3: shipping, freight, transport\nEach SynonymSets should be disjoint\n\nClasses\n-------\n\n### Synonym\n\n Synonym(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRepresents a list of words given by the customer\nAll these words are synonyms of each other."]]