public sealed class File : IMessage<File>, IEquatable<File>, IDeepCloneable<File>, IBufferMessage, IMessageReference documentation and code samples for the Security Command Center v2 API class File.
File information about the related binary/library used by an executable, or the script used by a script interpreter
Namespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
File()
public File()File(File)
public File(File other)| Parameter | |
|---|---|
| Name | Description |
other |
File |
Properties
Contents
public string Contents { get; set; }Prefix of the file contents as a JSON-encoded string.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DiskPath
public File.Types.DiskPath DiskPath { get; set; }Path of the file in terms of underlying disk/partition identifiers.
| Property Value | |
|---|---|
| Type | Description |
FileTypesDiskPath |
|
HashedSize
public long HashedSize { get; set; }The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Operations
public RepeatedField<File.Types.FileOperation> Operations { get; }Operation(s) performed on a file.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldFileTypesFileOperation |
|
PartiallyHashed
public bool PartiallyHashed { get; set; }True when the hash covers only a prefix of the file.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Path
public string Path { get; set; }Absolute path of the file as a JSON encoded string.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Sha256
public string Sha256 { get; set; }SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Size
public long Size { get; set; }Size of the file in bytes.
| Property Value | |
|---|---|
| Type | Description |
long |
|