Google Cloud Dialogflow V2 Client - Class ConversationInfo (1.15.1)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this