Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::Document::Layout (v0.5.5)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::Document::Layout.

Describes the layout information of a text_segment in the document.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounding_poly

def bounding_poly() -> ::Google::Cloud::AutoML::V1beta1::BoundingPoly
Returns

#bounding_poly=

def bounding_poly=(value) -> ::Google::Cloud::AutoML::V1beta1::BoundingPoly
Parameter
Returns

#page_number

def page_number() -> ::Integer
Returns
  • (::Integer) — Page number of the text_segment in the original document, starts from 1.

#page_number=

def page_number=(value) -> ::Integer
Parameter
  • value (::Integer) — Page number of the text_segment in the original document, starts from 1.
Returns
  • (::Integer) — Page number of the text_segment in the original document, starts from 1.

#text_segment

def text_segment() -> ::Google::Cloud::AutoML::V1beta1::TextSegment
Returns

#text_segment=

def text_segment=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSegment
Parameter
Returns

#text_segment_type

def text_segment_type() -> ::Google::Cloud::AutoML::V1beta1::Document::Layout::TextSegmentType

#text_segment_type=

def text_segment_type=(value) -> ::Google::Cloud::AutoML::V1beta1::Document::Layout::TextSegmentType
Parameter