class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ReviewDocumentRequest

Request message for review document method. Next Id: 6.

Attributes

enable_schema_validation[RW]

Whether the validation should be performed on the ad-hoc review request. Corresponds to the JSON property `enableSchemaValidation` @return [Boolean]

enable_schema_validation?[RW]

Whether the validation should be performed on the ad-hoc review request. Corresponds to the JSON property `enableSchemaValidation` @return [Boolean]

inline_document[RW]

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` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]

priority[RW]

The priority of the human review task. Corresponds to the JSON property `priority` @return [String]

Public Class Methods

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