class AuditConfigDelta extends Message

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

Methods

__construct(array $data = NULL)

Constructor.

int
getAction()

The action that was performed on an audit configuration in a policy.

$this
setAction(int $var)

The action that was performed on an audit configuration in a policy.

string
getService()

Specifies a service that was configured for Cloud Audit Logging.

$this
setService(string $var)

Specifies a service that was configured for Cloud Audit Logging.

string
getExemptedMember()

A single identity that is exempted from "data access" audit logging for the service specified above.

$this
setExemptedMember(string $var)

A single identity that is exempted from "data access" audit logging for the service specified above.

string
getLogType()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured.

$this
setLogType(string $var)

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured.

Details

at line 76
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $action
      The action that was performed on an audit configuration in a policy.
      Required
@type string $service
      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
@type string $exempted_member
      A single identity that is exempted from "data access" audit
      logging for the `service` specified above.
      Follows the same format of Binding.members.
@type string $log_type
      Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
      enabled, and cannot be configured.
      Required

}

at line 88
int getAction()

The action that was performed on an audit configuration in a policy.

Required

Generated from protobuf field .google.iam.v1.AuditConfigDelta.Action action = 1;

Return Value

int

at line 101
$this setAction(int $var)

The action that was performed on an audit configuration in a policy.

Required

Generated from protobuf field .google.iam.v1.AuditConfigDelta.Action action = 1;

Parameters

int $var

Return Value

$this

at line 118
string 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

Generated from protobuf field string service = 2;

Return Value

string

at line 133
$this setService(string $var)

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

Generated from protobuf field string service = 2;

Parameters

string $var

Return Value

$this

at line 149
string getExemptedMember()

A single identity that is exempted from "data access" audit logging for the service specified above.

Follows the same format of Binding.members.

Generated from protobuf field string exempted_member = 3;

Return Value

string

at line 163
$this setExemptedMember(string $var)

A single identity that is exempted from "data access" audit logging for the service specified above.

Follows the same format of Binding.members.

Generated from protobuf field string exempted_member = 3;

Parameters

string $var

Return Value

$this

at line 179
string getLogType()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured.

Required

Generated from protobuf field string log_type = 4;

Return Value

string

at line 193
$this setLogType(string $var)

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured.

Required

Generated from protobuf field string log_type = 4;

Parameters

string $var

Return Value

$this