AuditLogConfiguration
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $logStream : AuditLogConfigurationLogStream|null
- The Audit Log Stream currently configured for the organization, if any.
- $organizationId : string
- Unique identifier of the Organization.
- $retentionPeriodInDays : int
- The number of days Audit Log events will be retained before being permanently deleted.
- $state : AuditLogConfigurationState
- The current state of the audit log configuration for the organization.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$logStream
The Audit Log Stream currently configured for the organization, if any.
public
AuditLogConfigurationLogStream|null
$logStream
= null
$organizationId
Unique identifier of the Organization.
public
string
$organizationId
$retentionPeriodInDays
The number of days Audit Log events will be retained before being permanently deleted.
public
int
$retentionPeriodInDays
$state
The current state of the audit log configuration for the organization.
public
AuditLogConfigurationState
$state
Methods
__construct()
public
__construct(string $organizationId, int $retentionPeriodInDays, AuditLogConfigurationState $state[, AuditLogConfigurationLogStream|null $logStream = null ]) : mixed
Parameters
- $organizationId : string
- $retentionPeriodInDays : int
- $state : AuditLogConfigurationState
- $logStream : AuditLogConfigurationLogStream|null = null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>