class Google::Apis::OndemandscanningV1::Artifact
Artifact
describes a build product.
Attributes
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. Corresponds to the JSON property `checksum` @return [String]
Artifact
ID, if any; for container images, this will be a URL by digest like ` sha256 at gcr.io/projectID/imagename
:123456`. Corresponds to the JSON property `id` @return [String]
Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google
Container Registry, as presented to `docker push`. Note that a single Artifact
ID can have multiple names, for example if two tags are applied to one image. Corresponds to the JSON property `names` @return [Array<String>]
Public Class Methods
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 193 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 198 def update!(**args) @checksum = args[:checksum] if args.key?(:checksum) @id = args[:id] if args.key?(:id) @names = args[:names] if args.key?(:names) end