Skip to content

Commit

Permalink
feat(guardian): add pagination support in list resource. Related to : g…
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaliagg9791 committed Sep 22, 2023
1 parent fbba153 commit f8e4f4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gotocompany/guardian/v1beta1/guardian.proto
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,14 @@ message ListResourcesRequest {
string urn = 5;
string name = 6;
repeated string details = 7;
uint32 size = 8 [(validate.rules).uint32 = {
gte: 0,
ignore_empty: true
}];
uint32 offset = 9 [(validate.rules).uint32 = {
gte: 0,
ignore_empty: true
}];
}

message ListResourcesResponse {
Expand Down

0 comments on commit f8e4f4f

Please sign in to comment.