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

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
Name Description
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
Type Description
string

setOriginalValue

Always present. Original text value extracted from user utterance.

Parameter
Name Description
var string
Returns
Type Description
$this

getResolvedValue

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

Returns
Type Description
Google\Protobuf\Value|null

hasResolvedValue

clearResolvedValue

setResolvedValue

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

Parameter
Name Description
var Google\Protobuf\Value
Returns
Type Description
$this