Class GoogleCloudSecuritycenterV2File
File information about the related binary/library used by an executable, or the script used by a script interpreter
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1.Data
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class GoogleCloudSecuritycenterV2File : IDirectResponseSchema
Properties
Contents
Prefix of the file contents as a JSON-encoded string.
Declaration
[JsonProperty("contents")]
public virtual string Contents { get; set; }
Property Value
Type | Description |
---|---|
string |
DiskPath
Path of the file in terms of underlying disk/partition identifiers.
Declaration
[JsonProperty("diskPath")]
public virtual GoogleCloudSecuritycenterV2DiskPath DiskPath { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudSecuritycenterV2DiskPath |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HashedSize
The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
Declaration
[JsonProperty("hashedSize")]
public virtual long? HashedSize { get; set; }
Property Value
Type | Description |
---|---|
long? |
PartiallyHashed
True when the hash covers only a prefix of the file.
Declaration
[JsonProperty("partiallyHashed")]
public virtual bool? PartiallyHashed { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Path
Absolute path of the file as a JSON encoded string.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
Sha256
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.
Declaration
[JsonProperty("sha256")]
public virtual string Sha256 { get; set; }
Property Value
Type | Description |
---|---|
string |
Size
Size of the file in bytes.
Declaration
[JsonProperty("size")]
public virtual long? Size { get; set; }
Property Value
Type | Description |
---|---|
long? |