GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef (google_api_document_ai v0.21.0) View Source

Represents a weak reference to a page element within a document.

Attributes

  • boundingPoly (type: GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2BoundingPoly.t, default: nil) - Optional. Identifies the bounding polygon of a layout element on the page.
  • confidence (type: number(), default: nil) - Optional. Confidence of detected page element, if applicable. Range [0, 1].
  • layoutId (type: String.t, default: nil) - Optional. Deprecated. Use PageRef.bounding_poly instead.
  • layoutType (type: String.t, default: nil) - Optional. The type of the layout element that is being referenced if any.
  • page (type: String.t, default: nil) - Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef{
    boundingPoly:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2BoundingPoly.t()
      | nil,
    confidence: number() | nil,
    layoutId: String.t() | nil,
    layoutType: String.t() | nil,
    page: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.