Reference documentation and code samples for the Google Cloud Chronicle Client class UsnJournal.
Information from the NTFS USN Journal.
Generated from protobuf message google.backstory.UsnJournal
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attributes_flag |
string
File attributes flags from the USN record (e.g., "0x20"). |
↳ attributes |
int
Deprecated: Use file_attributes instead. File attributes from the USN record. |
↳ file_attributes |
int[]
File attributes from the USN record. |
↳ allocated |
bool
Indicates whether the file is allocated in the Master File Table (MFT). |
↳ reason |
int
Deprecated: Use reasons instead. Human-readable string describing the reason for the USN journal entry. (e.g., "USN_REASON_FILE_CREATE"). |
↳ reasons |
int[]
Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE"). |
getAttributesFlag
File attributes flags from the USN record (e.g., "0x20").
| Returns | |
|---|---|
| Type | Description |
string |
|
setAttributesFlag
File attributes flags from the USN record (e.g., "0x20").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAttributes
Deprecated: Use file_attributes instead.
File attributes from the USN record.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Attribute. |
setAttributes
Deprecated: Use file_attributes instead.
File attributes from the USN record.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Attribute. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFileAttributes
File attributes from the USN record.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<int> |
|
setFileAttributes
File attributes from the USN record.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAllocated
Indicates whether the file is allocated in the Master File Table (MFT).
| Returns | |
|---|---|
| Type | Description |
bool |
|
setAllocated
Indicates whether the file is allocated in the Master File Table (MFT).
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReason
Deprecated: Use reasons instead.
Human-readable string describing the reason for the USN journal entry. (e.g., "USN_REASON_FILE_CREATE").
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Reason. |
setReason
Deprecated: Use reasons instead.
Human-readable string describing the reason for the USN journal entry. (e.g., "USN_REASON_FILE_CREATE").
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Reason. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReasons
Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<int> |
|
setReasons
Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|