category property

String? category
getter/setter pair

Harm category.

Required. Possible string values are:

  • "HARM_CATEGORY_UNSPECIFIED" : The harm category is unspecified.
  • "HARM_CATEGORY_HATE_SPEECH" : The harm category is hate speech.
  • "HARM_CATEGORY_DANGEROUS_CONTENT" : The harm category is dangerous content.
  • "HARM_CATEGORY_HARASSMENT" : The harm category is harassment.
  • "HARM_CATEGORY_SEXUALLY_EXPLICIT" : The harm category is sexually explicit content.

Implementation

core.String? category;