public sealed class AuditLogConfig : IMessage<AuditLogConfig>, IEquatable<AuditLogConfig>, IDeepCloneable<AuditLogConfig>, IBufferMessage, IMessage
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
IMessage<AuditLogConfig>, IEquatable<AuditLogConfig>, IDeepCloneable<AuditLogConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
AuditLogConfig()
public AuditLogConfig()
AuditLogConfig(AuditLogConfig)
public AuditLogConfig(AuditLogConfig other)
Parameter | |
---|---|
Name | Description |
other | AuditLogConfig |
Properties
ExemptedMembers
public RepeatedField<string> ExemptedMembers { get; }
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
HasIgnoreChildExemptions
public bool HasIgnoreChildExemptions { get; }
Gets whether the "ignore_child_exemptions" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasLogType
public bool HasLogType { get; }
Gets whether the "log_type" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
IgnoreChildExemptions
public bool IgnoreChildExemptions { get; set; }
This is deprecated and has no effect. Do not use.
Property Value | |
---|---|
Type | Description |
Boolean |
LogType
public string LogType { get; set; }
The log type that this config enables. Check the LogType enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |