Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class LanguageInfo.
Represents the language information of the request.
Generated from protobuf message google.cloud.dialogflow.cx.v3.LanguageInfo
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input_language_code
↳ resolved_language_code
string
The language code detected for this request based on the user conversation.
↳ confidence_score
float
The confidence score of the detected language between 0 and 1.
getInputLanguageCode
The language code specified in the original request .
string
setInputLanguageCode
The language code specified in the original request .
var
string
$this
getResolvedLanguageCode
The language code detected for this request based on the user conversation.
string
setResolvedLanguageCode
The language code detected for this request based on the user conversation.
var
string
$this
getConfidenceScore
The confidence score of the detected language between 0 and 1.
float
setConfidenceScore
The confidence score of the detected language between 0 and 1.
var
float
$this