Google Cloud Ai Platform V1 Client - Class HarmSeverity (1.5.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class HarmSeverity.

Harm severity levels.

Protobuf type google.cloud.aiplatform.v1.SafetyRating.HarmSeverity

Namespace

Google \ Cloud \ AIPlatform \ V1 \ SafetyRating

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

HARM_SEVERITY_UNSPECIFIED

  Value: 0 
 

Harm severity unspecified.

Generated from protobuf enum HARM_SEVERITY_UNSPECIFIED = 0;

HARM_SEVERITY_NEGLIGIBLE

  Value: 1 
 

Negligible level of harm severity.

Generated from protobuf enum HARM_SEVERITY_NEGLIGIBLE = 1;

HARM_SEVERITY_LOW

  Value: 2 
 

Low level of harm severity.

Generated from protobuf enum HARM_SEVERITY_LOW = 2;

HARM_SEVERITY_MEDIUM

  Value: 3 
 

Medium level of harm severity.

Generated from protobuf enum HARM_SEVERITY_MEDIUM = 3;

HARM_SEVERITY_HIGH

  Value: 4 
 

High level of harm severity.

Generated from protobuf enum HARM_SEVERITY_HIGH = 4;

Design a Mobile Site
View Site in Mobile | Classic
Share by: