method

public abstract Optional<HarmBlockMethod> method()

Optional. The method for blocking content. If not specified, the default behavior is to use the probability score. This field is not supported in Gemini API.