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

Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .

Attributes

  • baseResourceUrl (type: String.t, default: nil) - Output only. This contains the base image URL for the derived image occurrence.
  • distance (type: integer(), default: nil) - Output only. The number of layers by which this image differs from the associated image basis.
  • fingerprint (type: GoogleApi.OnDemandScanning.V1.Model.Fingerprint.t, default: nil) - Required. The fingerprint of the derived image.
  • layerInfo (type: list(GoogleApi.OnDemandScanning.V1.Model.Layer.t), default: nil) - This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.ImageOccurrence{
  baseResourceUrl: String.t() | nil,
  distance: integer() | nil,
  fingerprint: GoogleApi.OnDemandScanning.V1.Model.Fingerprint.t() | nil,
  layerInfo: [GoogleApi.OnDemandScanning.V1.Model.Layer.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.