OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud_debugger": { | 5 "https://www.googleapis.com/auth/cloud_debugger": { |
6 "description": "Manage cloud debugger" | 6 "description": "Manage cloud debugger" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "clouddebugger:v2", | 25 "id": "clouddebugger:v2", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "clouddebugger", | 27 "name": "clouddebugger", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
| 31 "access_token": { |
| 32 "description": "OAuth access token.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "key": { |
| 37 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "quotaUser": { |
| 42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "pp": { |
| 47 "default": "true", |
| 48 "description": "Pretty-print response.", |
| 49 "location": "query", |
| 50 "type": "boolean" |
| 51 }, |
| 52 "bearer_token": { |
| 53 "description": "OAuth bearer token.", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 57 "oauth_token": { |
| 58 "description": "OAuth 2.0 token for the current user.", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
31 "upload_protocol": { | 62 "upload_protocol": { |
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
33 "location": "query", | 64 "location": "query", |
34 "type": "string" | 65 "type": "string" |
35 }, | 66 }, |
36 "prettyPrint": { | 67 "prettyPrint": { |
37 "default": "true", | 68 "default": "true", |
38 "description": "Returns response with indentations and line breaks."
, | 69 "description": "Returns response with indentations and line breaks."
, |
39 "location": "query", | 70 "location": "query", |
40 "type": "boolean" | 71 "type": "boolean" |
41 }, | 72 }, |
| 73 "uploadType": { |
| 74 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 75 "location": "query", |
| 76 "type": "string" |
| 77 }, |
42 "fields": { | 78 "fields": { |
43 "description": "Selector specifying which fields to include in a par
tial response.", | 79 "description": "Selector specifying which fields to include in a par
tial response.", |
44 "location": "query", | 80 "location": "query", |
45 "type": "string" | 81 "type": "string" |
46 }, | 82 }, |
47 "uploadType": { | |
48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "callback": { | |
53 "description": "JSONP", | |
54 "location": "query", | |
55 "type": "string" | |
56 }, | |
57 "$.xgafv": { | 83 "$.xgafv": { |
58 "description": "V1 error format.", | 84 "description": "V1 error format.", |
59 "enum": [ | 85 "enum": [ |
60 "1", | 86 "1", |
61 "2" | 87 "2" |
62 ], | 88 ], |
63 "enumDescriptions": [ | 89 "enumDescriptions": [ |
64 "v1 error format", | 90 "v1 error format", |
65 "v2 error format" | 91 "v2 error format" |
66 ], | 92 ], |
67 "location": "query", | 93 "location": "query", |
68 "type": "string" | 94 "type": "string" |
69 }, | 95 }, |
| 96 "callback": { |
| 97 "description": "JSONP", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
70 "alt": { | 101 "alt": { |
71 "default": "json", | 102 "default": "json", |
72 "description": "Data format for response.", | 103 "description": "Data format for response.", |
73 "enum": [ | 104 "enum": [ |
74 "json", | 105 "json", |
75 "media", | 106 "media", |
76 "proto" | 107 "proto" |
77 ], | 108 ], |
78 "enumDescriptions": [ | 109 "enumDescriptions": [ |
79 "Responses with Content-Type of application/json", | 110 "Responses with Content-Type of application/json", |
80 "Media download with context-dependent Content-Type", | 111 "Media download with context-dependent Content-Type", |
81 "Responses with Content-Type of application/x-protobuf" | 112 "Responses with Content-Type of application/x-protobuf" |
82 ], | 113 ], |
83 "location": "query", | 114 "location": "query", |
84 "type": "string" | 115 "type": "string" |
85 }, | |
86 "access_token": { | |
87 "description": "OAuth access token.", | |
88 "location": "query", | |
89 "type": "string" | |
90 }, | |
91 "key": { | |
92 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "quotaUser": { | |
97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
98 "location": "query", | |
99 "type": "string" | |
100 }, | |
101 "pp": { | |
102 "default": "true", | |
103 "description": "Pretty-print response.", | |
104 "location": "query", | |
105 "type": "boolean" | |
106 }, | |
107 "oauth_token": { | |
108 "description": "OAuth 2.0 token for the current user.", | |
109 "location": "query", | |
110 "type": "string" | |
111 }, | |
112 "bearer_token": { | |
113 "description": "OAuth bearer token.", | |
114 "location": "query", | |
115 "type": "string" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "debugger": { | 120 "debugger": { |
121 "resources": { | 121 "resources": { |
122 "debuggees": { | 122 "debuggees": { |
123 "methods": { | 123 "methods": { |
124 "list": { | 124 "list": { |
125 "description": "Lists all the debuggees that the use
r has access to.", | 125 "description": "Lists all the debuggees that the use
r has access to.", |
(...skipping 23 matching lines...) Expand all Loading... |
149 }, | 149 }, |
150 "scopes": [ | 150 "scopes": [ |
151 "https://www.googleapis.com/auth/cloud-platform"
, | 151 "https://www.googleapis.com/auth/cloud-platform"
, |
152 "https://www.googleapis.com/auth/cloud_debugger" | 152 "https://www.googleapis.com/auth/cloud_debugger" |
153 ] | 153 ] |
154 } | 154 } |
155 }, | 155 }, |
156 "resources": { | 156 "resources": { |
157 "breakpoints": { | 157 "breakpoints": { |
158 "methods": { | 158 "methods": { |
159 "list": { | 159 "delete": { |
160 "description": "Lists all breakpoints for th
e debuggee.", | 160 "description": "Deletes the breakpoint from
the debuggee.", |
161 "httpMethod": "GET", | 161 "httpMethod": "DELETE", |
162 "id": "clouddebugger.debugger.debuggees.brea
kpoints.list", | 162 "id": "clouddebugger.debugger.debuggees.brea
kpoints.delete", |
163 "parameterOrder": [ | 163 "parameterOrder": [ |
164 "debuggeeId" | 164 "debuggeeId", |
| 165 "breakpointId" |
165 ], | 166 ], |
166 "parameters": { | 167 "parameters": { |
167 "stripResults": { | 168 "breakpointId": { |
168 "description": "This field is deprec
ated. The following fields are always stripped out of\nthe result: `stack_frames
`, `evaluated_expressions` and `variable_table`.", | 169 "description": "ID of the breakpoint
to delete.", |
169 "location": "query", | |
170 "type": "boolean" | |
171 }, | |
172 "debuggeeId": { | |
173 "description": "ID of the debuggee w
hose breakpoints to list.", | |
174 "location": "path", | 170 "location": "path", |
175 "required": true, | 171 "required": true, |
176 "type": "string" | 172 "type": "string" |
177 }, | 173 }, |
178 "waitToken": { | 174 "debuggeeId": { |
179 "description": "A wait token that, i
f specified, blocks the call until the breakpoints\nlist has changed, or a serve
r selected timeout has expired. The value\nshould be set from the last response
. The error code\n`google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, w
hich\nshould be called again with the same `wait_token`.", | 175 "description": "ID of the debuggee w
hose breakpoint to delete.", |
180 "location": "query", | 176 "location": "path", |
| 177 "required": true, |
181 "type": "string" | 178 "type": "string" |
182 }, | 179 }, |
183 "clientVersion": { | 180 "clientVersion": { |
184 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", | 181 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", |
185 "location": "query", | 182 "location": "query", |
186 "type": "string" | 183 "type": "string" |
187 }, | |
188 "action.value": { | |
189 "description": "Only breakpoints wit
h the specified action will pass the filter.", | |
190 "enum": [ | |
191 "CAPTURE", | |
192 "LOG" | |
193 ], | |
194 "location": "query", | |
195 "type": "string" | |
196 }, | |
197 "includeInactive": { | |
198 "description": "When set to `true`,
the response includes active and inactive\nbreakpoints. Otherwise, it includes o
nly active breakpoints.", | |
199 "location": "query", | |
200 "type": "boolean" | |
201 }, | |
202 "includeAllUsers": { | |
203 "description": "When set to `true`,
the response includes the list of breakpoints set by\nany user. Otherwise, it in
cludes only breakpoints set by the caller.", | |
204 "location": "query", | |
205 "type": "boolean" | |
206 } | 184 } |
207 }, | 185 }, |
208 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints", | 186 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", |
209 "response": { | 187 "response": { |
210 "$ref": "ListBreakpointsResponse" | 188 "$ref": "Empty" |
211 }, | 189 }, |
212 "scopes": [ | 190 "scopes": [ |
213 "https://www.googleapis.com/auth/cloud-p
latform", | 191 "https://www.googleapis.com/auth/cloud-p
latform", |
214 "https://www.googleapis.com/auth/cloud_d
ebugger" | 192 "https://www.googleapis.com/auth/cloud_d
ebugger" |
215 ] | 193 ] |
216 }, | 194 }, |
217 "get": { | 195 "set": { |
218 "description": "Gets breakpoint information.
", | 196 "description": "Sets the breakpoint to the d
ebuggee.", |
219 "httpMethod": "GET", | 197 "httpMethod": "POST", |
220 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", | 198 "id": "clouddebugger.debugger.debuggees.brea
kpoints.set", |
221 "parameterOrder": [ | 199 "parameterOrder": [ |
222 "debuggeeId", | 200 "debuggeeId" |
223 "breakpointId" | |
224 ], | 201 ], |
225 "parameters": { | 202 "parameters": { |
226 "debuggeeId": { | 203 "debuggeeId": { |
227 "description": "ID of the debuggee w
hose breakpoint to get.", | 204 "description": "ID of the debuggee w
here the breakpoint is to be set.", |
228 "location": "path", | 205 "location": "path", |
229 "required": true, | 206 "required": true, |
230 "type": "string" | 207 "type": "string" |
231 }, | 208 }, |
232 "clientVersion": { | 209 "clientVersion": { |
233 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", | 210 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", |
234 "location": "query", | 211 "location": "query", |
235 "type": "string" | 212 "type": "string" |
236 }, | |
237 "breakpointId": { | |
238 "description": "ID of the breakpoint
to get.", | |
239 "location": "path", | |
240 "required": true, | |
241 "type": "string" | |
242 } | 213 } |
243 }, | 214 }, |
244 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", | 215 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/set", |
| 216 "request": { |
| 217 "$ref": "Breakpoint" |
| 218 }, |
245 "response": { | 219 "response": { |
246 "$ref": "GetBreakpointResponse" | 220 "$ref": "SetBreakpointResponse" |
247 }, | 221 }, |
248 "scopes": [ | 222 "scopes": [ |
249 "https://www.googleapis.com/auth/cloud-p
latform", | 223 "https://www.googleapis.com/auth/cloud-p
latform", |
250 "https://www.googleapis.com/auth/cloud_d
ebugger" | 224 "https://www.googleapis.com/auth/cloud_d
ebugger" |
251 ] | 225 ] |
252 }, | 226 }, |
253 "delete": { | 227 "list": { |
254 "description": "Deletes the breakpoint from
the debuggee.", | 228 "description": "Lists all breakpoints for th
e debuggee.", |
255 "httpMethod": "DELETE", | 229 "httpMethod": "GET", |
256 "id": "clouddebugger.debugger.debuggees.brea
kpoints.delete", | 230 "id": "clouddebugger.debugger.debuggees.brea
kpoints.list", |
| 231 "parameterOrder": [ |
| 232 "debuggeeId" |
| 233 ], |
| 234 "parameters": { |
| 235 "includeAllUsers": { |
| 236 "description": "When set to `true`,
the response includes the list of breakpoints set by\nany user. Otherwise, it in
cludes only breakpoints set by the caller.", |
| 237 "location": "query", |
| 238 "type": "boolean" |
| 239 }, |
| 240 "includeInactive": { |
| 241 "description": "When set to `true`,
the response includes active and inactive\nbreakpoints. Otherwise, it includes o
nly active breakpoints.", |
| 242 "location": "query", |
| 243 "type": "boolean" |
| 244 }, |
| 245 "stripResults": { |
| 246 "description": "This field is deprec
ated. The following fields are always stripped out of\nthe result: `stack_frames
`, `evaluated_expressions` and `variable_table`.", |
| 247 "location": "query", |
| 248 "type": "boolean" |
| 249 }, |
| 250 "debuggeeId": { |
| 251 "description": "ID of the debuggee w
hose breakpoints to list.", |
| 252 "location": "path", |
| 253 "required": true, |
| 254 "type": "string" |
| 255 }, |
| 256 "waitToken": { |
| 257 "description": "A wait token that, i
f specified, blocks the call until the breakpoints\nlist has changed, or a serve
r selected timeout has expired. The value\nshould be set from the last response
. The error code\n`google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, w
hich\nshould be called again with the same `wait_token`.", |
| 258 "location": "query", |
| 259 "type": "string" |
| 260 }, |
| 261 "clientVersion": { |
| 262 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", |
| 263 "location": "query", |
| 264 "type": "string" |
| 265 }, |
| 266 "action.value": { |
| 267 "description": "Only breakpoints wit
h the specified action will pass the filter.", |
| 268 "enum": [ |
| 269 "CAPTURE", |
| 270 "LOG" |
| 271 ], |
| 272 "location": "query", |
| 273 "type": "string" |
| 274 } |
| 275 }, |
| 276 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints", |
| 277 "response": { |
| 278 "$ref": "ListBreakpointsResponse" |
| 279 }, |
| 280 "scopes": [ |
| 281 "https://www.googleapis.com/auth/cloud-p
latform", |
| 282 "https://www.googleapis.com/auth/cloud_d
ebugger" |
| 283 ] |
| 284 }, |
| 285 "get": { |
| 286 "description": "Gets breakpoint information.
", |
| 287 "httpMethod": "GET", |
| 288 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", |
257 "parameterOrder": [ | 289 "parameterOrder": [ |
258 "debuggeeId", | 290 "debuggeeId", |
259 "breakpointId" | 291 "breakpointId" |
260 ], | 292 ], |
261 "parameters": { | 293 "parameters": { |
262 "clientVersion": { | 294 "clientVersion": { |
263 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", | |
264 "location": "query", | |
265 "type": "string" | |
266 }, | |
267 "breakpointId": { | |
268 "description": "ID of the breakpoint
to delete.", | |
269 "location": "path", | |
270 "required": true, | |
271 "type": "string" | |
272 }, | |
273 "debuggeeId": { | |
274 "description": "ID of the debuggee w
hose breakpoint to delete.", | |
275 "location": "path", | |
276 "required": true, | |
277 "type": "string" | |
278 } | |
279 }, | |
280 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", | |
281 "response": { | |
282 "$ref": "Empty" | |
283 }, | |
284 "scopes": [ | |
285 "https://www.googleapis.com/auth/cloud-p
latform", | |
286 "https://www.googleapis.com/auth/cloud_d
ebugger" | |
287 ] | |
288 }, | |
289 "set": { | |
290 "description": "Sets the breakpoint to the d
ebuggee.", | |
291 "httpMethod": "POST", | |
292 "id": "clouddebugger.debugger.debuggees.brea
kpoints.set", | |
293 "parameterOrder": [ | |
294 "debuggeeId" | |
295 ], | |
296 "parameters": { | |
297 "clientVersion": { | |
298 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", | 295 "description": "The client version m
aking the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).
", |
299 "location": "query", | 296 "location": "query", |
300 "type": "string" | 297 "type": "string" |
301 }, | 298 }, |
| 299 "breakpointId": { |
| 300 "description": "ID of the breakpoint
to get.", |
| 301 "location": "path", |
| 302 "required": true, |
| 303 "type": "string" |
| 304 }, |
302 "debuggeeId": { | 305 "debuggeeId": { |
303 "description": "ID of the debuggee w
here the breakpoint is to be set.", | 306 "description": "ID of the debuggee w
hose breakpoint to get.", |
304 "location": "path", | 307 "location": "path", |
305 "required": true, | 308 "required": true, |
306 "type": "string" | 309 "type": "string" |
307 } | 310 } |
308 }, | 311 }, |
309 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/set", | 312 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", |
310 "request": { | |
311 "$ref": "Breakpoint" | |
312 }, | |
313 "response": { | 313 "response": { |
314 "$ref": "SetBreakpointResponse" | 314 "$ref": "GetBreakpointResponse" |
315 }, | 315 }, |
316 "scopes": [ | 316 "scopes": [ |
317 "https://www.googleapis.com/auth/cloud-p
latform", | 317 "https://www.googleapis.com/auth/cloud-p
latform", |
318 "https://www.googleapis.com/auth/cloud_d
ebugger" | 318 "https://www.googleapis.com/auth/cloud_d
ebugger" |
319 ] | 319 ] |
320 } | 320 } |
321 } | 321 } |
322 } | 322 } |
323 } | 323 } |
324 } | 324 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 } | 421 } |
422 } | 422 } |
423 } | 423 } |
424 } | 424 } |
425 } | 425 } |
426 } | 426 } |
427 }, | 427 }, |
428 "revision": "20170817", | 428 "revision": "20170817", |
429 "rootUrl": "https://clouddebugger.googleapis.com/", | 429 "rootUrl": "https://clouddebugger.googleapis.com/", |
430 "schemas": { | 430 "schemas": { |
| 431 "StackFrame": { |
| 432 "description": "Represents a stack frame context.", |
| 433 "id": "StackFrame", |
| 434 "properties": { |
| 435 "arguments": { |
| 436 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", |
| 437 "items": { |
| 438 "$ref": "Variable" |
| 439 }, |
| 440 "type": "array" |
| 441 }, |
| 442 "locals": { |
| 443 "description": "Set of local variables at the stack frame lo
cation.\nNote that this might not be populated for all stack frames.", |
| 444 "items": { |
| 445 "$ref": "Variable" |
| 446 }, |
| 447 "type": "array" |
| 448 }, |
| 449 "location": { |
| 450 "$ref": "SourceLocation", |
| 451 "description": "Source location of the call site." |
| 452 }, |
| 453 "function": { |
| 454 "description": "Demangled function name at the call site.", |
| 455 "type": "string" |
| 456 } |
| 457 }, |
| 458 "type": "object" |
| 459 }, |
| 460 "RepoId": { |
| 461 "description": "A unique identifier for a cloud repo.", |
| 462 "id": "RepoId", |
| 463 "properties": { |
| 464 "projectRepoId": { |
| 465 "$ref": "ProjectRepoId", |
| 466 "description": "A combination of a project ID and a repo nam
e." |
| 467 }, |
| 468 "uid": { |
| 469 "description": "A server-assigned, globally unique identifie
r.", |
| 470 "type": "string" |
| 471 } |
| 472 }, |
| 473 "type": "object" |
| 474 }, |
| 475 "FormatMessage": { |
| 476 "description": "Represents a message with parameters.", |
| 477 "id": "FormatMessage", |
| 478 "properties": { |
| 479 "parameters": { |
| 480 "description": "Optional parameters to be embedded into the
message.", |
| 481 "items": { |
| 482 "type": "string" |
| 483 }, |
| 484 "type": "array" |
| 485 }, |
| 486 "format": { |
| 487 "description": "Format template for the message. The `format
` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used
to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which hel
ps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n*
`Please pay $$10 to use $0 instead of $1.`", |
| 488 "type": "string" |
| 489 } |
| 490 }, |
| 491 "type": "object" |
| 492 }, |
| 493 "ExtendedSourceContext": { |
| 494 "description": "An ExtendedSourceContext is a SourceContext combined
with additional\ndetails describing the context.", |
| 495 "id": "ExtendedSourceContext", |
| 496 "properties": { |
| 497 "context": { |
| 498 "$ref": "SourceContext", |
| 499 "description": "Any source context." |
| 500 }, |
| 501 "labels": { |
| 502 "additionalProperties": { |
| 503 "type": "string" |
| 504 }, |
| 505 "description": "Labels with user defined metadata.", |
| 506 "type": "object" |
| 507 } |
| 508 }, |
| 509 "type": "object" |
| 510 }, |
| 511 "ListDebuggeesResponse": { |
| 512 "description": "Response for listing debuggees.", |
| 513 "id": "ListDebuggeesResponse", |
| 514 "properties": { |
| 515 "debuggees": { |
| 516 "description": "List of debuggees accessible to the calling
user.\nThe fields `debuggee.id` and `description` are guaranteed to be set.\nThe
`description` field is a human readable field provided by agents and\ncan be di
splayed to users.", |
| 517 "items": { |
| 518 "$ref": "Debuggee" |
| 519 }, |
| 520 "type": "array" |
| 521 } |
| 522 }, |
| 523 "type": "object" |
| 524 }, |
| 525 "AliasContext": { |
| 526 "description": "An alias to a repo revision.", |
| 527 "id": "AliasContext", |
| 528 "properties": { |
| 529 "name": { |
| 530 "description": "The alias name.", |
| 531 "type": "string" |
| 532 }, |
| 533 "kind": { |
| 534 "description": "The alias kind.", |
| 535 "enum": [ |
| 536 "ANY", |
| 537 "FIXED", |
| 538 "MOVABLE", |
| 539 "OTHER" |
| 540 ], |
| 541 "enumDescriptions": [ |
| 542 "Do not use.", |
| 543 "Git tag", |
| 544 "Git branch", |
| 545 "OTHER is used to specify non-standard aliases, those no
t of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar
\", it\nis considered to be of kind OTHER." |
| 546 ], |
| 547 "type": "string" |
| 548 } |
| 549 }, |
| 550 "type": "object" |
| 551 }, |
| 552 "Empty": { |
| 553 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 554 "id": "Empty", |
| 555 "properties": {}, |
| 556 "type": "object" |
| 557 }, |
431 "SourceLocation": { | 558 "SourceLocation": { |
432 "description": "Represents a location in the source code.", | 559 "description": "Represents a location in the source code.", |
433 "id": "SourceLocation", | 560 "id": "SourceLocation", |
434 "properties": { | 561 "properties": { |
435 "path": { | 562 "path": { |
436 "description": "Path to the source file within the source co
ntext of the target binary.", | 563 "description": "Path to the source file within the source co
ntext of the target binary.", |
437 "type": "string" | 564 "type": "string" |
438 }, | 565 }, |
439 "line": { | 566 "line": { |
440 "description": "Line inside the file. The first line in the
file has the value `1`.", | 567 "description": "Line inside the file. The first line in the
file has the value `1`.", |
441 "format": "int32", | 568 "format": "int32", |
442 "type": "integer" | 569 "type": "integer" |
443 } | 570 } |
444 }, | 571 }, |
445 "type": "object" | 572 "type": "object" |
446 }, | 573 }, |
447 "Debuggee": { | 574 "Debuggee": { |
448 "description": "Represents the debugged application. The application
may include one or more\nreplicated processes executing the same code. Each of
these processes is\nattached with a debugger agent, carrying out the debugging c
ommands.\nAgents attached to the same debuggee identify themselves as such by us
ing\nexactly the same Debuggee message value when registering.", | 575 "description": "Represents the debugged application. The application
may include one or more\nreplicated processes executing the same code. Each of
these processes is\nattached with a debugger agent, carrying out the debugging c
ommands.\nAgents attached to the same debuggee identify themselves as such by us
ing\nexactly the same Debuggee message value when registering.", |
449 "id": "Debuggee", | 576 "id": "Debuggee", |
450 "properties": { | 577 "properties": { |
451 "id": { | 578 "extSourceContexts": { |
452 "description": "Unique identifier for the debuggee generated
by the controller service.", | 579 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nNOTE: this field is exper
imental and can be ignored.", |
453 "type": "string" | 580 "items": { |
| 581 "$ref": "ExtendedSourceContext" |
| 582 }, |
| 583 "type": "array" |
454 }, | 584 }, |
455 "agentVersion": { | 585 "labels": { |
456 "description": "Version ID of the agent.\nSchema: `domain/la
nguage-platform/vmajor.minor` (for example\n`google.com/java-gcp/v1.1`).", | 586 "additionalProperties": { |
| 587 "type": "string" |
| 588 }, |
| 589 "description": "A set of custom debuggee properties, populat
ed by the agent, to be\ndisplayed to the user.", |
| 590 "type": "object" |
| 591 }, |
| 592 "status": { |
| 593 "$ref": "StatusMessage", |
| 594 "description": "Human readable message to be displayed to th
e user about this debuggee.\nAbsence of this field indicates no status. The mess
age can be either\ninformational or an error status." |
| 595 }, |
| 596 "isInactive": { |
| 597 "description": "If set to `true`, indicates that Controller
service does not detect any\nactivity from the debuggee agents and the applicati
on is possibly stopped.", |
| 598 "type": "boolean" |
| 599 }, |
| 600 "project": { |
| 601 "description": "Project the debuggee is associated with.\nUs
e project number or id when registering a Google Cloud Platform project.", |
457 "type": "string" | 602 "type": "string" |
458 }, | 603 }, |
459 "isDisabled": { | 604 "isDisabled": { |
460 "description": "If set to `true`, indicates that the agent s
hould disable itself and\ndetach from the debuggee.", | 605 "description": "If set to `true`, indicates that the agent s
hould disable itself and\ndetach from the debuggee.", |
461 "type": "boolean" | 606 "type": "boolean" |
462 }, | 607 }, |
| 608 "agentVersion": { |
| 609 "description": "Version ID of the agent.\nSchema: `domain/la
nguage-platform/vmajor.minor` (for example\n`google.com/java-gcp/v1.1`).", |
| 610 "type": "string" |
| 611 }, |
| 612 "id": { |
| 613 "description": "Unique identifier for the debuggee generated
by the controller service.", |
| 614 "type": "string" |
| 615 }, |
463 "uniquifier": { | 616 "uniquifier": { |
464 "description": "Uniquifier to further distiguish the applica
tion.\nIt is possible that different applications might have identical values in
\nthe debuggee message, thus, incorrectly identified as a single application\nby
the Controller service. This field adds salt to further distiguish the\napplica
tion. Agents should consider seeding this field with value that\nidentifies the
code, binary, configuration and environment.", | 617 "description": "Uniquifier to further distiguish the applica
tion.\nIt is possible that different applications might have identical values in
\nthe debuggee message, thus, incorrectly identified as a single application\nby
the Controller service. This field adds salt to further distiguish the\napplica
tion. Agents should consider seeding this field with value that\nidentifies the
code, binary, configuration and environment.", |
465 "type": "string" | 618 "type": "string" |
466 }, | 619 }, |
467 "description": { | 620 "description": { |
468 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", | 621 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", |
469 "type": "string" | 622 "type": "string" |
470 }, | 623 }, |
471 "sourceContexts": { | 624 "sourceContexts": { |
472 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.", | 625 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.", |
473 "items": { | 626 "items": { |
474 "$ref": "SourceContext" | 627 "$ref": "SourceContext" |
475 }, | 628 }, |
476 "type": "array" | 629 "type": "array" |
| 630 } |
| 631 }, |
| 632 "type": "object" |
| 633 }, |
| 634 "ProjectRepoId": { |
| 635 "description": "Selects a repo using a Google Cloud Platform project
ID\n(e.g. winged-cargo-31) and a repo name within that project.", |
| 636 "id": "ProjectRepoId", |
| 637 "properties": { |
| 638 "repoName": { |
| 639 "description": "The name of the repo. Leave empty for the de
fault repo.", |
| 640 "type": "string" |
477 }, | 641 }, |
478 "extSourceContexts": { | 642 "projectId": { |
479 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nNOTE: this field is exper
imental and can be ignored.", | 643 "description": "The ID of the project.", |
480 "items": { | |
481 "$ref": "ExtendedSourceContext" | |
482 }, | |
483 "type": "array" | |
484 }, | |
485 "labels": { | |
486 "additionalProperties": { | |
487 "type": "string" | |
488 }, | |
489 "description": "A set of custom debuggee properties, populat
ed by the agent, to be\ndisplayed to the user.", | |
490 "type": "object" | |
491 }, | |
492 "isInactive": { | |
493 "description": "If set to `true`, indicates that Controller
service does not detect any\nactivity from the debuggee agents and the applicati
on is possibly stopped.", | |
494 "type": "boolean" | |
495 }, | |
496 "status": { | |
497 "$ref": "StatusMessage", | |
498 "description": "Human readable message to be displayed to th
e user about this debuggee.\nAbsence of this field indicates no status. The mess
age can be either\ninformational or an error status." | |
499 }, | |
500 "project": { | |
501 "description": "Project the debuggee is associated with.\nUs
e project number or id when registering a Google Cloud Platform project.", | |
502 "type": "string" | 644 "type": "string" |
503 } | 645 } |
504 }, | 646 }, |
505 "type": "object" | 647 "type": "object" |
506 }, | 648 }, |
507 "ListActiveBreakpointsResponse": { | 649 "ListActiveBreakpointsResponse": { |
508 "description": "Response for listing active breakpoints.", | 650 "description": "Response for listing active breakpoints.", |
509 "id": "ListActiveBreakpointsResponse", | 651 "id": "ListActiveBreakpointsResponse", |
510 "properties": { | 652 "properties": { |
511 "nextWaitToken": { | 653 "nextWaitToken": { |
512 "description": "A token that can be used in the next method
call to block until\nthe list of breakpoints changes.", | 654 "description": "A token that can be used in the next method
call to block until\nthe list of breakpoints changes.", |
513 "type": "string" | 655 "type": "string" |
514 }, | 656 }, |
515 "breakpoints": { | 657 "breakpoints": { |
516 "description": "List of all active breakpoints.\nThe fields
`id` and `location` are guaranteed to be set on each breakpoint.", | 658 "description": "List of all active breakpoints.\nThe fields
`id` and `location` are guaranteed to be set on each breakpoint.", |
517 "items": { | 659 "items": { |
518 "$ref": "Breakpoint" | 660 "$ref": "Breakpoint" |
519 }, | 661 }, |
520 "type": "array" | 662 "type": "array" |
521 }, | 663 }, |
522 "waitExpired": { | 664 "waitExpired": { |
523 "description": "If set to `true`, indicates that there is no
change to the\nlist of active breakpoints and the server-selected timeout has e
xpired.\nThe `breakpoints` field would be empty and should be ignored.", | 665 "description": "If set to `true`, indicates that there is no
change to the\nlist of active breakpoints and the server-selected timeout has e
xpired.\nThe `breakpoints` field would be empty and should be ignored.", |
524 "type": "boolean" | 666 "type": "boolean" |
525 } | 667 } |
526 }, | 668 }, |
527 "type": "object" | 669 "type": "object" |
528 }, | 670 }, |
529 "ProjectRepoId": { | |
530 "description": "Selects a repo using a Google Cloud Platform project
ID\n(e.g. winged-cargo-31) and a repo name within that project.", | |
531 "id": "ProjectRepoId", | |
532 "properties": { | |
533 "repoName": { | |
534 "description": "The name of the repo. Leave empty for the de
fault repo.", | |
535 "type": "string" | |
536 }, | |
537 "projectId": { | |
538 "description": "The ID of the project.", | |
539 "type": "string" | |
540 } | |
541 }, | |
542 "type": "object" | |
543 }, | |
544 "CloudWorkspaceSourceContext": { | 671 "CloudWorkspaceSourceContext": { |
545 "description": "A CloudWorkspaceSourceContext denotes a workspace at
a particular snapshot.", | 672 "description": "A CloudWorkspaceSourceContext denotes a workspace at
a particular snapshot.", |
546 "id": "CloudWorkspaceSourceContext", | 673 "id": "CloudWorkspaceSourceContext", |
547 "properties": { | 674 "properties": { |
548 "snapshotId": { | 675 "snapshotId": { |
549 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", | 676 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", |
550 "type": "string" | 677 "type": "string" |
551 }, | 678 }, |
552 "workspaceId": { | 679 "workspaceId": { |
553 "$ref": "CloudWorkspaceId", | 680 "$ref": "CloudWorkspaceId", |
554 "description": "The ID of the workspace." | 681 "description": "The ID of the workspace." |
555 } | 682 } |
556 }, | 683 }, |
557 "type": "object" | 684 "type": "object" |
558 }, | 685 }, |
559 "UpdateActiveBreakpointResponse": { | |
560 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", | |
561 "id": "UpdateActiveBreakpointResponse", | |
562 "properties": {}, | |
563 "type": "object" | |
564 }, | |
565 "GerritSourceContext": { | 686 "GerritSourceContext": { |
566 "description": "A SourceContext referring to a Gerrit project.", | 687 "description": "A SourceContext referring to a Gerrit project.", |
567 "id": "GerritSourceContext", | 688 "id": "GerritSourceContext", |
568 "properties": { | 689 "properties": { |
569 "aliasContext": { | 690 "aliasContext": { |
570 "$ref": "AliasContext", | 691 "$ref": "AliasContext", |
571 "description": "An alias, which may be a branch or tag." | 692 "description": "An alias, which may be a branch or tag." |
572 }, | 693 }, |
573 "gerritProject": { | 694 "gerritProject": { |
574 "description": "The full project name within the host. Proje
cts may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"re
po name\" is hostURI/project.", | 695 "description": "The full project name within the host. Proje
cts may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"re
po name\" is hostURI/project.", |
575 "type": "string" | 696 "type": "string" |
576 }, | 697 }, |
577 "revisionId": { | 698 "revisionId": { |
578 "description": "A revision (commit) ID.", | 699 "description": "A revision (commit) ID.", |
579 "type": "string" | 700 "type": "string" |
580 }, | 701 }, |
581 "hostUri": { | 702 "hostUri": { |
582 "description": "The URI of a running Gerrit instance.", | 703 "description": "The URI of a running Gerrit instance.", |
583 "type": "string" | 704 "type": "string" |
584 }, | 705 }, |
585 "aliasName": { | 706 "aliasName": { |
586 "description": "The name of an alias (branch, tag, etc.).", | 707 "description": "The name of an alias (branch, tag, etc.).", |
587 "type": "string" | 708 "type": "string" |
588 } | 709 } |
589 }, | 710 }, |
590 "type": "object" | 711 "type": "object" |
591 }, | 712 }, |
| 713 "UpdateActiveBreakpointResponse": { |
| 714 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", |
| 715 "id": "UpdateActiveBreakpointResponse", |
| 716 "properties": {}, |
| 717 "type": "object" |
| 718 }, |
592 "CloudWorkspaceId": { | 719 "CloudWorkspaceId": { |
593 "description": "A CloudWorkspaceId is a unique identifier for a clou
d workspace.\nA cloud workspace is a place associated with a repo where modified
files\ncan be stored before they are committed.", | 720 "description": "A CloudWorkspaceId is a unique identifier for a clou
d workspace.\nA cloud workspace is a place associated with a repo where modified
files\ncan be stored before they are committed.", |
594 "id": "CloudWorkspaceId", | 721 "id": "CloudWorkspaceId", |
595 "properties": { | 722 "properties": { |
596 "repoId": { | 723 "repoId": { |
597 "$ref": "RepoId", | 724 "$ref": "RepoId", |
598 "description": "The ID of the repo containing the workspace.
" | 725 "description": "The ID of the repo containing the workspace.
" |
599 }, | 726 }, |
600 "name": { | 727 "name": { |
601 "description": "The unique name of the workspace within the
repo. This is the name\nchosen by the client in the Source API's CreateWorkspac
e method.", | 728 "description": "The unique name of the workspace within the
repo. This is the name\nchosen by the client in the Source API's CreateWorkspac
e method.", |
(...skipping 17 matching lines...) Expand all Loading... |
619 }, | 746 }, |
620 "type": "array" | 747 "type": "array" |
621 } | 748 } |
622 }, | 749 }, |
623 "type": "object" | 750 "type": "object" |
624 }, | 751 }, |
625 "Breakpoint": { | 752 "Breakpoint": { |
626 "description": "Represents the breakpoint specification, status and
results.", | 753 "description": "Represents the breakpoint specification, status and
results.", |
627 "id": "Breakpoint", | 754 "id": "Breakpoint", |
628 "properties": { | 755 "properties": { |
629 "logMessageFormat": { | |
630 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", | |
631 "type": "string" | |
632 }, | |
633 "createTime": { | |
634 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", | |
635 "format": "google-datetime", | |
636 "type": "string" | |
637 }, | |
638 "labels": { | |
639 "additionalProperties": { | |
640 "type": "string" | |
641 }, | |
642 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", | |
643 "type": "object" | |
644 }, | |
645 "expressions": { | 756 "expressions": { |
646 "description": "List of read-only expressions to evaluate at
the breakpoint location.\nThe expressions are composed using expressions in the
programming language\nat the source location. If the breakpoint action is `LOG`
, the evaluated\nexpressions are included in log statements.", | 757 "description": "List of read-only expressions to evaluate at
the breakpoint location.\nThe expressions are composed using expressions in the
programming language\nat the source location. If the breakpoint action is `LOG`
, the evaluated\nexpressions are included in log statements.", |
647 "items": { | 758 "items": { |
648 "type": "string" | 759 "type": "string" |
649 }, | 760 }, |
650 "type": "array" | 761 "type": "array" |
651 }, | 762 }, |
652 "evaluatedExpressions": { | 763 "evaluatedExpressions": { |
653 "description": "Values of evaluated expressions at breakpoin
t time.\nThe evaluated expressions appear in exactly the same order they\nare li
sted in the `expressions` field.\nThe `name` field holds the original expression
text, the `value` or\n`members` field holds the result of the evaluated express
ion.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\
nwill indicate an error and contain the error text.", | 764 "description": "Values of evaluated expressions at breakpoin
t time.\nThe evaluated expressions appear in exactly the same order they\nare li
sted in the `expressions` field.\nThe `name` field holds the original expression
text, the `value` or\n`members` field holds the result of the evaluated express
ion.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\
nwill indicate an error and contain the error text.", |
654 "items": { | 765 "items": { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 "description": "Time this breakpoint was finalized as seen b
y the server in seconds\nresolution.", | 828 "description": "Time this breakpoint was finalized as seen b
y the server in seconds\nresolution.", |
718 "format": "google-datetime", | 829 "format": "google-datetime", |
719 "type": "string" | 830 "type": "string" |
720 }, | 831 }, |
721 "variableTable": { | 832 "variableTable": { |
722 "description": "The `variable_table` exists to aid with comp
utation, memory and network\ntraffic optimization. It enables storing a variabl
e once and reference\nit from multiple variables, including variables stored in
the\n`variable_table` itself.\nFor example, the same `this` object, which may ap
pear at many levels of\nthe stack, can have all of its data stored once in this
table. The\nstack frame variables then would hold only a reference to it.\n\nTh
e variable `var_table_index` field is an index into this repeated field.\nThe st
ored objects are nameless and get their name from the referencing\nvariable. The
effective variable is a merge of the referencing variable\nand the referenced v
ariable.", | 833 "description": "The `variable_table` exists to aid with comp
utation, memory and network\ntraffic optimization. It enables storing a variabl
e once and reference\nit from multiple variables, including variables stored in
the\n`variable_table` itself.\nFor example, the same `this` object, which may ap
pear at many levels of\nthe stack, can have all of its data stored once in this
table. The\nstack frame variables then would hold only a reference to it.\n\nTh
e variable `var_table_index` field is an index into this repeated field.\nThe st
ored objects are nameless and get their name from the referencing\nvariable. The
effective variable is a merge of the referencing variable\nand the referenced v
ariable.", |
723 "items": { | 834 "items": { |
724 "$ref": "Variable" | 835 "$ref": "Variable" |
725 }, | 836 }, |
726 "type": "array" | 837 "type": "array" |
| 838 }, |
| 839 "labels": { |
| 840 "additionalProperties": { |
| 841 "type": "string" |
| 842 }, |
| 843 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", |
| 844 "type": "object" |
| 845 }, |
| 846 "logMessageFormat": { |
| 847 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", |
| 848 "type": "string" |
| 849 }, |
| 850 "createTime": { |
| 851 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", |
| 852 "format": "google-datetime", |
| 853 "type": "string" |
727 } | 854 } |
728 }, | 855 }, |
729 "type": "object" | 856 "type": "object" |
730 }, | 857 }, |
731 "UpdateActiveBreakpointRequest": { | 858 "UpdateActiveBreakpointRequest": { |
732 "description": "Request to update an active breakpoint.", | 859 "description": "Request to update an active breakpoint.", |
733 "id": "UpdateActiveBreakpointRequest", | 860 "id": "UpdateActiveBreakpointRequest", |
734 "properties": { | 861 "properties": { |
735 "breakpoint": { | 862 "breakpoint": { |
736 "$ref": "Breakpoint", | 863 "$ref": "Breakpoint", |
(...skipping 10 matching lines...) Expand all Loading... |
747 "$ref": "Breakpoint", | 874 "$ref": "Breakpoint", |
748 "description": "Breakpoint resource.\nThe field `id` is guar
anteed to be set (in addition to the echoed fileds)." | 875 "description": "Breakpoint resource.\nThe field `id` is guar
anteed to be set (in addition to the echoed fileds)." |
749 } | 876 } |
750 }, | 877 }, |
751 "type": "object" | 878 "type": "object" |
752 }, | 879 }, |
753 "SourceContext": { | 880 "SourceContext": { |
754 "description": "A SourceContext is a reference to a tree of files. A
SourceContext together\nwith a path point to a unique revision of a single file
or directory.", | 881 "description": "A SourceContext is a reference to a tree of files. A
SourceContext together\nwith a path point to a unique revision of a single file
or directory.", |
755 "id": "SourceContext", | 882 "id": "SourceContext", |
756 "properties": { | 883 "properties": { |
757 "cloudWorkspace": { | |
758 "$ref": "CloudWorkspaceSourceContext", | |
759 "description": "A SourceContext referring to a snapshot in a
cloud workspace." | |
760 }, | |
761 "cloudRepo": { | |
762 "$ref": "CloudRepoSourceContext", | |
763 "description": "A SourceContext referring to a revision in a
cloud repo." | |
764 }, | |
765 "git": { | 884 "git": { |
766 "$ref": "GitSourceContext", | 885 "$ref": "GitSourceContext", |
767 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." | 886 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." |
768 }, | 887 }, |
769 "gerrit": { | 888 "gerrit": { |
770 "$ref": "GerritSourceContext", | 889 "$ref": "GerritSourceContext", |
771 "description": "A SourceContext referring to a Gerrit projec
t." | 890 "description": "A SourceContext referring to a Gerrit projec
t." |
| 891 }, |
| 892 "cloudWorkspace": { |
| 893 "$ref": "CloudWorkspaceSourceContext", |
| 894 "description": "A SourceContext referring to a snapshot in a
cloud workspace." |
| 895 }, |
| 896 "cloudRepo": { |
| 897 "$ref": "CloudRepoSourceContext", |
| 898 "description": "A SourceContext referring to a revision in a
cloud repo." |
772 } | 899 } |
773 }, | 900 }, |
774 "type": "object" | 901 "type": "object" |
775 }, | 902 }, |
776 "CloudRepoSourceContext": { | 903 "CloudRepoSourceContext": { |
777 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", | 904 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", |
778 "id": "CloudRepoSourceContext", | 905 "id": "CloudRepoSourceContext", |
779 "properties": { | 906 "properties": { |
780 "aliasName": { | |
781 "description": "The name of an alias (branch, tag, etc.).", | |
782 "type": "string" | |
783 }, | |
784 "repoId": { | |
785 "$ref": "RepoId", | |
786 "description": "The ID of the repo." | |
787 }, | |
788 "aliasContext": { | 907 "aliasContext": { |
789 "$ref": "AliasContext", | 908 "$ref": "AliasContext", |
790 "description": "An alias, which may be a branch or tag." | 909 "description": "An alias, which may be a branch or tag." |
791 }, | 910 }, |
792 "revisionId": { | 911 "revisionId": { |
793 "description": "A revision ID.", | 912 "description": "A revision ID.", |
794 "type": "string" | 913 "type": "string" |
| 914 }, |
| 915 "aliasName": { |
| 916 "description": "The name of an alias (branch, tag, etc.).", |
| 917 "type": "string" |
| 918 }, |
| 919 "repoId": { |
| 920 "$ref": "RepoId", |
| 921 "description": "The ID of the repo." |
| 922 } |
| 923 }, |
| 924 "type": "object" |
| 925 }, |
| 926 "RegisterDebuggeeRequest": { |
| 927 "description": "Request to register a debuggee.", |
| 928 "id": "RegisterDebuggeeRequest", |
| 929 "properties": { |
| 930 "debuggee": { |
| 931 "$ref": "Debuggee", |
| 932 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." |
795 } | 933 } |
796 }, | 934 }, |
797 "type": "object" | 935 "type": "object" |
798 }, | 936 }, |
799 "RegisterDebuggeeResponse": { | 937 "RegisterDebuggeeResponse": { |
800 "description": "Response for registering a debuggee.", | 938 "description": "Response for registering a debuggee.", |
801 "id": "RegisterDebuggeeResponse", | 939 "id": "RegisterDebuggeeResponse", |
802 "properties": { | 940 "properties": { |
803 "debuggee": { | 941 "debuggee": { |
804 "$ref": "Debuggee", | 942 "$ref": "Debuggee", |
805 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields).\nIf the field `is_disabled` is
set to `true`, the agent should disable\nitself by removing all breakpoints and
detaching from the application.\nIt should however continue to poll `RegisterDe
buggee` until reenabled." | 943 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields).\nIf the field `is_disabled` is
set to `true`, the agent should disable\nitself by removing all breakpoints and
detaching from the application.\nIt should however continue to poll `RegisterDe
buggee` until reenabled." |
806 } | 944 } |
807 }, | 945 }, |
808 "type": "object" | 946 "type": "object" |
809 }, | |
810 "RegisterDebuggeeRequest": { | |
811 "description": "Request to register a debuggee.", | |
812 "id": "RegisterDebuggeeRequest", | |
813 "properties": { | |
814 "debuggee": { | |
815 "$ref": "Debuggee", | |
816 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." | |
817 } | |
818 }, | |
819 "type": "object" | |
820 }, | 947 }, |
821 "GetBreakpointResponse": { | 948 "GetBreakpointResponse": { |
822 "description": "Response for getting breakpoint information.", | 949 "description": "Response for getting breakpoint information.", |
823 "id": "GetBreakpointResponse", | 950 "id": "GetBreakpointResponse", |
824 "properties": { | 951 "properties": { |
825 "breakpoint": { | 952 "breakpoint": { |
826 "$ref": "Breakpoint", | 953 "$ref": "Breakpoint", |
827 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." | 954 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." |
828 } | 955 } |
829 }, | 956 }, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 "description": "Git repository URL.", | 1005 "description": "Git repository URL.", |
879 "type": "string" | 1006 "type": "string" |
880 } | 1007 } |
881 }, | 1008 }, |
882 "type": "object" | 1009 "type": "object" |
883 }, | 1010 }, |
884 "Variable": { | 1011 "Variable": { |
885 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", | 1012 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", |
886 "id": "Variable", | 1013 "id": "Variable", |
887 "properties": { | 1014 "properties": { |
888 "value": { | |
889 "description": "Simple value of the variable.", | |
890 "type": "string" | |
891 }, | |
892 "varTableIndex": { | |
893 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", | |
894 "format": "int32", | |
895 "type": "integer" | |
896 }, | |
897 "members": { | 1015 "members": { |
898 "description": "Members contained or pointed to by the varia
ble.", | 1016 "description": "Members contained or pointed to by the varia
ble.", |
899 "items": { | 1017 "items": { |
900 "$ref": "Variable" | 1018 "$ref": "Variable" |
901 }, | 1019 }, |
902 "type": "array" | 1020 "type": "array" |
903 }, | 1021 }, |
904 "status": { | 1022 "status": { |
905 "$ref": "StatusMessage", | 1023 "$ref": "StatusMessage", |
906 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" | 1024 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" |
907 }, | 1025 }, |
908 "name": { | 1026 "name": { |
909 "description": "Name of the variable, if any.", | 1027 "description": "Name of the variable, if any.", |
910 "type": "string" | 1028 "type": "string" |
911 }, | 1029 }, |
912 "type": { | 1030 "type": { |
913 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", | 1031 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", |
914 "type": "string" | 1032 "type": "string" |
| 1033 }, |
| 1034 "varTableIndex": { |
| 1035 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", |
| 1036 "format": "int32", |
| 1037 "type": "integer" |
| 1038 }, |
| 1039 "value": { |
| 1040 "description": "Simple value of the variable.", |
| 1041 "type": "string" |
915 } | 1042 } |
916 }, | 1043 }, |
917 "type": "object" | 1044 "type": "object" |
918 }, | |
919 "StackFrame": { | |
920 "description": "Represents a stack frame context.", | |
921 "id": "StackFrame", | |
922 "properties": { | |
923 "locals": { | |
924 "description": "Set of local variables at the stack frame lo
cation.\nNote that this might not be populated for all stack frames.", | |
925 "items": { | |
926 "$ref": "Variable" | |
927 }, | |
928 "type": "array" | |
929 }, | |
930 "location": { | |
931 "$ref": "SourceLocation", | |
932 "description": "Source location of the call site." | |
933 }, | |
934 "function": { | |
935 "description": "Demangled function name at the call site.", | |
936 "type": "string" | |
937 }, | |
938 "arguments": { | |
939 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", | |
940 "items": { | |
941 "$ref": "Variable" | |
942 }, | |
943 "type": "array" | |
944 } | |
945 }, | |
946 "type": "object" | |
947 }, | |
948 "RepoId": { | |
949 "description": "A unique identifier for a cloud repo.", | |
950 "id": "RepoId", | |
951 "properties": { | |
952 "projectRepoId": { | |
953 "$ref": "ProjectRepoId", | |
954 "description": "A combination of a project ID and a repo nam
e." | |
955 }, | |
956 "uid": { | |
957 "description": "A server-assigned, globally unique identifie
r.", | |
958 "type": "string" | |
959 } | |
960 }, | |
961 "type": "object" | |
962 }, | |
963 "FormatMessage": { | |
964 "description": "Represents a message with parameters.", | |
965 "id": "FormatMessage", | |
966 "properties": { | |
967 "parameters": { | |
968 "description": "Optional parameters to be embedded into the
message.", | |
969 "items": { | |
970 "type": "string" | |
971 }, | |
972 "type": "array" | |
973 }, | |
974 "format": { | |
975 "description": "Format template for the message. The `format
` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used
to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which hel
ps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n*
`Please pay $$10 to use $0 instead of $1.`", | |
976 "type": "string" | |
977 } | |
978 }, | |
979 "type": "object" | |
980 }, | |
981 "ExtendedSourceContext": { | |
982 "description": "An ExtendedSourceContext is a SourceContext combined
with additional\ndetails describing the context.", | |
983 "id": "ExtendedSourceContext", | |
984 "properties": { | |
985 "labels": { | |
986 "additionalProperties": { | |
987 "type": "string" | |
988 }, | |
989 "description": "Labels with user defined metadata.", | |
990 "type": "object" | |
991 }, | |
992 "context": { | |
993 "$ref": "SourceContext", | |
994 "description": "Any source context." | |
995 } | |
996 }, | |
997 "type": "object" | |
998 }, | |
999 "ListDebuggeesResponse": { | |
1000 "description": "Response for listing debuggees.", | |
1001 "id": "ListDebuggeesResponse", | |
1002 "properties": { | |
1003 "debuggees": { | |
1004 "description": "List of debuggees accessible to the calling
user.\nThe fields `debuggee.id` and `description` are guaranteed to be set.\nThe
`description` field is a human readable field provided by agents and\ncan be di
splayed to users.", | |
1005 "items": { | |
1006 "$ref": "Debuggee" | |
1007 }, | |
1008 "type": "array" | |
1009 } | |
1010 }, | |
1011 "type": "object" | |
1012 }, | |
1013 "AliasContext": { | |
1014 "description": "An alias to a repo revision.", | |
1015 "id": "AliasContext", | |
1016 "properties": { | |
1017 "name": { | |
1018 "description": "The alias name.", | |
1019 "type": "string" | |
1020 }, | |
1021 "kind": { | |
1022 "description": "The alias kind.", | |
1023 "enum": [ | |
1024 "ANY", | |
1025 "FIXED", | |
1026 "MOVABLE", | |
1027 "OTHER" | |
1028 ], | |
1029 "enumDescriptions": [ | |
1030 "Do not use.", | |
1031 "Git tag", | |
1032 "Git branch", | |
1033 "OTHER is used to specify non-standard aliases, those no
t of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar
\", it\nis considered to be of kind OTHER." | |
1034 ], | |
1035 "type": "string" | |
1036 } | |
1037 }, | |
1038 "type": "object" | |
1039 }, | |
1040 "Empty": { | |
1041 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
1042 "id": "Empty", | |
1043 "properties": {}, | |
1044 "type": "object" | |
1045 } | 1045 } |
1046 }, | 1046 }, |
1047 "servicePath": "", | 1047 "servicePath": "", |
1048 "title": "Stackdriver Debugger API", | 1048 "title": "Stackdriver Debugger API", |
1049 "version": "v2" | 1049 "version": "v2" |
1050 } | 1050 } |
OLD | NEW |