Container Registry API, gRPC: LifecyclePolicyService.ListDryRunResults
Retrieves the list of the dry run results.
gRPC request
rpc ListDryRunResults (ListDryRunLifecyclePolicyResultsRequest) returns (ListDryRunLifecyclePolicyResultsResponse)
ListDryRunLifecyclePolicyResultsRequest
{
"lifecyclePolicyId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string",
"orderBy": "string"
}
Field |
Description |
lifecyclePolicyId |
string Required field. ID of the lifecycle policy. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
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:
|
orderBy |
string Sorting the list by DryRunLifecyclePolicyResult.runAt and DryRunLifecyclePolicyResult.affectedImagesCount fields. |
ListDryRunLifecyclePolicyResultsResponse
{
"dryRunLifecyclePolicyResults": [
{
"dryRunLifecyclePolicyResultId": "string",
"lifecyclePolicyId": "string",
"runAt": "google.protobuf.Timestamp",
"affectedImagesCount": "int64"
}
],
"nextPageToken": "string"
}
Field |
Description |
dryRunLifecyclePolicyResults[] |
List of results of dry runs of a lifecycle policy. |
nextPageToken |
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 |
dryRunLifecyclePolicyResultId |
string ID of the dry run result of the lifecycle policy. |
lifecyclePolicyId |
string ID of the lifecycle policy. |
runAt |
Time of the getting result. |
affectedImagesCount |
int64 Count of affected images. |