View Source GoogleApi.ArtifactRegistry.V1.Model.DockerImage (google_api_artifact_registry v0.15.0)
DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): imageSizeBytes mediaType * buildTime
Attributes
-
buildTime
(type:DateTime.t
, default:nil
) - The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor. -
imageSizeBytes
(type:String.t
, default:nil
) - Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource. -
mediaType
(type:String.t
, default:nil
) - Media type of this image, e.g. "application/vnd.docker.distribution.manifest.v2+json". This field is returned as the 'metadata.mediaType' field in the Version resource. -
name
(type:String.t
, default:nil
) - Required. registry_location, project_id, repository_name and image id forms a unique image name:projects//locations//repository//dockerImages/
. For example, "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" is the image's digest. -
tags
(type:list(String.t)
, default:nil
) - Tags attached to this image. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The time when the docker image was last updated. -
uploadTime
(type:DateTime.t
, default:nil
) - Time the image was uploaded. -
uri
(type:String.t
, default:nil
) - Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.DockerImage{ buildTime: DateTime.t() | nil, imageSizeBytes: String.t() | nil, mediaType: String.t() | nil, name: String.t() | nil, tags: [String.t()] | nil, updateTime: DateTime.t() | nil, uploadTime: DateTime.t() | nil, uri: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.