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

Represents a glossary built from user provided data.

Attributes

  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Translate.V3.Model.Glossary{
  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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.