Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnnotateFileResponse

import type { AnnotateFileResponse } from "https://googleapis.deno.dev/v1/vision:v1.ts";

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

interface AnnotateFileResponse {
error?: Status;
inputConfig?: InputConfig;
responses?: AnnotateImageResponse[];
totalPages?: number;
}

§Properties

§
error?: Status
[src]

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

§
inputConfig?: InputConfig
[src]

Information about the file for which this response is generated.

§

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

§
totalPages?: number
[src]

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