GoogleCloudAiplatformV1SafetyRating class

Safety rating corresponding to the generated content.

Constructors

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

Properties

blocked bool?
Indicates whether the content was filtered out because of this rating.
getter/setter pair
category String?
Harm category.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
probability String?
Harm probability levels in the content.
getter/setter pair
probabilityScore double?
Harm probability score.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
Harm severity levels in the content.
getter/setter pair
severityScore double?
Harm severity score.
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