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

AnalyzeSentimentRequest

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

The sentiment analysis request message.

interface AnalyzeSentimentRequest {
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 sentence offsets.