Class: Google::Apis::ContaineranalysisV1beta1::Basis
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::Basis
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb more...
Overview
Basis describes the base image portion (Note) of the DockerImage
relationship. Linked occurrences are derived from this or an
equivalent image via:
FROM
Instance Attribute Summary collapse
-
#fingerprint ⇒ Google::Apis::ContaineranalysisV1beta1::Fingerprint
A set of properties that uniquely identify a given Docker image.
-
#resource_url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Basis
constructor
A new instance of Basis.
-
#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) ⇒ Basis
Returns a new instance of Basis
282 283 284 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fingerprint ⇒ Google::Apis::ContaineranalysisV1beta1::Fingerprint
A set of properties that uniquely identify a given Docker image.
Corresponds to the JSON property fingerprint
274 275 276 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 274 def fingerprint @fingerprint end |
#resource_url ⇒ String
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
Corresponds to the JSON property resourceUrl
280 281 282 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 280 def resource_url @resource_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 290 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 287 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @resource_url = args[:resource_url] if args.key?(:resource_url) end |