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.



966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 966

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.



966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 966

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:



966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 966

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