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

GoogleCloudVisionV1p1beta1AnnotateFileResponse

import type { GoogleCloudVisionV1p1beta1AnnotateFileResponse } 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 GoogleCloudVisionV1p1beta1AnnotateFileResponse {
error?: Status;
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.

§

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.