Package com.google.genai.types
Class HarmBlockMethod
-
- All Implemented Interfaces:
public class HarmBlockMethodThe 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 Classes Modifier and Type Class Description public enumHarmBlockMethod.KnownEnum representing the known values for HarmBlockMethod.
-
Constructor Summary
Constructors Constructor Description HarmBlockMethod(String value)HarmBlockMethod(HarmBlockMethod.Known knownValue)
-
Method Summary
-
-
Constructor Detail
-
HarmBlockMethod
HarmBlockMethod(String value)
-
HarmBlockMethod
HarmBlockMethod(HarmBlockMethod.Known knownValue)
-
-
-
-