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 \ V1Methods
__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, |
↳ exempted_member |
string
A single identity that is exempted from "data access" audit logging for the |
↳ 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.
Required
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |