# Google Cloud Discovery Engine V1 Client - Class HarmProbability (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 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 \\ SafetyRating

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### HARM_PROBABILITY_UNSPECIFIED

    Value: 0

Harm probability unspecified.

Generated from protobuf enum `HARM_PROBABILITY_UNSPECIFIED = 0;`

### NEGLIGIBLE

    Value: 1

Negligible level of harm.

Generated from protobuf enum `NEGLIGIBLE = 1;`

### LOW

    Value: 2

Low level of harm.

Generated from protobuf enum `LOW = 2;`

### MEDIUM

    Value: 3

Medium level of harm.

Generated from protobuf enum `MEDIUM = 3;`

### HIGH

    Value: 4

High level of harm.

Generated from protobuf enum `HIGH = 4;`