NAME

Google::Cloud::Dialogflow::Cx::V3::SafetySettings - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/safety_settings.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3::SafetySettings;

my $msg = Google::Cloud::Dialogflow::Cx::V3::SafetySettings::SafetySettings->new({
    default_banned_phrase_match_strategy => $default_banned_phrase_match_strategy,
    banned_phrases => $banned_phrases,
    rai_settings => $rai_settings,
    default_rai_settings => $default_rai_settings,
});

# Read or update a field
my $val = $msg->default_banned_phrase_match_strategy();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::SafetySettings::SafetySettings->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/safety_settings.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::Cx::V3::SafetySettings::SafetySettings

Settings for Generative Safety.

Inherits from Protobuf::Message.

Accessors

Enum: SafetySettings::PhraseMatchStrategy

  • PHRASE_MATCH_STRATEGY_UNSPECIFIED => 0

  • PARTIAL_MATCH => 1

  • WORD_MATCH => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::SafetySettings::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.