Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus

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

Overview

The status of human review on a processed document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3HumanReviewStatus

Returns a new instance of GoogleCloudDocumentaiV1beta3HumanReviewStatus.



5301
5302
5303
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 5301

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

Instance Attribute Details

#human_review_operationString

The name of the operation triggered by the processed document. This field is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type and metadata as the long running operation returned by [ ReviewDocument] method. Corresponds to the JSON property humanReviewOperation

Returns:

  • (String)


5289
5290
5291
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 5289

def human_review_operation
  @human_review_operation
end

#stateString

The state of human review on the processing request. Corresponds to the JSON property state

Returns:

  • (String)


5294
5295
5296
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 5294

def state
  @state
end

#state_messageString

A message providing more details about the human review state. Corresponds to the JSON property stateMessage

Returns:

  • (String)


5299
5300
5301
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 5299

def state_message
  @state_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5306
5307
5308
5309
5310
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 5306

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