GuardrailSensitiveInformationPolicyConfigPiiEntitiesConfig class

Constructors

GuardrailSensitiveInformationPolicyConfigPiiEntitiesConfig({required Input<String> action, Input<String?>? inputAction, Input<bool?>? inputEnabled, Input<String?>? outputAction, Input<bool?>? outputEnabled, required Input<String> type})
Creates a new GuardrailSensitiveInformationPolicyConfigPiiEntitiesConfig. action Options for sensitive information action. Valid values: BLOCK, ANONYMIZE, NONE. inputAction Action to take when harmful content is detected in the input. Valid values: BLOCK, ANONYMIZE, 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, ANONYMIZE, NONE. outputEnabled Whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. type The currently supported PII entities.
const
GuardrailSensitiveInformationPolicyConfigPiiEntitiesConfig.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>
Options for sensitive information action. Valid values: BLOCK, ANONYMIZE, NONE.
final
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, ANONYMIZE, 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, ANONYMIZE, 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>
The currently supported PII entities.
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