Document AI V1 API - Class Google::Cloud::DocumentAI::V1::ReviewDocumentResponse (v1.0.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::ReviewDocumentResponse.

Response message for the ReviewDocument method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcs_destination

def gcs_destination() -> ::String
Returns
  • (::String) — The Cloud Storage uri for the human reviewed document if the review is succeeded.

#gcs_destination=

def gcs_destination=(value) -> ::String
Parameter
  • value (::String) — 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.

#rejection_reason

def rejection_reason() -> ::String
Returns
  • (::String) — The reason why the review is rejected by reviewer.

#rejection_reason=

def rejection_reason=(value) -> ::String
Parameter
  • value (::String) — The reason why the review is rejected by reviewer.
Returns
  • (::String) — The reason why the review is rejected by reviewer.

#state

def state() -> ::Google::Cloud::DocumentAI::V1::ReviewDocumentResponse::State
Returns

#state=

def state=(value) -> ::Google::Cloud::DocumentAI::V1::ReviewDocumentResponse::State
Parameter
Returns