Google Cloud Dialogflow V2 Client - Class InputTextConfig (1.0.1)

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.

Generated from protobuf field string language_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setLanguageCode

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

Generated from protobuf field string language_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this