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
Name
Description
name
str
Required. registry_location, project_id, repository_name and
image id forms a unique image
name:\ projects/.
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.
uri
str
Required. URL to access the image.
Example:
us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
tags
MutableSequence[str]
Tags attached to this image.
image_size_bytes
int
Calculated size of the image.
This field is returned as the
'metadata.imageSizeBytes' field in the Version
resource.
upload_time
google.protobuf.timestamp_pb2.Timestamp
Time the image was uploaded.
media_type
str
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.
build_time
google.protobuf.timestamp_pb2.Timestamp
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.
update_time
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the docker image
was last updated.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class DockerImage (1.16.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.16.1 (latest)](/python/docs/reference/artifactregistry/latest/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.16.0](/python/docs/reference/artifactregistry/1.16.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.15.2](/python/docs/reference/artifactregistry/1.15.2/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.14.0](/python/docs/reference/artifactregistry/1.14.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.13.1](/python/docs/reference/artifactregistry/1.13.1/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.12.0](/python/docs/reference/artifactregistry/1.12.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.11.5](/python/docs/reference/artifactregistry/1.11.5/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.10.0](/python/docs/reference/artifactregistry/1.10.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.9.0](/python/docs/reference/artifactregistry/1.9.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.8.4](/python/docs/reference/artifactregistry/1.8.4/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.7.0](/python/docs/reference/artifactregistry/1.7.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.6.1](/python/docs/reference/artifactregistry/1.6.1/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.5.0](/python/docs/reference/artifactregistry/1.5.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.4.1](/python/docs/reference/artifactregistry/1.4.1/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.3.3](/python/docs/reference/artifactregistry/1.3.3/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.2.1](/python/docs/reference/artifactregistry/1.2.1/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.1.2](/python/docs/reference/artifactregistry/1.1.2/google.cloud.artifactregistry_v1.types.DockerImage)\n- [1.0.2](/python/docs/reference/artifactregistry/1.0.2/google.cloud.artifactregistry_v1.types.DockerImage)\n- [0.5.0](/python/docs/reference/artifactregistry/0.5.0/google.cloud.artifactregistry_v1.types.DockerImage)\n- [0.4.1](/python/docs/reference/artifactregistry/0.4.1/google.cloud.artifactregistry_v1.types.DockerImage)\n- [0.3.3](/python/docs/reference/artifactregistry/0.3.3/google.cloud.artifactregistry_v1.types.DockerImage)\n- [0.2.2](/python/docs/reference/artifactregistry/0.2.2/google.cloud.artifactregistry_v1.types.DockerImage)\n- [0.1.0](/python/docs/reference/artifactregistry/0.1.0/google.cloud.artifactregistry_v1.types.DockerImage) \n\n DockerImage(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDockerImage represents a docker artifact. The following fields are\nreturned as untyped metadata in the Version resource, using\ncamelcase keys (i.e. metadata.imageSizeBytes):\n\n- imageSizeBytes\n- mediaType\n- buildTime"]]