Resource: SynonymSet
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
| JSON representation | 
|---|
| {
  "name": string,
  "context": string,
  "synonyms": [
    {
      object ( | 
| Fields | |
|---|---|
| name | 
 The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{projectNumber}/locations/{location}/synonymSets/{context}. | 
| context | 
 This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests. | 
| synonyms[] | 
 List of Synonyms for the context. | 
Synonym
Represents a list of words given by the customer All these words are synonyms of each other.
| JSON representation | 
|---|
| { "words": [ string ] } | 
| Fields | |
|---|---|
| words[] | 
 For example: sale, invoice, bill, order | 
| Methods | |
|---|---|
| 
 | Creates a SynonymSet for a single context. | 
| 
 | Deletes a SynonymSet for a given context. | 
| 
 | Gets a SynonymSet for a particular context. | 
| 
 | Returns all SynonymSets (for all contexts) for the specified location. | 
| 
 | Remove the existing SynonymSet for the context and replaces it with a new one. |