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.
↳ language_supported
bool
Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.
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.
Returns
Type
Description
string
setLanguageCode
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLanguageSupported
Whether the language is officially supported. The API may still return a
response when the language is not supported, but it is on a best effort
basis.
Returns
Type
Description
bool
setLanguageSupported
Whether the language is officially supported. The API may still return a
response when the language is not supported, but it is on a best effort
basis.
[[["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 V2 Client - Class AnalyzeEntitiesResponse (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V2.AnalyzeEntitiesResponse)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V2.AnalyzeEntitiesResponse)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V2.AnalyzeEntitiesResponse)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V2.AnalyzeEntitiesResponse)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V2.AnalyzeEntitiesResponse)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V2.AnalyzeEntitiesResponse)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V2.AnalyzeEntitiesResponse)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V2.AnalyzeEntitiesResponse)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V2.AnalyzeEntitiesResponse) \nReference documentation and code samples for the Cloud Natural Language V2 Client class AnalyzeEntitiesResponse.\n\nThe entity analysis response message.\n\nGenerated from protobuf message `google.cloud.language.v2.AnalyzeEntitiesResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEntities\n\nThe recognized entities in the input document.\n\n### setEntities\n\nThe recognized entities in the input document.\n\n### getLanguageCode\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 field for more details.\n\n### setLanguageCode\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 field for more details.\n\n### getLanguageSupported\n\nWhether the language is officially supported. The API may still return a\nresponse when the language is not supported, but it is on a best effort\nbasis.\n\n### setLanguageSupported\n\nWhether the language is officially supported. The API may still return a\nresponse when the language is not supported, but it is on a best effort\nbasis."]]