Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Part.
Represents a part of a training phrase.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ Intent \ TrainingPhraseMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
string
Required. The text for this part.
↳ parameter_id
string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
getText
Required. The text for this part.
string
setText
Required. The text for this part.
var
string
$this
getParameterId
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
string
setParameterId
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
var
string
$this