Container Registry API, gRPC: LifecyclePolicyService.ListDryRunResultAffectedImages
Retrieves the list of the affected images.
gRPC request
rpc ListDryRunResultAffectedImages (ListDryRunLifecyclePolicyResultAffectedImagesRequest) returns (ListDryRunLifecyclePolicyResultAffectedImagesResponse)
ListDryRunLifecyclePolicyResultAffectedImagesRequest
{
"dry_run_lifecycle_policy_result_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string",
"order_by": "string"
}
Field |
Description |
dry_run_lifecycle_policy_result_id |
string Required field. ID of the dry run result of the lifecycle policy |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters affected images listed in the response. The expression must specify:
|
order_by |
string Sorting the list by LifecyclePolicy.name and LifecyclePolicy.created_at fields. |
ListDryRunLifecyclePolicyResultAffectedImagesResponse
{
"affected_images": [
{
"id": "string",
"name": "string",
"digest": "string",
"compressed_size": "int64",
"config": {
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
},
"layers": [
{
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
}
],
"tags": [
"string"
],
"created_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
affected_images[] |
List of affected images. |
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
Image
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. |
compressed_size |
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. |
created_at |
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. |