Reference documentation and code samples for the Google Cloud Chronicle Client class FileMetadataPeResourceInfo.
File metadata for PE resource.
Generated from protobuf message google.backstory.FileMetadataPeResourceInfo
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sha256_hex |
string
SHA256_hex field.. |
↳ filetype_magic |
string
Type of resource content, as identified by the magic Python module. |
↳ language_code |
string
Human-readable version of the language and sublanguage identifiers, as defined in the Microsoft Windows PE specification. |
↳ entropy |
float
Entropy of the resource. |
↳ file_type |
string
File type. Note that this value may not match any of the well-known type identifiers defined in the ResourceType enum. |
getSha256Hex
SHA256_hex field..
Generated from protobuf field string sha256_hex = 1;
| Returns | |
|---|---|
| Type | Description |
string |
|
setSha256Hex
SHA256_hex field..
Generated from protobuf field string sha256_hex = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFiletypeMagic
Type of resource content, as identified by the magic Python module.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFiletypeMagic
Type of resource content, as identified by the magic Python module.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLanguageCode
Human-readable version of the language and sublanguage identifiers, as defined in the Microsoft Windows PE specification.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLanguageCode
Human-readable version of the language and sublanguage identifiers, as defined in the Microsoft Windows PE specification.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntropy
Entropy of the resource.
| Returns | |
|---|---|
| Type | Description |
float |
|
setEntropy
Entropy of the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFileType
File type.
Note that this value may not match any of the well-known type identifiers defined in the ResourceType enum.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFileType
File type.
Note that this value may not match any of the well-known type identifiers defined in the ResourceType enum.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|