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, bool? ignoreChildExemptions, String? logType}) - AuditLogConfig.fromJson(Map json_)
Properties
-
exemptedMembers
↔ List<
String> ? -
Specifies the identities that do not cause logging for this type of
permission.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreChildExemptions ↔ bool?
-
This is deprecated and has no effect.
getter/setter pair
- 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