Reference documentation and code samples for the Grafeas V1 Client class Artifact.
Artifact describes a build product.
Generated from protobuf message grafeas.v1.Artifact
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ checksum
string
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
↳ id
string
Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
.
↳ names
array
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.
getChecksum
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string
setChecksum
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
var
string
$this
getId
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string
setId
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
var
string
$this
getNames
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.
setNames
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.
var
string[]
$this