Enum GeminiSafetyThreshold
Configurable Gemini harm-blocking thresholds. ProviderDefault omits the category from the request so that the selected model's current Google default applies.
public enum GeminiSafetyThreshold
Fields
BlockLowAndAbove = 5BlockMediumAndAbove = 4BlockNone = 2BlockOnlyHigh = 3Off = 1ProviderDefault = 0