AuditLogConfig class

Provides the configuration for logging a type of permissions. Example:

{
  "audit_log_configs": \[
    {
      "log_type": "DATA_READ",
      "exempted_members": \[
        "user:jose@example.com"
      \]
    },
    {
      "log_type": "DATA_WRITE"
    }
  \]
}

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Constructors

AuditLogConfig({List<String>? exemptedMembers, String? logType})
AuditLogConfig.fromJson(Map json_)

Properties

exemptedMembers List<String>?
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logType String?
The log type that this config enables. Possible string values are:
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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