AuditAnnotation class

AuditAnnotation describes how to produce an audit annotation for an API request.

Constructors

AuditAnnotation({required String key, required String valueExpression})
Default constructor.
const
AuditAnnotation.fromJson(Map<String, dynamic> json)
Creates a AuditAnnotation from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueExpression String
valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a AuditAnnotation instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited