GoogleApi.ToolResults.V1beta3.Model.RegionProto (google_api_tool_results v0.31.0) 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

Specs

t() :: %GoogleApi.ToolResults.V1beta3.Model.RegionProto{
  heightPx: integer(),
  leftPx: integer(),
  topPx: integer(),
  widthPx: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.