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

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
NameDescription
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
TypeDescription
string

setId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

Custom placeholder value in the prompt text.

Returns
TypeDescription
string

setName

Custom placeholder value in the prompt text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this