Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals.
Safety check results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#banned_phrase_match
def banned_phrase_match() -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::BannedPhraseMatch
Returns
- (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::BannedPhraseMatch) — Specifies banned phrase match subject.
#banned_phrase_match=
def banned_phrase_match=(value) -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::BannedPhraseMatch
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::BannedPhraseMatch) — Specifies banned phrase match subject.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::BannedPhraseMatch) — Specifies banned phrase match subject.
#decision
def decision() -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::SafetyDecision
Returns
#decision=
def decision=(value) -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::SafetyDecision
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SafetySignals::SafetyDecision) — Safety decision.
Returns
#matched_banned_phrase
def matched_banned_phrase() -> ::String
Returns
- (::String) — The matched banned phrase if there was a match.
#matched_banned_phrase=
def matched_banned_phrase=(value) -> ::String
Parameter
- value (::String) — The matched banned phrase if there was a match.
Returns
- (::String) — The matched banned phrase if there was a match.