Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::PageAnchor::PageRef (v0.20.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::PageAnchor::PageRef.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounding_poly

def bounding_poly() -> ::Google::Cloud::DocumentAI::V1beta3::BoundingPoly
Returns

#bounding_poly=

def bounding_poly=(value) -> ::Google::Cloud::DocumentAI::V1beta3::BoundingPoly
Parameter
Returns

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Optional. Confidence of detected page element, if applicable. Range [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Confidence of detected page element, if applicable. Range [0, 1].
Returns
  • (::Float) — Optional. Confidence of detected page element, if applicable. Range [0, 1].

#layout_id

def layout_id() -> ::String
Returns

#layout_id=

def layout_id=(value) -> ::String
Parameter
Returns

#layout_type

def layout_type() -> ::Google::Cloud::DocumentAI::V1beta3::Document::PageAnchor::PageRef::LayoutType
Returns

#layout_type=

def layout_type=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::PageAnchor::PageRef::LayoutType
Parameter
Returns

#page

def page() -> ::Integer
Returns
  • (::Integer) — Required. Index into the Document.pages element, for example using [Document.pages][page_refs.page] 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.

#page=

def page=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Index into the Document.pages element, for example using [Document.pages][page_refs.page] 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.
Returns
  • (::Integer) — Required. Index into the Document.pages element, for example using [Document.pages][page_refs.page] 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.