Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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) ⇒ GoogleCloudDocumentaiV1beta3HumanReviewStatus
constructor
A new instance of GoogleCloudDocumentaiV1beta3HumanReviewStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3HumanReviewStatus
Returns a new instance of GoogleCloudDocumentaiV1beta3HumanReviewStatus.
8220 8221 8222 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8220 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] method.
Corresponds to the JSON property humanReviewOperation
8208 8209 8210 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8208 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
8213 8214 8215 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8213 def state @state end |
#state_message ⇒ String
A message providing more details about the human review state.
Corresponds to the JSON property stateMessage
8218 8219 8220 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8218 def @state_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8225 8226 8227 8228 8229 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8225 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 |