TextInput

Represents the natural language text to be processed.

JSON representation
{
  "text": string,
  "languageCode": string
}
Fields
text

string

Optional. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions. Only one of text and companionQuery should be set - not both.

languageCode

string

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.