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.
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 891 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.
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 891 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.
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 891 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 |