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.



2359
2360
2361
# File 'lib/google/apis/documentai_v1/classes.rb', line 2359

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



2357
2358
2359
# File 'lib/google/apis/documentai_v1/classes.rb', line 2357

def inline_document
  @inline_document
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2364
2365
2366
# File 'lib/google/apis/documentai_v1/classes.rb', line 2364

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