GenerateContentResponse_PromptFeedback_BlockedReason class final

Blocked reason enumeration.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isNotDefault → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object?
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

$default → const GenerateContentResponse_PromptFeedback_BlockedReason
The default value for GenerateContentResponse_PromptFeedback_BlockedReason.
blockedReasonUnspecified → const GenerateContentResponse_PromptFeedback_BlockedReason
Unspecified blocked reason.
blocklist → const GenerateContentResponse_PromptFeedback_BlockedReason
Candidates blocked due to the terms which are included from the terminology blocklist.
modelArmor → const GenerateContentResponse_PromptFeedback_BlockedReason
The user prompt was blocked by Model Armor.
other → const GenerateContentResponse_PromptFeedback_BlockedReason
Candidates blocked due to other reason.
prohibitedContent → const GenerateContentResponse_PromptFeedback_BlockedReason
Candidates blocked due to prohibited content.
safety → const GenerateContentResponse_PromptFeedback_BlockedReason
Candidates blocked due to safety.