Class: Google::Apis::ContaineranalysisV1::ImageNote
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::ImageNote
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g., a tag of the resource_url.
Instance Attribute Summary collapse
-
#fingerprint ⇒ Google::Apis::ContaineranalysisV1::Fingerprint
A set of properties that uniquely identify a given Docker image.
-
#resource_url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageNote
constructor
A new instance of ImageNote.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageNote
Returns a new instance of ImageNote.
3857 3858 3859 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fingerprint ⇒ Google::Apis::ContaineranalysisV1::Fingerprint
A set of properties that uniquely identify a given Docker image.
Corresponds to the JSON property fingerprint
3849 3850 3851 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3849 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
3855 3856 3857 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3855 def resource_url @resource_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3862 3863 3864 3865 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3862 def update!(**args) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @resource_url = args[:resource_url] if args.key?(:resource_url) end |