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

An AdaptiveMt sentence entry.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp when this sentence was created.
  • name (type: String.t, default: nil) - Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
  • sourceSentence (type: String.t, default: nil) - Required. The source sentence.
  • targetSentence (type: String.t, default: nil) - Required. The target sentence.
  • updateTime (type: DateTime.t, default: nil) - Output only. Timestamp when this sentence was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.AdaptiveMtSentence{
  createTime: DateTime.t() | nil,
  name: String.t() | nil,
  sourceSentence: String.t() | nil,
  targetSentence: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.