Google Cloud Document Ai V1 Client - Class ReviewDocumentResponse (1.0.1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ReviewDocumentResponse.

Response message for review document method.

Generated from protobuf message google.cloud.documentai.v1.ReviewDocumentResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_destination string

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

↳ state int

The state of the review operation.

↳ rejection_reason string

The reason why the review is rejected by reviewer.

getGcsDestination

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

Generated from protobuf field string gcs_destination = 1;

Returns
TypeDescription
string

setGcsDestination

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

Generated from protobuf field string gcs_destination = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

The state of the review operation.

Generated from protobuf field .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;

Returns
TypeDescription
int

setState

The state of the review operation.

Generated from protobuf field .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRejectionReason

The reason why the review is rejected by reviewer.

Generated from protobuf field string rejection_reason = 3;

Returns
TypeDescription
string

setRejectionReason

The reason why the review is rejected by reviewer.

Generated from protobuf field string rejection_reason = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this