View Source GoogleApi.OnDemandScanning.V1.Model.Version (google_api_on_demand_scanning v0.3.0)

Version contains structured information about the version of a package.


  • epoch (type: integer(), default: nil) - Used to correct mistakes in the version numbering scheme.
  • fullName (type: String.t, default: nil) - Human readable version string. This string is of the form :- and is only set when kind is NORMAL.
  • inclusive (type: boolean(), default: nil) - Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
  • kind (type: String.t, default: nil) - Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
  • name (type: String.t, default: nil) - Required only when version kind is NORMAL. 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.OnDemandScanning.V1.Model.Version{
  epoch: integer() | nil,
  fullName: String.t() | 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.