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

A rectangular region.

Attributes

  • heightPx (type: integer(), default: nil) - The height, in pixels. Always set.
  • leftPx (type: integer(), default: nil) - The left side of the rectangle, in pixels. Always set.
  • topPx (type: integer(), default: nil) - The top of the rectangle, in pixels. Always set.
  • widthPx (type: integer(), default: nil) - The width, 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.RegionProto{
  heightPx: integer(),
  leftPx: integer(),
  topPx: 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.