public sealed class AuditLogConfig : IMessage<AuditLogConfig>, IEquatable<AuditLogConfig>, IDeepCloneable<AuditLogConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AuditLogConfig.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAuditLogConfig\u003c/code\u003e class in the Google Cloud Compute Engine v1 API allows configuration for logging various types of permissions, such as 'DATA_READ' and 'DATA_WRITE'.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version is 3.6.0, and the class documentation includes version history from 1.0.0 to 3.6.0, with each version linking to the corresponding documentation page.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows exemption of specific identities from being logged for certain permission types through the \u003ccode\u003eExemptedMembers\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuditLogConfig\u003c/code\u003e allows setting a bool in the \u003ccode\u003eIgnoreChildExemptions\u003c/code\u003e property, and checking whether it or the \u003ccode\u003elog_type\u003c/code\u003e are currently set in their respective \u003ccode\u003eHasIgnoreChildExemptions\u003c/code\u003e and \u003ccode\u003eHasLogType\u003c/code\u003e bool properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogType\u003c/code\u003e string property enables configuring the type of log that will be configured, such as "DATA_READ" or "DATA_WRITE", to be logged.\u003c/p\u003e\n"]]],[],null,[]]