Interface protos.google.cloud.language.v2.IAnnotateTextResponse (7.1.0)
Properties of an AnnotateTextResponse.
Package
@google-cloud/language
Properties
categories
categories?: (google.cloud.language.v2.IClassificationCategory[]|null);
AnnotateTextResponse categories
documentSentiment
documentSentiment?: (google.cloud.language.v2.ISentiment|null);
AnnotateTextResponse documentSentiment
entities
entities?: (google.cloud.language.v2.IEntity[]|null);
AnnotateTextResponse entities
languageCode
languageCode?: (string|null);
AnnotateTextResponse languageCode
languageSupported
languageSupported?: (boolean|null);
AnnotateTextResponse languageSupported
moderationCategories
moderationCategories?: (google.cloud.language.v2.IClassificationCategory[]|null);
AnnotateTextResponse moderationCategories
sentences
sentences?: (google.cloud.language.v2.ISentence[]|null);
AnnotateTextResponse sentences
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface protos.google.cloud.language.v2.IAnnotateTextResponse (7.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.1.0 (latest)](/nodejs/docs/reference/language/latest/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [6.5.0](/nodejs/docs/reference/language/6.5.0/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [5.2.2](/nodejs/docs/reference/language/5.2.2/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [5.1.2](/nodejs/docs/reference/language/5.1.2/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [5.0.2](/nodejs/docs/reference/language/5.0.2/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [4.3.2](/nodejs/docs/reference/language/4.3.2/language/protos.google.cloud.language.v2.iannotatetextresponse)\n- [4.2.9](/nodejs/docs/reference/language/4.2.9/language/protos.google.cloud.language.v2.iannotatetextresponse) \nProperties of an AnnotateTextResponse.\n\nPackage\n-------\n\n[@google-cloud/language](../overview.html)\n\nProperties\n----------\n\n### categories\n\n categories?: (google.cloud.language.v2.IClassificationCategory[]|null);\n\nAnnotateTextResponse categories\n\n### documentSentiment\n\n documentSentiment?: (google.cloud.language.v2.ISentiment|null);\n\nAnnotateTextResponse documentSentiment\n\n### entities\n\n entities?: (google.cloud.language.v2.IEntity[]|null);\n\nAnnotateTextResponse entities\n\n### languageCode\n\n languageCode?: (string|null);\n\nAnnotateTextResponse languageCode\n\n### languageSupported\n\n languageSupported?: (boolean|null);\n\nAnnotateTextResponse languageSupported\n\n### moderationCategories\n\n moderationCategories?: (google.cloud.language.v2.IClassificationCategory[]|null);\n\nAnnotateTextResponse moderationCategories\n\n### sentences\n\n sentences?: (google.cloud.language.v2.ISentence[]|null);\n\nAnnotateTextResponse sentences"]]