class Google::Apis::OndemandscanningV1beta1::ImageOccurrence

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

Attributes

base_resource_url[RW]

Output only. This contains the base image URL for the derived image occurrence. Corresponds to the JSON property `baseResourceUrl` @return [String]

distance[RW]

Output only. The number of layers by which this image differs from the associated image basis. Corresponds to the JSON property `distance` @return [Fixnum]

fingerprint[RW]

A set of properties that uniquely identify a given Docker image. Corresponds to the JSON property `fingerprint` @return [Google::Apis::OndemandscanningV1beta1::Fingerprint]

layer_info[RW]

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::OndemandscanningV1beta1::Layer>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 982
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 987
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