Google Cloud Dialogflow V2 Client - Class InputTextConfig (1.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class InputTextConfig.

Defines the language used in the input text.

Generated from protobuf message google.cloud.dialogflow.v2.InputTextConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ language_code string

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.

getLanguageCode

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.

Returns
TypeDescription
string

setLanguageCode

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this