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

A dataset that hosts the examples (sentence pairs) used for translation models.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp when this dataset was created.
  • displayName (type: String.t, default: nil) - The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
  • exampleCount (type: integer(), default: nil) - Output only. The number of examples in the dataset.
  • name (type: String.t, default: nil) - The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
  • sourceLanguageCode (type: String.t, default: nil) - The BCP-47 language code of the source language.
  • targetLanguageCode (type: String.t, default: nil) - The BCP-47 language code of the target language.
  • testExampleCount (type: integer(), default: nil) - Output only. Number of test examples (sentence pairs).
  • trainExampleCount (type: integer(), default: nil) - Output only. Number of training examples (sentence pairs).
  • updateTime (type: DateTime.t, default: nil) - Output only. Timestamp when this dataset was last updated.
  • validateExampleCount (type: integer(), default: nil) - Output only. Number of validation examples (sentence pairs).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.Dataset{
  createTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  exampleCount: integer() | nil,
  name: String.t() | nil,
  sourceLanguageCode: String.t() | nil,
  targetLanguageCode: String.t() | nil,
  testExampleCount: integer() | nil,
  trainExampleCount: integer() | nil,
  updateTime: DateTime.t() | nil,
  validateExampleCount: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.