Google Cloud Dialogflow V2 Client - Class InputTextConfig (1.13.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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setLanguageCode

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

Parameter
Name Description
var string
Returns
Type Description
$this