class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken

A detected token.

Attributes

detected_break[RW]

Detected break at the end of a Token. Corresponds to the JSON property `detectedBreak` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak]

detected_languages[RW]

A list of detected languages together with confidence. Corresponds to the JSON property `detectedLanguages` @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]

layout[RW]

Visual element describing a layout unit on a page. Corresponds to the JSON property `layout` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]

provenance[RW]

Structure to identify provenance relationships between annotations in different revisions. Corresponds to the JSON property `provenance` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 3852
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 3857
def update!(**args)
  @detected_break = args[:detected_break] if args.key?(:detected_break)
  @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