Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page::Token.
A detected token.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#detected_break
def detected_break() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak) — Detected break at the end of a Token.
#detected_break=
def detected_break=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak
Parameter
- value (::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak) — Detected break at the end of a Token.
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak) — Detected break at the end of a Token.
#detected_languages
def detected_languages() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#detected_languages=
def detected_languages=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#layout
def layout() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout
Returns
#layout=
def layout=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout
Parameter
- value (::Google::Cloud::DocumentAI::V1::Document::Page::Layout) — Layout for Token.
Returns
#provenance
def provenance() -> ::Google::Cloud::DocumentAI::V1::Document::Provenance
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Provenance) — The history of this annotation.
#provenance=
def provenance=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Provenance
Parameter
- value (::Google::Cloud::DocumentAI::V1::Document::Provenance) — The history of this annotation.
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Provenance) — The history of this annotation.
#style_info
def style_info() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Token::StyleInfo
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Page::Token::StyleInfo) — Text style attributes.
#style_info=
def style_info=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Token::StyleInfo
Parameter
- value (::Google::Cloud::DocumentAI::V1::Document::Page::Token::StyleInfo) — Text style attributes.
Returns
- (::Google::Cloud::DocumentAI::V1::Document::Page::Token::StyleInfo) — Text style attributes.