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

An input file.

Attributes

  • gcsSource (type: GoogleApi.Translate.V3.Model.GcsInputSource.t, default: nil) - Google Cloud Storage file source.
  • usage (type: String.t, default: nil) - Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.InputFile{
  gcsSource: GoogleApi.Translate.V3.Model.GcsInputSource.t() | nil,
  usage: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.