Adrià Vilanova MartÃnez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 1 | // Copyright 2016 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 4 | |
| 5 | // This file defines protobufs needed for handling Monorail secrets. |
| 6 | |
| 7 | syntax = "proto3"; |
| 8 | |
| 9 | package monorail.secrets; |
| 10 | |
| 11 | |
| 12 | // Next available tag: 7 |
| 13 | message ListRequestContents { |
| 14 | // The parent resource of the requested resources. |
| 15 | string parent = 1; |
| 16 | // The requested page size for listing the resources. |
| 17 | int32 page_size = 2; |
| 18 | // The requested sort order of the list of resources. |
| 19 | string order_by = 3; |
| 20 | // The query that may be used to filter which resources to show. |
| 21 | string query = 4; |
| 22 | // The resource names of projects to query within. |
| 23 | repeated string projects = 5; |
| 24 | // The string that may be used to filter which resources to show. |
| 25 | // See AIP-160. |
| 26 | string filter = 6; |
| 27 | } |
| 28 | |
| 29 | |
| 30 | // Next available tag: 3 |
| 31 | message PageTokenContents { |
| 32 | // The index of where the requested resource list should start. |
| 33 | int32 start = 1; |
| 34 | // An encrypted ListRequestContents message. |
| 35 | bytes encrypted_list_request_contents = 2; |
| 36 | } |