View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.Version (google_api_container_analysis v0.26.0)

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: For a discussion of this in Redhat/Fedora/Centos:


  • epoch (type: integer(), default: nil) - Used to correct mistakes in the version numbering scheme.
  • inclusive (type: boolean(), default: nil) - Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it's not
  • kind (type: String.t, default: nil) - Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
  • name (type: String.t, default: nil) - The main part of the version name.
  • revision (type: String.t, default: nil) - The iteration of the package build from the above version.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.Version{
  epoch: integer() | nil,
  inclusive: boolean() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  revision: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.