AuditLogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.
Attributes
Name | Description |
exempted_members |
Sequence[str]
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. |
ignore_child_exemptions |
bool
This is deprecated and has no effect. Do not use. This field is a member of oneof _ _ignore_child_exemptions .
|
log_type |
google.cloud.compute_v1.types.AuditLogConfig.LogType
The log type that this config enables. This field is a member of oneof _ _log_type .
|
Classes
LogType
LogType(value)
The log type that this config enables.