BatchProcessMetadata

The long-running operation metadata for BatchProcessDocuments.

JSON representation
{
  "state": enum (State),
  "stateMessage": string,
  "createTime": string,
  "updateTime": string,
  "individualProcessStatuses": [
    {
      object (IndividualProcessStatus)
    }
  ]
}
Fields
state

enum (State)

The state of the current batch processing.

stateMessage

string

A message providing more details about the current state of processing. For example, the error message if the operation is failed.

createTime

string (Timestamp format)

The creation time of the operation.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

The last update time of the operation.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

individualProcessStatuses[]

object (IndividualProcessStatus)

The list of response details of each document.

IndividualProcessStatus

The status of a each individual document in the batch process.

JSON representation
{
  "inputGcsSource": string,
  "status": {
    object (Status)
  },
  "outputGcsDestination": string,
  "humanReviewStatus": {
    object (HumanReviewStatus)
  }
}
Fields
inputGcsSource

string

The source of the document, same as the inputGcsSource field in the request when the batch process started.

status

object (Status)

The status processing the document.

outputGcsDestination

string

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

humanReviewStatus

object (HumanReviewStatus)

The status of human review on the processed document.

HumanReviewStatus

The status of human review on a processed document.

JSON representation
{
  "state": enum (State),
  "stateMessage": string,
  "humanReviewOperation": string
}
Fields
state

enum (State)

The state of human review on the processing request.

stateMessage

string

A message providing more details about the human review state.

humanReviewOperation

string

The name of the operation triggered by the processed document. This field is populated only when the state is HUMAN_REVIEW_IN_PROGRESS. It has the same response type and metadata as the long-running operation returned by ReviewDocument.