View Source GoogleApi.OnDemandScanning.V1.Model.PackageVersion (google_api_on_demand_scanning v0.4.0)

Attributes

  • licenses (type: list(String.t), default: nil) - The licenses associated with this package. Note that this has to go on the PackageVersion level, because we can have cases with images with the same source having different licences. E.g. in Alpine, musl and musl-utils both have the same origin musl, but have different sets of licenses.
  • name (type: String.t, default: nil) -
  • version (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.PackageVersion{
  licenses: [String.t()] | nil,
  name: String.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.