Class AnnotateFileResponse (2.1.0)

AnnotateFileResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
input_config .image_annotator.InputConfig
Information about the file for which this response is generated.
responses Sequence[.image_annotator.AnnotateImageResponse]
Individual responses to images found within the file. This field will be empty if the error field is set.
total_pages int
This field gives the total number of pages in the file.
error .status.Status
If set, represents the error message for the failed request. The responses field will not be set in this case.