BatchAnnotateFilesResponse

A list of file annotation responses.

JSON representation
{
  "responses": [
    {
      object (AnnotateFileResponse)
    }
  ]
}
Fields
responses[]

object (AnnotateFileResponse)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

AnnotateFileResponse

Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.

JSON representation
{
  "inputConfig": {
    object (InputConfig)
  },
  "responses": [
    {
      object (AnnotateImageResponse)
    }
  ],
  "totalPages": number,
  "error": {
    object (Status)
  }
}
Fields
inputConfig

object (InputConfig)

Information about the file for which this response is generated.

responses[]

object (AnnotateImageResponse)

Individual responses to images found within the file. This field will be empty if the error field is set.

totalPages

number

This field gives the total number of pages in the file.

error

object (Status)

If set, represents the error message for the failed request. The responses field will not be set in this case.