class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor
Text reference indexing into the Document.text.
Attributes
content[RW]
Contains the content of the text span so that users do not have to look it up in the text_segments. Corresponds to the JSON property `content` @return [String]
text_segments[RW]
The text segments from the Document.text. Corresponds to the JSON property `textSegments` @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 2466 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/documentai_v1beta3/classes.rb, line 2471 def update!(**args) @content = args[:content] if args.key?(:content) @text_segments = args[:text_segments] if args.key?(:text_segments) end