Google Cloud Security Command Center v1 API - Class File (3.18.0)

public sealed class File : IMessage<File>, IEquatable<File>, IDeepCloneable<File>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Security Command Center v1 API class File.

File information about the related binary/library used by an executable, or the script used by a script interpreter

Inheritance

object > File

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

File()

public File()

File(File)

public File(File other)
Parameter
NameDescription
otherFile

Properties

Contents

public string Contents { get; set; }

Prefix of the file contents as a JSON-encoded string.

Property Value
TypeDescription
string

DiskPath

public File.Types.DiskPath DiskPath { get; set; }

Path of the file in terms of underlying disk/partition identifiers.

Property Value
TypeDescription
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
TypeDescription
long

PartiallyHashed

public bool PartiallyHashed { get; set; }

True when the hash covers only a prefix of the file.

Property Value
TypeDescription
bool

Path

public string Path { get; set; }

Absolute path of the file as a JSON encoded string.

Property Value
TypeDescription
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
TypeDescription
string

Size

public long Size { get; set; }

Size of the file in bytes.

Property Value
TypeDescription
long