Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class HarmProbability.
Harm probability levels in the content.
Protobuf type google.cloud.discoveryengine.v1.SafetyRating.HarmProbability
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SafetyRatingMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
HARM_PROBABILITY_UNSPECIFIED
Value: 0Harm probability unspecified.
Generated from protobuf enum HARM_PROBABILITY_UNSPECIFIED = 0;
NEGLIGIBLE
Value: 1Negligible level of harm.
Generated from protobuf enum NEGLIGIBLE = 1;
LOW
Value: 2Low level of harm.
Generated from protobuf enum LOW = 2;
MEDIUM
Value: 3Medium level of harm.
Generated from protobuf enum MEDIUM = 3;
HIGH
Value: 4High level of harm.
Generated from protobuf enum HIGH = 4;