[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google API Common Protos V1 Client - Class AuditLogConfig (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.AuditLogConfig)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Cloud.Iam.V1.AuditLogConfig)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Cloud.Iam.V1.AuditLogConfig)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Cloud.Iam.V1.AuditLogConfig)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Cloud.Iam.V1.AuditLogConfig)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Cloud.Iam.V1.AuditLogConfig) \nReference documentation and code samples for the Google API Common Protos V1 Client class AuditLogConfig.\n\nProvides the configuration for logging a type of permissions.\n\nExample:\n{\n\"audit_log_configs\": \\[\n{\n\"log_type\": \"DATA_READ\",\n\"exempted_members\": \\[\n\"user:jose@example.com\"\n\\]\n},\n{\n\"log_type\": \"DATA_WRITE\"\n}\n\\]\n}\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.\n\nGenerated from protobuf message `google.iam.v1.AuditLogConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iam \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLogType\n\nThe log type that this config enables.\n\n### setLogType\n\nThe log type that this config enables.\n\n### getExemptedMembers\n\nSpecifies the identities that do not cause logging for this type of\npermission.\n\nFollows the same format of\n[Binding.members](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.Binding#_Google_Cloud_Iam_V1_Binding__getMembers__).\n\n### setExemptedMembers\n\nSpecifies the identities that do not cause logging for this type of\npermission.\n\nFollows the same format of\n[Binding.members](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.Binding#_Google_Cloud_Iam_V1_Binding__getMembers__)."]]