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

Represents a glossary built from user-provided data.

Attributes

  • displayName (type: String.t, default: nil) - Optional. The display name of the glossary.
  • endTime (type: DateTime.t, default: nil) - Output only. When the glossary creation was finished.
  • entryCount (type: integer(), default: nil) - Output only. The number of entries defined in the glossary.
  • inputConfig (type: GoogleApi.Translate.V3.Model.GlossaryInputConfig.t, default: nil) - Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.
  • languageCodesSet (type: GoogleApi.Translate.V3.Model.LanguageCodesSet.t, default: nil) - Used with equivalent term set glossaries.
  • languagePair (type: GoogleApi.Translate.V3.Model.LanguageCodePair.t, default: nil) - Used with unidirectional glossaries.
  • name (type: String.t, default: nil) - Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.
  • submitTime (type: DateTime.t, default: nil) - Output only. When CreateGlossary was called.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.Glossary{
  displayName: String.t() | nil,
  endTime: DateTime.t() | nil,
  entryCount: integer() | nil,
  inputConfig: GoogleApi.Translate.V3.Model.GlossaryInputConfig.t() | nil,
  languageCodesSet: GoogleApi.Translate.V3.Model.LanguageCodesSet.t() | nil,
  languagePair: GoogleApi.Translate.V3.Model.LanguageCodePair.t() | nil,
  name: String.t() | nil,
  submitTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.