GoogleCloudContentwarehouseV1SynonymSet

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SynonymSet


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. context (type: String.t, default: nil)
    - This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests.
  2. name (type: String.t, default: nil)
    - The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
  3. synonyms (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SynonymSetSynonym), default: nil)
    - List of Synonyms for the context.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SynonymSet{
context: String.t() | nil,
name: String.t() | nil,
synonyms: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SynonymSetSynonym.t() ] | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SynonymSet