View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageAnchorPageRef (google_api_content_warehouse v0.3.0)

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

Attributes

  • boundingPoly (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageAnchorPageRef{
    boundingPoly:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t()
      | nil,
    confidence: number() | nil,
    layoutId: String.t() | nil,
    layoutType: String.t() | nil,
    page: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.