Google Cloud Dialogflow Cx V3 Client - Class SetParameterAction (0.2.1)

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

Setting a parameter value.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Fulfillment.SetParameterAction

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Fulfillment

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parameter string

Display name of the parameter.

↳ value Google\Protobuf\Value

The new value of the parameter. A null value clears the parameter.

getParameter

Display name of the parameter.

Returns
TypeDescription
string

setParameter

Display name of the parameter.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

The new value of the parameter. A null value clears the parameter.

Returns
TypeDescription
Google\Protobuf\Value|null

hasValue

clearValue

setValue

The new value of the parameter. A null value clears the parameter.

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