View Source GoogleApi.ToolResults.V1beta3.Model.Image (google_api_tool_results v0.33.0)

An image, with a link to the main image and a thumbnail.

Attributes

  • error (type: GoogleApi.ToolResults.V1beta3.Model.Status.t, default: nil) - An error explaining why the thumbnail could not be rendered.
  • sourceImage (type: GoogleApi.ToolResults.V1beta3.Model.ToolOutputReference.t, default: nil) - A reference to the full-size, original image. This is the same as the tool_outputs entry for the image under its Step. Always set.
  • stepId (type: String.t, default: nil) - The step to which the image is attached. Always set.
  • thumbnail (type: GoogleApi.ToolResults.V1beta3.Model.Thumbnail.t, default: nil) - The thumbnail.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ToolResults.V1beta3.Model.Image{
  error: GoogleApi.ToolResults.V1beta3.Model.Status.t() | nil,
  sourceImage:
    GoogleApi.ToolResults.V1beta3.Model.ToolOutputReference.t() | nil,
  stepId: String.t() | nil,
  thumbnail: GoogleApi.ToolResults.V1beta3.Model.Thumbnail.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.