Package com.google.genai.types
Class HarmBlockMethod
java.lang.Object
com.google.genai.types.HarmBlockMethod
The method for blocking content. If not specified, the default behavior is to use the 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