View Source GoogleApi.ContainerAnalysis.V1beta1.Model.Package (google_api_container_analysis v0.28.0)

Package represents a particular package version.

Attributes

  • architecture (type: String.t, default: nil) - The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
  • cpeUri (type: String.t, default: nil) - The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
  • description (type: String.t, default: nil) - The description of this package.
  • digest (type: list(GoogleApi.ContainerAnalysis.V1beta1.Model.Digest.t), default: nil) - Hash value, typically a file digest, that allows unique identification a specific package.
  • distribution (type: list(GoogleApi.ContainerAnalysis.V1beta1.Model.Distribution.t), default: nil) - The various channels by which a package is distributed.
  • license (type: GoogleApi.ContainerAnalysis.V1beta1.Model.License.t, default: nil) - Licenses that have been declared by the authors of the package.
  • maintainer (type: String.t, default: nil) - A freeform text denoting the maintainer of this package.
  • name (type: String.t, default: nil) - Required. Immutable. The name of the package.
  • packageType (type: String.t, default: nil) - The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
  • url (type: String.t, default: nil) - The homepage for this package.
  • version (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Version.t, default: nil) - The version of the package.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1beta1.Model.Package{
  architecture: String.t() | nil,
  cpeUri: String.t() | nil,
  description: String.t() | nil,
  digest: [GoogleApi.ContainerAnalysis.V1beta1.Model.Digest.t()] | nil,
  distribution:
    [GoogleApi.ContainerAnalysis.V1beta1.Model.Distribution.t()] | nil,
  license: GoogleApi.ContainerAnalysis.V1beta1.Model.License.t() | nil,
  maintainer: String.t() | nil,
  name: String.t() | nil,
  packageType: String.t() | nil,
  url: String.t() | nil,
  version: GoogleApi.ContainerAnalysis.V1beta1.Model.Version.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.