GooglePrivacyDlpV2Condition class
The field type of value and field do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A value of type: - string can be compared against all other types - boolean can only be compared against other booleans - integer can be compared against doubles or a string if the string value can be parsed as an integer. - double can be compared against integers or a string if the string can be parsed as a double. - Timestamp can be compared against strings in RFC 3339 date string format. - TimeOfDay can be compared against timestamps and strings in the format of 'HH:mm:ss'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.
Constructors
-
GooglePrivacyDlpV2Condition({required Input<
GooglePrivacyDlpV2FieldId> field, required Input<GooglePrivacyDlpV2ConditionOperator> operator, Input<GooglePrivacyDlpV2Value> ? value}) -
Creates a new GooglePrivacyDlpV2Condition.
fieldField within the record this condition is evaluated against.operatorOperator used to compare the field or infoType to the value.valueValue to compare against.Mandatory, except for `EXISTS` tests.const -
GooglePrivacyDlpV2Condition.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
field
→ Input<
GooglePrivacyDlpV2FieldId> -
Field within the record this condition is evaluated against.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operator
→ Input<
GooglePrivacyDlpV2ConditionOperator> -
Operator used to compare the field or infoType to the value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ Input<
GooglePrivacyDlpV2Value> ? -
Value to compare against.
Mandatory, except for `EXISTS` tests.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