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

An inlined file.

Attributes

  • content (type: String.t, default: nil) - Required. The file's byte contents.
  • displayName (type: String.t, default: nil) - Required. The file's display name.
  • mimeType (type: String.t, default: nil) - Required. The file's mime type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.FileInputSource{
  content: String.t() | nil,
  displayName: String.t() | nil,
  mimeType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.