class Google::Apis::ContaineranalysisV1alpha1::Derived
Derived
describes the derived image portion (Occurrence
) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .
Attributes
Output only. This contains the base image URL for the derived image occurrence. Corresponds to the JSON property `baseResourceUrl` @return [String]
Output only. The number of layers by which this image differs from the associated image basis. Corresponds to the JSON property `distance` @return [Fixnum]
A set of properties that uniquely identify a given Docker image. Corresponds to the JSON property `fingerprint` @return [Google::Apis::ContaineranalysisV1alpha1::Fingerprint]
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. Corresponds to the JSON property `layerInfo` @return [Array<Google::Apis::ContaineranalysisV1alpha1::Layer>]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 916 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 921 def update!(**args) @base_resource_url = args[:base_resource_url] if args.key?(:base_resource_url) @distance = args[:distance] if args.key?(:distance) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @layer_info = args[:layer_info] if args.key?(:layer_info) end