class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
Detected non-text visual elements e.g. checkbox, signature etc. on the page.
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]
type[RW]
Type of the VisualElement. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 5659 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 5664 def update!(**args) @detected_languages = args[:detected_languages] if args.key?(:detected_languages) @layout = args[:layout] if args.key?(:layout) @type = args[:type] if args.key?(:type) end