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

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


  • 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

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() ::
      | nil,
    confidence: number() | nil,
    layoutId: String.t() | nil,
    layoutType: String.t() | nil,
    page: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.