class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageBlock
A block has a set of lines (collected into paragraphs) that have a common line- spacing and orientation.
Attributes
detected_languages[RW]
A list of detected languages together with confidence. Corresponds to the JSON property `detectedLanguages` @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
layout[RW]
Visual element describing a layout unit on a page. Corresponds to the JSON property `layout` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
provenance[RW]
Structure to identify provenance relationships between annotations in different revisions. Corresponds to the JSON property `provenance` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 5169 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_v1/classes.rb, line 5174 def update!(**args) @detected_languages = args[:detected_languages] if args.key?(:detected_languages) @layout = args[:layout] if args.key?(:layout) @provenance = args[:provenance] if args.key?(:provenance) end