google_api_tool_results v0.22.0 GoogleApi.ToolResults.V1beta3.Model.Thumbnail View Source

A single thumbnail, with its size and format.

Attributes

  • contentType (type: String.t, default: nil) - The thumbnail's content type, i.e. "image/png".

    Always set.

  • data (type: String.t, default: nil) - The thumbnail file itself.

    That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content type.)

    Always set.

  • heightPx (type: integer(), default: nil) - The height of the thumbnail, in pixels.

    Always set.

  • widthPx (type: integer(), default: nil) - The width of the thumbnail, in pixels.

    Always set.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.ToolResults.V1beta3.Model.Thumbnail{
  contentType: String.t(),
  data: String.t(),
  heightPx: integer(),
  widthPx: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.