-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathlog.proto
More file actions
44 lines (35 loc) · 1.03 KB
/
log.proto
File metadata and controls
44 lines (35 loc) · 1.03 KB
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 api.v1;
// Request passed into GetLog
message GetLogRequest {
// The selector defining which logs(s) to retrieve.
LogSelector selector = 1;
// The next_page_token value returned from a previous request, if any.
string page_token = 3;
}
// Response from calling GetLog
message GetLogResponse {
// Log matching the request, possibly capped by a server limit.
Log log = 1;
// Token to retrieve the next page of the log, or empty if there are no
// more logs.
string next_page_token = 2;
}
// Each Log represents a chunk of build logs.
message Log {
// The resource ID components that identify the Log.
message Id {
// The Invocation ID.
string invocation_id = 1;
}
// The resource ID components that identify the Log.
Id id = 1;
// The contents of the log.
string contents = 3;
}
// The selector used to specify which logs to return.
message LogSelector {
// Required: The Invocation ID.
// Return only the logs associated with this invocation ID.
string invocation_id = 1;
}