Class: Google::Apis::ContaineranalysisV1alpha1::Fingerprint
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Fingerprint
- Defined in:
- generated/google/apis/containeranalysis_v1alpha1/classes.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
A set of properties that uniquely identify a given Docker image.
Instance Attribute Summary collapse
-
#v1_name ⇒ String
The layer-id of the final layer in the Docker image's v1 representation.
-
#v2_blob ⇒ Array<String>
The ordered list of v2 blobs that represent a given image.
-
#v2_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Fingerprint
constructor
A new instance of Fingerprint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Fingerprint
Returns a new instance of Fingerprint
1105 1106 1107 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#v1_name ⇒ String
The layer-id of the final layer in the Docker image's v1
representation.
This field can be used as a filter in list requests.
Corresponds to the JSON property v1Name
1090 1091 1092 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1090 def v1_name @v1_name end |
#v2_blob ⇒ Array<String>
The ordered list of v2 blobs that represent a given image.
Corresponds to the JSON property v2Blob
1095 1096 1097 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1095 def v2_blob @v2_blob end |
#v2_name ⇒ String
Output only. The name of the image's v2 blobs computed via:
[bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1])
Only the name of the final blob is kept.
This field can be used as a filter in list requests.
Corresponds to the JSON property v2Name
1103 1104 1105 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1103 def v2_name @v2_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1110 1111 1112 1113 1114 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1110 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 |