Reference documentation and code samples for the Google API Common Protos V1 Client class AuditConfigDelta.
One delta entry for AuditConfig. Each individual change (only one
exempted_member in each entry) to a AuditConfig will be a separate entry.
Generated from protobuf message google.iam.v1.AuditConfigDelta
Namespace
Google \ Cloud \ Iam \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ action
int
The action that was performed on an audit configuration in a policy. Required
↳ service
string
Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required
↳ exempted_member
string
A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.
↳ log_type
string
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
getAction
The action that was performed on an audit configuration in a policy.
Required
Returns
Type
Description
int
setAction
The action that was performed on an audit configuration in a policy.
Required
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getService
Specifies a service that was configured for Cloud Audit Logging.
For example, storage.googleapis.com, cloudsql.googleapis.com.
allServices is a special value that covers all services.
Required
Returns
Type
Description
string
setService
Specifies a service that was configured for Cloud Audit Logging.
For example, storage.googleapis.com, cloudsql.googleapis.com.
allServices is a special value that covers all services.
Required
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getExemptedMember
A single identity that is exempted from "data access" audit
logging for the service specified above.
Follows the same format of Binding.members.
Returns
Type
Description
string
setExemptedMember
A single identity that is exempted from "data access" audit
logging for the service specified above.
Follows the same format of Binding.members.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLogType
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
enabled, and cannot be configured.
Required
Returns
Type
Description
string
setLogType
Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
enabled, and cannot be configured.
[[["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 AuditConfigDelta (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.AuditConfigDelta)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Cloud.Iam.V1.AuditConfigDelta)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Cloud.Iam.V1.AuditConfigDelta)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Cloud.Iam.V1.AuditConfigDelta)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Cloud.Iam.V1.AuditConfigDelta)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Cloud.Iam.V1.AuditConfigDelta) \nReference documentation and code samples for the Google API Common Protos V1 Client class AuditConfigDelta.\n\nOne delta entry for AuditConfig. Each individual change (only one\nexempted_member in each entry) to a AuditConfig will be a separate entry.\n\nGenerated from protobuf message `google.iam.v1.AuditConfigDelta`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iam \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAction\n\nThe action that was performed on an audit configuration in a policy.\n\nRequired\n\n### setAction\n\nThe action that was performed on an audit configuration in a policy.\n\nRequired\n\n### getService\n\nSpecifies a service that was configured for Cloud Audit Logging.\n\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.\nRequired\n\n### setService\n\nSpecifies a service that was configured for Cloud Audit Logging.\n\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.\nRequired\n\n### getExemptedMember\n\nA single identity that is exempted from \"data access\" audit\nlogging for the `service` specified above.\n\nFollows the same format of Binding.members.\n\n### setExemptedMember\n\nA single identity that is exempted from \"data access\" audit\nlogging for the `service` specified above.\n\nFollows the same format of Binding.members.\n\n### getLogType\n\nSpecifies the log_type that was be enabled. ADMIN_ACTIVITY is always\nenabled, and cannot be configured.\n\nRequired\n\n### setLogType\n\nSpecifies the log_type that was be enabled. ADMIN_ACTIVITY is always\nenabled, and cannot be configured.\n\nRequired"]]