Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::Page::Block.
A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#detected_languages
def detected_languages() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#detected_languages=
def detected_languages=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#layout
def layout() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout
Returns
#layout=
def layout=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout
Parameter
Returns
#provenance
def provenance() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this annotation.
#provenance=
def provenance=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this annotation.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this annotation.