Container Registry API, gRPC: ImageService.Get
Returns the specified Image resource.
To get the list of available Image resources, make a List request.
gRPC request
rpc Get (GetImageRequest) returns (Image)
GetImageRequest
{
"imageId": "string"
}
Field |
Description |
imageId |
string Required field. ID of the Docker image resource to return. To get the Docker image ID use a ImageService.List request. |
Image
{
"id": "string",
"name": "string",
"digest": "string",
"compressedSize": "int64",
"config": {
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
},
"layers": [
{
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
}
],
"tags": [
"string"
],
"createdAt": "google.protobuf.Timestamp"
}
An Image resource. For more information, see Docker image.
Field |
Description |
id |
string Output only. ID of the Docker image. |
name |
string Name of the Docker image. |
digest |
string Content-addressable identifier of the Docker image. |
compressedSize |
int64 Compressed size of the Docker image, specified in bytes. |
config |
Configuration of the Docker image. |
layers[] |
Layers of the Docker image. |
tags[] |
string Tags of the Docker image. Each tag is unique within the repository. |
createdAt |
Output only. Creation timestamp in RFC3339 |
Blob
A Blob resource.
Field |
Description |
id |
string Output only. ID of the blob. |
digest |
string Content-addressable identifier of the blob. |
size |
int64 Size of the blob, specified in bytes. |
urls[] |
string List of blob urls. |