Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ReviewDocumentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb

Overview

Request message for review document method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ReviewDocumentRequest

Returns a new instance of GoogleCloudDocumentaiV1ReviewDocumentRequest.



2384
2385
2386
# File 'lib/google/apis/documentai_v1/classes.rb', line 2384

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inline_documentGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document

Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality. Corresponds to the JSON property inlineDocument



2382
2383
2384
# File 'lib/google/apis/documentai_v1/classes.rb', line 2382

def inline_document
  @inline_document
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2389
2390
2391
# File 'lib/google/apis/documentai_v1/classes.rb', line 2389

def update!(**args)
  @inline_document = args[:inline_document] if args.key?(:inline_document)
end