Class Artifact
Artifact describes a build product.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class Artifact : IDirectResponseSchema
Properties
Checksum
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
Declaration
[JsonProperty("checksum")]
public virtual string Checksum { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("names")]
public virtual IList<string> Names { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |