Class AnnotateFileResponse (3.1.4)

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 google.cloud.vision_v1p4beta1.types.InputConfig
Information about the file for which this response is generated.
responses Sequence[google.cloud.vision_v1p4beta1.types.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 google.rpc.status_pb2.Status
If set, represents the error message for the failed request. The responses field will not be set in this case.