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.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6, or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

The last update time of the operation.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

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.