public sealed class AuditLogConfig : Protobuf.IMessage<AuditLogConfig>, Protobuf.IBufferMessage
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.
Implements
Protobuf.IBufferMessageNamespace
Google.Cloud.Iam.V1Assembly
Google.Cloud.Iam.V1.dll
Constructors
AuditLogConfig()
public AuditLogConfig()
AuditLogConfig(AuditLogConfig)
public AuditLogConfig(AuditLogConfig other)
Parameter | |
---|---|
Name | Description |
other | AuditLogConfig |
Properties
ExemptedMembers
public Protobuf.Collections.RepeatedField<string> ExemptedMembers { get; }
Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][google.iam.v1.Binding.members].
Property Value | |
---|---|
Type | Description |
Protobuf.Collections.RepeatedField<String> |
LogType
public AuditLogConfig.Types.LogType LogType { get; set; }
The log type that this config enables.
Property Value | |
---|---|
Type | Description |
AuditLogConfig.Types.LogType |