Google Cloud Dialogflow Cx V3 Client - Class SafetySignals (0.4.0)

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

Safety check results.

Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ DataStoreConnectionSignals

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ decision int

Safety decision.

↳ banned_phrase_match int

Specifies banned phrase match subject.

↳ matched_banned_phrase string

The matched banned phrase if there was a match.

getDecision

Safety decision.

Returns
Type Description
int

setDecision

Safety decision.

Parameter
Name Description
var int
Returns
Type Description
$this

getBannedPhraseMatch

Specifies banned phrase match subject.

Returns
Type Description
int

setBannedPhraseMatch

Specifies banned phrase match subject.

Parameter
Name Description
var int
Returns
Type Description
$this

getMatchedBannedPhrase

The matched banned phrase if there was a match.

Returns
Type Description
string

setMatchedBannedPhrase

The matched banned phrase if there was a match.

Parameter
Name Description
var string
Returns
Type Description
$this