ArtifactContaineranalysisV1alpha1 constructor
Creates a new ArtifactContaineranalysisV1alpha1.
checksum Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
id Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
name Name of the artifact. 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. This field is deprecated in favor of the plural names field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
names 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.
Implementation
const ArtifactContaineranalysisV1alpha1({
this.checksum,
this.id,
this.name,
this.names,
});