Google Cloud Dialogflow Cx V3 Client - Class Placeholder (0.3.4)

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

Represents a custom placeholder in the prompt text.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Generator.Placeholder

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Generator

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Unique ID used to map custom placeholder to parameters in fulfillment.

↳ name string

Custom placeholder value in the prompt text.

getId

Unique ID used to map custom placeholder to parameters in fulfillment.

Returns
Type Description
string

setId

Unique ID used to map custom placeholder to parameters in fulfillment.

Parameter
Name Description
var string
Returns
Type Description
$this

getName

Custom placeholder value in the prompt text.

Returns
Type Description
string

setName

Custom placeholder value in the prompt text.

Parameter
Name Description
var string
Returns
Type Description
$this