Class: Google::Cloud::DocumentAI::V1::ReviewDocumentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::ReviewDocumentResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1/document_processor_service.rb
Overview
Response message for the ReviewDocument method.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#gcs_destination ⇒ ::String
The Cloud Storage uri for the human reviewed document if the review is succeeded.
-
#rejection_reason ⇒ ::String
The reason why the review is rejected by reviewer.
-
#state ⇒ ::Google::Cloud::DocumentAI::V1::ReviewDocumentResponse::State
The state of the review operation.
Instance Attribute Details
#gcs_destination ⇒ ::String
Returns The Cloud Storage uri for the human reviewed document if the review is succeeded.
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 914 class ReviewDocumentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the review operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The review operation is rejected by the reviewer. REJECTED = 1 # The review operation is succeeded. SUCCEEDED = 2 end end |
#rejection_reason ⇒ ::String
Returns The reason why the review is rejected by reviewer.
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 914 class ReviewDocumentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the review operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The review operation is rejected by the reviewer. REJECTED = 1 # The review operation is succeeded. SUCCEEDED = 2 end end |
#state ⇒ ::Google::Cloud::DocumentAI::V1::ReviewDocumentResponse::State
Returns The state of the review operation.
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 914 class ReviewDocumentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of the review operation. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The review operation is rejected by the reviewer. REJECTED = 1 # The review operation is succeeded. SUCCEEDED = 2 end end |