Tokens, along with their syntactic information, in the input document.
↳ language
string
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.
[[["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-07 UTC."],[],[],null,["# Cloud Natural Language V1 Client - Class AnalyzeSyntaxResponse (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V1.AnalyzeSyntaxResponse)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V1.AnalyzeSyntaxResponse)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V1.AnalyzeSyntaxResponse)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V1.AnalyzeSyntaxResponse)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V1.AnalyzeSyntaxResponse)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V1.AnalyzeSyntaxResponse)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V1.AnalyzeSyntaxResponse)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V1.AnalyzeSyntaxResponse)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V1.AnalyzeSyntaxResponse) \nReference documentation and code samples for the Cloud Natural Language V1 Client class AnalyzeSyntaxResponse.\n\nThe syntax analysis response message.\n\nGenerated from protobuf message `google.cloud.language.v1.AnalyzeSyntaxResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSentences\n\nSentences in the input document.\n\n### setSentences\n\nSentences in the input document.\n\n### getTokens\n\nTokens, along with their syntactic information, in the input document.\n\n### setTokens\n\nTokens, along with their syntactic information, in the input document.\n\n### getLanguage\n\nThe language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\n\nSee [Document.language](/php/docs/reference/cloud-language/latest/V1.Document#_Google_Cloud_Language_V1_Document__getLanguage__) field\nfor more details.\n\n### setLanguage\n\nThe language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\n\nSee [Document.language](/php/docs/reference/cloud-language/latest/V1.Document#_Google_Cloud_Language_V1_Document__getLanguage__) field\nfor more details."]]