Package com.google.genai.types
Class HarmBlockMethod
java.lang.Object
com.google.genai.types.HarmBlockMethod
Specify if the threshold is used for probability or severity score. If not specified, the
threshold is used for probability score. This enum is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing the known values for HarmBlockMethod. -
Constructor Summary
ConstructorsConstructorDescriptionHarmBlockMethod(HarmBlockMethod.Known knownValue) HarmBlockMethod(String value) -
Method Summary