GuardrailWordPolicyConfigWordsConfig class
Constructors
-
GuardrailWordPolicyConfigWordsConfig({Input<String?>? inputAction, Input<bool?>? inputEnabled, Input<String?>? outputAction, Input<bool?>? outputEnabled, required Input<String> text})
-
Creates a new GuardrailWordPolicyConfigWordsConfig.
inputAction Action to take when harmful content is detected in the input. Valid values: BLOCK, NONE.
inputEnabled Whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation.
outputAction Action to take when harmful content is detected in the output. Valid values: BLOCK, NONE.
outputEnabled Whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation.
text The custom word text.
const
-
GuardrailWordPolicyConfigWordsConfig.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
-
text
→ Input<String>
-
The custom word text.
final