Class PageRef (1.4.1)

PageRef(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
page int
Required. Index into the Document.pages element
layout_type google.cloud.documentai_v1beta2.types.Document.PageAnchor.PageRef.LayoutType
Optional. The type of the layout element that is being referenced. If not specified the whole page is assumed to be referenced.
layout_id str
Optional. The Page.Layout.id on the page that this element references. If [LayoutRef.type][] is specified this id must also be specified.

Inheritance

builtins.object > proto.message.Message > PageRef

Classes

LayoutType

LayoutType(value)

The type of layout that is being referenced.