google_api_container_analysis v0.4.0 GoogleApi.ContainerAnalysis.V1alpha1.Model.Artifact View Source

Artifact describes a build product.

Attributes

  • checksum (type: String.t, default: nil) - Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.

  • id (type: String.t, default: nil) - Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456

  • name (type: String.t, default: nil) - 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 (type: list(String.t), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.Artifact{
  checksum: String.t(),
  id: String.t(),
  name: String.t(),
  names: [String.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.