Companion

object Companion

Properties

Link copied to clipboard

Deprecated: Election filter is not longer supported. The harm category is civic integrity.

Link copied to clipboard

Content that promotes, facilitates, or enables dangerous activities.

Link copied to clipboard

Abusive, threatening, or content intended to bully, torment, or ridicule.

Link copied to clipboard

Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

Link copied to clipboard

Images that contain dangerous content. This enum value is not supported in Gemini API.

Link copied to clipboard

Images that contain harassment. This enum value is not supported in Gemini API.

Link copied to clipboard

Images that contain hate speech. This enum value is not supported in Gemini API.

Link copied to clipboard

Images that contain sexually explicit content. This enum value is not supported in Gemini API.

Link copied to clipboard

Prompts designed to bypass safety filters. This enum value is not supported in Gemini API.

Link copied to clipboard

Content that contains sexually explicit material.

Link copied to clipboard

Default value. This value is unused.