Class: Google::Cloud::DocumentAI::V1beta3::ReviewDocumentResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb

Overview

Response message for the ReviewDocument method.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#gcs_destination::String

Returns The Cloud Storage uri for the human reviewed document if the review is succeeded.

Returns:

  • (::String)

    The Cloud Storage uri for the human reviewed document if the review is succeeded.



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 875

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.

Returns:

  • (::String)

    The reason why the review is rejected by reviewer.



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 875

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::V1beta3::ReviewDocumentResponse::State

Returns The state of the review operation.

Returns:



875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 875

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