View Source GoogleApi.Translate.V3.Model.GlossaryEntry (google_api_translate v0.21.0)

Represents a single entry in a glossary.

Attributes

  • description (type: String.t, default: nil) - Describes the glossary entry.
  • name (type: String.t, default: nil) - Identifier. The resource name of the entry. Format: projects/*/locations/*/glossaries/*/glossaryEntries/*
  • termsPair (type: GoogleApi.Translate.V3.Model.GlossaryTermsPair.t, default: nil) - Used for an unidirectional glossary.
  • termsSet (type: GoogleApi.Translate.V3.Model.GlossaryTermsSet.t, default: nil) - Used for an equivalent term sets glossary.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.GlossaryEntry{
  description: String.t() | nil,
  name: String.t() | nil,
  termsPair: GoogleApi.Translate.V3.Model.GlossaryTermsPair.t() | nil,
  termsSet: GoogleApi.Translate.V3.Model.GlossaryTermsSet.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.