Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Phrase.
Text input which can be used for prompt or banned phrases.
Generated from protobuf message google.cloud.dialogflow.cx.v3.SafetySettings.Phrase
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettingsMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
string
Required. Text input which can be used for prompt or banned phrases.
↳ language_code
string
Required. Language code of the phrase.
getText
Required. Text input which can be used for prompt or banned phrases.
string
setText
Required. Text input which can be used for prompt or banned phrases.
var
string
$this
getLanguageCode
Required. Language code of the phrase.
string
setLanguageCode
Required. Language code of the phrase.
var
string
$this