Class Artifact (2.2.0)

public sealed class Artifact : IMessage<Artifact>, IEquatable<Artifact>, IDeepCloneable<Artifact>, IBufferMessage, IMessage

Artifact describes a build product.

Inheritance

Object > Artifact

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

Artifact()

public Artifact()

Artifact(Artifact)

public Artifact(Artifact other)
Parameter
NameDescription
otherArtifact

Properties

Checksum

public string Checksum { get; set; }

Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.

Property Value
TypeDescription
String

Id

public string Id { get; set; }

Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.

Property Value
TypeDescription
String

Names

public RepeatedField<string> Names { get; }

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.

Property Value
TypeDescription
RepeatedField<String>