Grafeas v1 API - Class Artifact (3.6.0)

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

Reference documentation and code samples for the Grafeas v1 API class Artifact.

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
RepeatedFieldstring