class Google::Apis::ContaineranalysisV1::Fingerprint

A set of properties that uniquely identify a given Docker image.

Attributes

v1_name[RW]

Required. The layer ID of the final layer in the Docker image’s v1 representation. Corresponds to the JSON property ‘v1Name` @return [String]

v2_blob[RW]

Required. The ordered list of v2 blobs that represent a given image. Corresponds to the JSON property ‘v2Blob` @return [Array<String>]

v2_name[RW]

Output only. The name of the image’s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob + “ ” + v2_name) Only the name of the final blob is kept. Corresponds to the JSON property ‘v2Name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1/classes.rb, line 2753
def update!(**args)
  @v1_name = args[:v1_name] if args.key?(:v1_name)
  @v2_blob = args[:v2_blob] if args.key?(:v2_blob)
  @v2_name = args[:v2_name] if args.key?(:v2_name)
end