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
Required. registry_location, projectId, repository_name and image id forms a unique image name:projects/<projectId>/locations/<location>/repository/<repository_name>/dockerImages/<docker_image>. 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 projectId, "test-repo" is the repository_name and "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" is the image's digest.
uri
string
Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
mediaType
string
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.
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.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. The time when the docker image was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[[["\u003cp\u003eDockerImage represents a docker artifact, including metadata such as \u003ccode\u003eimageSizeBytes\u003c/code\u003e, \u003ccode\u003emediaType\u003c/code\u003e, and \u003ccode\u003ebuildTime\u003c/code\u003e, which are returned in the Version resource.\u003c/p\u003e\n"],["\u003cp\u003eEach DockerImage has a unique \u003ccode\u003ename\u003c/code\u003e comprised of the registry location, project ID, repository name, and image ID.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euri\u003c/code\u003e provides a direct URL to access the image, formatted as registry_location/project-id/repository-name/image-digest.\u003c/p\u003e\n"],["\u003cp\u003eThe DockerImage provides a JSON representation which includes \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003euri\u003c/code\u003e, \u003ccode\u003etags\u003c/code\u003e, \u003ccode\u003eimageSizeBytes\u003c/code\u003e, \u003ccode\u003euploadTime\u003c/code\u003e, \u003ccode\u003emediaType\u003c/code\u003e, \u003ccode\u003ebuildTime\u003c/code\u003e and \u003ccode\u003eupdateTime\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003elist\u003c/code\u003e methods allow retrieval of information about a specific Docker image or a list of multiple Docker images, respectively.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.repositories.dockerImages\n\n- [Resource: DockerImage](#DockerImage)\n - [JSON representation](#DockerImage.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: DockerImage\n---------------------\n\nDockerImage 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"]]