Container Registry API, gRPC: LifecyclePolicyService.ListDryRunResults
Retrieves the list of the dry run results.
gRPC request
rpc ListDryRunResults (ListDryRunLifecyclePolicyResultsRequest) returns (ListDryRunLifecyclePolicyResultsResponse)
ListDryRunLifecyclePolicyResultsRequest
{
"lifecycle_policy_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string",
"order_by": "string"
}
Field |
Description |
lifecycle_policy_id |
string Required field. ID 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 dry run results listed in the response. The expression must specify:
|
order_by |
string Sorting the list by DryRunLifecyclePolicyResult.run_at and DryRunLifecyclePolicyResult.affected_images_count fields. |
ListDryRunLifecyclePolicyResultsResponse
{
"dry_run_lifecycle_policy_results": [
{
"dry_run_lifecycle_policy_result_id": "string",
"lifecycle_policy_id": "string",
"run_at": "google.protobuf.Timestamp",
"affected_images_count": "int64"
}
],
"next_page_token": "string"
}
Field |
Description |
dry_run_lifecycle_policy_results[] |
List of results of dry runs of a lifecycle policy. |
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 |
DryRunLifecyclePolicyResult
Field |
Description |
dry_run_lifecycle_policy_result_id |
string ID of the dry run result of the lifecycle policy. |
lifecycle_policy_id |
string ID of the lifecycle policy. |
run_at |
Time of the getting result. |
affected_images_count |
int64 Count of affected images. |