Vertex AI v1 API - Enum HarmCategory (3.76.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Vertex AI v1 API enum HarmCategory.
Harm categories that will block the content.
Namespace
Google.Cloud.AIPlatform.V1
Assembly
Google.Cloud.AIPlatform.V1.dll
Fields
|
| Name |
Description |
CivicIntegrity |
Deprecated: Election filter is not longer supported.
The harm category is civic integrity.
|
DangerousContent |
The harm category is dangerous content.
|
Harassment |
The harm category is harassment.
|
HateSpeech |
The harm category is hate speech.
|
Jailbreak |
The harm category is for jailbreak prompts.
|
SexuallyExplicit |
The harm category is sexually explicit content.
|
Unspecified |
The harm category is unspecified.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-18 UTC.
[null,null,["Last updated 2026-08-18 UTC."],[],[]]