Google Cloud Dialogflow Cx V3 Client - Class IntentParameterValue (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class IntentParameterValue.

Represents a value for an intent parameter.

Generated from protobuf message google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ WebhookRequest \ IntentInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ original_value string

Always present. Original text value extracted from user utterance.

↳ resolved_value Google\Protobuf\Value

Always present. Structured value for the parameter extracted from user utterance.

getOriginalValue

Always present. Original text value extracted from user utterance.

Returns
TypeDescription
string

setOriginalValue

Always present. Original text value extracted from user utterance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResolvedValue

Always present. Structured value for the parameter extracted from user utterance.

Returns
TypeDescription
Google\Protobuf\Value|null

hasResolvedValue

clearResolvedValue

setResolvedValue

Always present. Structured value for the parameter extracted from user utterance.

Parameter
NameDescription
var Google\Protobuf\Value
Returns
TypeDescription
$this