AnalyzeSentimentResponse
import type { AnalyzeSentimentResponse } from "https://googleapis.deno.dev/v1/language:v2.ts";
The sentiment analysis response message.
interface AnalyzeSentimentResponse {
documentSentiment?: Sentiment;
languageCode?: string;
languageSupported?: boolean;
sentences?: Sentence[];
}§Properties
§
languageCode?: string
[src]The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.