Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus
- 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
-
#human_review_operation ⇒ String
The name of the operation triggered by the processed document.
-
#state ⇒ String
The state of human review on the processing request.
-
#state_message ⇒ String
A message providing more details about the human review state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1HumanReviewStatus
constructor
A new instance of GoogleCloudDocumentaiV1HumanReviewStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1HumanReviewStatus
Returns a new instance of GoogleCloudDocumentaiV1HumanReviewStatus.
1748 1749 1750 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#human_review_operation ⇒ String
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.
Corresponds to the JSON property humanReviewOperation
1736 1737 1738 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1736 def human_review_operation @human_review_operation end |
#state ⇒ String
The state of human review on the processing request.
Corresponds to the JSON property state
1741 1742 1743 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1741 def state @state end |
#state_message ⇒ String
A message providing more details about the human review state.
Corresponds to the JSON property stateMessage
1746 1747 1748 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1746 def @state_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1753 1754 1755 1756 1757 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1753 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 |