Resource: DockerImage
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
JSON representation |
---|
{ "name": string, "uri": string, "tags": [ string ], "imageSizeBytes": string, "uploadTime": string, "mediaType": string, "buildTime": string, "updateTime": string } |
Fields | |
---|---|
name |
Required. registry_location, projectId, repository_name and image id forms a unique image name: |
uri |
Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf |
tags[] |
Tags attached to this image. |
imageSizeBytes |
Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource. |
uploadTime |
Time the image was uploaded. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
mediaType |
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. |
buildTime |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time when the docker image was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Gets a docker image. |
|
Lists docker images. |