safetySettings property

SafetySettings? safetySettings
getter/setter pair

Input only.

This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.

Optional.

Implementation

SafetySettings? safetySettings;