Package com.google.genai.types
Class HarmBlockThreshold
-
- All Implemented Interfaces:
public class HarmBlockThresholdThe threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumHarmBlockThreshold.KnownEnum representing the known values for HarmBlockThreshold.
-
Constructor Summary
Constructors Constructor Description HarmBlockThreshold(String value)HarmBlockThreshold(HarmBlockThreshold.Known knownValue)
-
Method Summary
-
-
Constructor Detail
-
HarmBlockThreshold
HarmBlockThreshold(String value)
-
HarmBlockThreshold
HarmBlockThreshold(HarmBlockThreshold.Known knownValue)
-
-
-
-