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

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.

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

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.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this