GoogleCloudAiplatformV1SafetyRating class

A safety rating for a piece of content.

The safety rating contains the harm category and the harm probability level.

Constructors

GoogleCloudAiplatformV1SafetyRating({bool? blocked, String? category, String? overwrittenThreshold, String? probability, double? probabilityScore, String? severity, double? severityScore})
GoogleCloudAiplatformV1SafetyRating.fromJson(Map json_)

Properties

blocked bool?
Indicates whether the content was blocked because of this rating.
getter/setter pair
category String?
The harm category of this rating.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
overwrittenThreshold String?
The overwritten threshold for the safety category of Gemini 2.0 image out.
getter/setter pair
probability String?
The probability of harm for this category.
getter/setter pair
probabilityScore double?
The probability score of harm for this category.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
The severity of harm for this category.
getter/setter pair
severityScore double?
The severity score of harm for this category.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited