View Source GoogleApi.ContainerAnalysis.V1.Model.Artifact (google_api_container_analysis v0.28.0)

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.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1.Model.Artifact{
  checksum: String.t() | nil,
  id: String.t() | nil,
  names: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.