GuardrailSensitiveInformationPolicyConfigRegexesConfig class

Constructors

GuardrailSensitiveInformationPolicyConfigRegexesConfig({required Input<String> action, Input<String?>? description, Input<String?>? inputAction, Input<bool?>? inputEnabled, required Input<String> name, Input<String?>? outputAction, Input<bool?>? outputEnabled, required Input<String> pattern})
Creates a new GuardrailSensitiveInformationPolicyConfigRegexesConfig. action Options for sensitive information action. Valid values: BLOCK, ANONYMIZE, NONE. description The regex description. 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. name The regex name. 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. pattern The regex pattern.
const
GuardrailSensitiveInformationPolicyConfigRegexesConfig.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>
Options for sensitive information action. Valid values: BLOCK, ANONYMIZE, NONE.
final
description → Input<String?>?
The regex description.
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
name → Input<String>
The regex name.
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
pattern → Input<String>
The regex pattern.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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