View Source GoogleApi.SecurityCenter.V1.Model.File (google_api_security_center v0.29.0)

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

Attributes

  • contents (type: String.t, default: nil) - Prefix of the file contents as a JSON-encoded string.
  • diskPath (type: GoogleApi.SecurityCenter.V1.Model.DiskPath.t, default: nil) - Path of the file in terms of underlying disk/partition identifiers.
  • hashedSize (type: String.t, default: nil) - The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
  • partiallyHashed (type: boolean(), default: nil) - True when the hash covers only a prefix of the file.
  • path (type: String.t, default: nil) - Absolute path of the file as a JSON encoded string.
  • sha256 (type: String.t, default: nil) - 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.
  • size (type: String.t, default: nil) - Size of the file in bytes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.File{
  contents: String.t() | nil,
  diskPath: GoogleApi.SecurityCenter.V1.Model.DiskPath.t() | nil,
  hashedSize: String.t() | nil,
  partiallyHashed: boolean() | nil,
  path: String.t() | nil,
  sha256: String.t() | nil,
  size: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.