Enum HarmCategory (1.8.0)

Harm categories that will block the content.

Fields

Name Description
HARM_CATEGORY_DANGEROUS_CONTENT

The harm category is dangerous content.

HARM_CATEGORY_HARASSMENT

The harm category is harassment.

HARM_CATEGORY_HATE_SPEECH

The harm category is hate speech.

HARM_CATEGORY_SEXUALLY_EXPLICIT

The harm category is sexually explicit content.

HARM_CATEGORY_UNSPECIFIED

The harm category is unspecified.