Google Cloud Dialogflow V2 Client - Class ConversationInfo (1.9.0)

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

Represents metadata of a conversation.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ language_code string

Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.

getLanguageCode

Optional. The language code of the conversation data within this dataset.

See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.

Returns
TypeDescription
string

setLanguageCode

Optional. The language code of the conversation data within this dataset.

See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this