GoogleApi.ContainerAnalysis.V1beta1.Model.Version (google_api_container_analysis v0.14.0) View Source

Version contains structured information about the version of a package.


  • epoch (type: integer(), default: nil) - Used to correct mistakes in the version numbering scheme.
  • 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.ContainerAnalysis.V1beta1.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.