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

AnnotateTextRequest

import type { AnnotateTextRequest } from "https://googleapis.deno.dev/v1/language:v2.ts";

The request message for the text annotation API, which can perform multiple analysis types in one call.

interface AnnotateTextRequest {
document?: Document;
encodingType?:
| "NONE"
| "UTF8"
| "UTF16"
| "UTF32";
}

§Properties

§
document?: Document
[src]

Required. Input document.

§
encodingType?: "NONE" | "UTF8" | "UTF16" | "UTF32"
[src]

The encoding type used by the API to calculate offsets.

§

Required. The enabled features.