AppVersionSnapshotGuardrailModelSafetySafetySetting class

Constructors

AppVersionSnapshotGuardrailModelSafetySafetySetting({Input<String?>? category, Input<String?>? threshold})
Creates a new AppVersionSnapshotGuardrailModelSafetySafetySetting. category (Output) threshold (Output)
const
AppVersionSnapshotGuardrailModelSafetySafetySetting.fromMap(Map<String, dynamic> map)
factory

Properties

category → Input<String?>?
(Output) The harm category. Possible values: HARM_CATEGORY_HATE_SPEECH HARM_CATEGORY_DANGEROUS_CONTENT HARM_CATEGORY_HARASSMENT HARM_CATEGORY_SEXUALLY_EXPLICIT
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
threshold → Input<String?>?
(Output) The harm block threshold. Possible values: BLOCK_LOW_AND_ABOVE BLOCK_MEDIUM_AND_ABOVE BLOCK_ONLY_HIGH BLOCK_NONE OFF
final

Methods

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

Operators

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