Deprecated: Election filter is not longer supported. The harm category is civic integrity.
Content that promotes, facilitates, or enables dangerous activities.
Abusive, threatening, or content intended to bully, torment, or ridicule.
Content that promotes violence or incites hatred against individuals or groups based on certain attributes.
Images that contain dangerous content. This enum value is not supported in Gemini API.
Images that contain harassment. This enum value is not supported in Gemini API.
Images that contain hate speech. This enum value is not supported in Gemini API.
Images that contain sexually explicit content. This enum value is not supported in Gemini API.
Prompts designed to bypass safety filters. This enum value is not supported in Gemini API.
Content that contains sexually explicit material.
Default value. This value is unused.
The harm category to be blocked.