-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuser_requests.proto
44 lines (31 loc) · 1 KB
/
user_requests.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
syntax = "proto3";
package user_requests;
import "header.proto";
option go_package = "github.com/cyverse-de/p/go/user";
option java_multiple_files = true;
option java_package = "org.cyverse.de.protobufs";
option java_outer_classname = "UserRequestsProtobufs";
/**
* A request for user information.
*/
message UserLookupRequest {
reserved 4; // 4 was for sessions, which aren't used anymore.
// How to uniquely identify the user being looked up.
oneof lookup_ids {
string username = 1;
string user_id = 2;
string analysis_id = 3;
}
// Whether to include user logins in the response.
bool include_logins = 5;
// Whether to include user preferences in the response.
bool include_preferences = 6;
// Whether to include saved searches in the response.
bool include_saved_searches = 7;
// Paging limit.
uint32 login_limit = 8;
// Paging offset
uint32 login_offset = 9;
// Contains telemetry information
header.Header header = 10;
}