GuardrailWordPolicyConfigManagedWordListsConfig class
Constructors
-
GuardrailWordPolicyConfigManagedWordListsConfig({Input<
String?> ? inputAction, Input<bool?> ? inputEnabled, Input<String?> ? outputAction, Input<bool?> ? outputEnabled, required Input<String> type}) -
Creates a new GuardrailWordPolicyConfigManagedWordListsConfig.
inputActionAction to take when harmful content is detected in the input. Valid values:BLOCK,NONE.inputEnabledWhether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation.outputActionAction to take when harmful content is detected in the output. Valid values:BLOCK,NONE.outputEnabledWhether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation.typeOptions for managed words.const -
GuardrailWordPolicyConfigManagedWordListsConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputAction
→ Input<
String?> ? -
Action to take when harmful content is detected in the input. Valid values:
BLOCK,NONE.final -
inputEnabled
→ Input<
bool?> ? -
Whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation.
final
-
outputAction
→ Input<
String?> ? -
Action to take when harmful content is detected in the output. Valid values:
BLOCK,NONE.final -
outputEnabled
→ Input<
bool?> ? -
Whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<
String> -
Options for managed words.
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