Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: discovery/googleapis/clouddebugger__v2.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/cloudbuild__v1.json ('k') | discovery/googleapis/cloudfunctions__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
5 "https://www.googleapis.com/auth/cloud_debugger": { 8 "https://www.googleapis.com/auth/cloud_debugger": {
6 "description": "Manage cloud debugger" 9 "description": "Manage cloud debugger"
7 },
8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services"
10 } 10 }
11 } 11 }
12 } 12 }
13 }, 13 },
14 "basePath": "", 14 "basePath": "",
15 "baseUrl": "https://clouddebugger.googleapis.com/", 15 "baseUrl": "https://clouddebugger.googleapis.com/",
16 "batchPath": "batch", 16 "batchPath": "batch",
17 "canonicalName": "Cloud Debugger", 17 "canonicalName": "Cloud Debugger",
18 "description": "Examines the call stack and variables of a running applicati on without stopping or slowing it down.\n", 18 "description": "Examines the call stack and variables of a running applicati on without stopping or slowing it down.\n",
19 "discoveryVersion": "v1", 19 "discoveryVersion": "v1",
20 "documentationLink": "http://cloud.google.com/debugger", 20 "documentationLink": "http://cloud.google.com/debugger",
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 "key": {
32 "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.",
33 "location": "query",
34 "type": "string"
35 },
36 "access_token": {
37 "description": "OAuth access 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 "oauth_token": {
53 "description": "OAuth 2.0 token for the current user.",
54 "location": "query",
55 "type": "string"
56 },
57 "bearer_token": {
58 "description": "OAuth bearer token.",
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 "key": {
87 "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.",
88 "location": "query",
89 "type": "string"
90 },
91 "access_token": {
92 "description": "OAuth access 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 "bearer_token": {
108 "description": "OAuth bearer token.",
109 "location": "query",
110 "type": "string"
111 },
112 "oauth_token": {
113 "description": "OAuth 2.0 token for the current user.",
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "controller": { 120 "controller": {
121 "resources": { 121 "resources": {
122 "debuggees": { 122 "debuggees": {
123 "methods": { 123 "methods": {
124 "register": { 124 "register": {
125 "description": "Registers the debuggee with the cont roller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\n returned from any controller method.\n\nThis allows the controller service to di sable the agent or recover from any\ndata loss. If the debuggee is disabled by t he server, the response will\nhave `is_disabled` set to `true`.", 125 "description": "Registers the debuggee with the cont roller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\n returned from any controller method.\n\nThis allows the controller service to di sable the agent or recover from any\ndata loss. If the debuggee is disabled by t he server, the response will\nhave `is_disabled` set to `true`.",
(...skipping 18 matching lines...) Expand all
144 "breakpoints": { 144 "breakpoints": {
145 "methods": { 145 "methods": {
146 "list": { 146 "list": {
147 "description": "Returns the list of all acti ve breakpoints for the debuggee.\n\nThe breakpoint specification (location, cond ition, and expression\nfields) is semantically immutable, although the field val ues may\nchange. For example, an agent may update the location line number\nto r eflect the actual line where the breakpoint was set, but this\ndoesn't change th e breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive c all.\nMoreover, an agent should remember the breakpoints that are completed\nunt il the controller removes them from the active list to avoid\nsetting those brea kpoints again.", 147 "description": "Returns the list of all acti ve breakpoints for the debuggee.\n\nThe breakpoint specification (location, cond ition, and expression\nfields) is semantically immutable, although the field val ues may\nchange. For example, an agent may update the location line number\nto r eflect the actual line where the breakpoint was set, but this\ndoesn't change th e breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive c all.\nMoreover, an agent should remember the breakpoints that are completed\nunt il the controller removes them from the active list to avoid\nsetting those brea kpoints again.",
148 "httpMethod": "GET", 148 "httpMethod": "GET",
149 "id": "clouddebugger.controller.debuggees.br eakpoints.list", 149 "id": "clouddebugger.controller.debuggees.br eakpoints.list",
150 "parameterOrder": [ 150 "parameterOrder": [
151 "debuggeeId" 151 "debuggeeId"
152 ], 152 ],
153 "parameters": { 153 "parameters": {
154 "waitToken": {
155 "description": "A wait token that, i f specified, blocks the method call until the list\nof active breakpoints has ch anged, or a server selected timeout has\nexpired. The value should be set from the last returned response.",
156 "location": "query",
157 "type": "string"
158 },
154 "debuggeeId": { 159 "debuggeeId": {
155 "description": "Identifies the debug gee.", 160 "description": "Identifies the debug gee.",
156 "location": "path", 161 "location": "path",
157 "required": true, 162 "required": true,
158 "type": "string" 163 "type": "string"
159 }, 164 },
160 "successOnTimeout": { 165 "successOnTimeout": {
161 "description": "If set to `true`, re turns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set t o `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected ti meout has expired (deprecated).", 166 "description": "If set to `true`, re turns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set t o `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected ti meout has expired (deprecated).",
162 "location": "query", 167 "location": "query",
163 "type": "boolean" 168 "type": "boolean"
164 },
165 "waitToken": {
166 "description": "A wait token that, i f specified, blocks the method call until the list\nof active breakpoints has ch anged, or a server selected timeout has\nexpired. The value should be set from the last returned response.",
167 "location": "query",
168 "type": "string"
169 } 169 }
170 }, 170 },
171 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints", 171 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints",
172 "response": { 172 "response": {
173 "$ref": "ListActiveBreakpointsResponse" 173 "$ref": "ListActiveBreakpointsResponse"
174 }, 174 },
175 "scopes": [ 175 "scopes": [
176 "https://www.googleapis.com/auth/cloud-p latform", 176 "https://www.googleapis.com/auth/cloud-p latform",
177 "https://www.googleapis.com/auth/cloud_d ebugger" 177 "https://www.googleapis.com/auth/cloud_d ebugger"
178 ] 178 ]
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 }, 249 },
250 "scopes": [ 250 "scopes": [
251 "https://www.googleapis.com/auth/cloud-platform" , 251 "https://www.googleapis.com/auth/cloud-platform" ,
252 "https://www.googleapis.com/auth/cloud_debugger" 252 "https://www.googleapis.com/auth/cloud_debugger"
253 ] 253 ]
254 } 254 }
255 }, 255 },
256 "resources": { 256 "resources": {
257 "breakpoints": { 257 "breakpoints": {
258 "methods": { 258 "methods": {
259 "set": {
260 "description": "Sets the breakpoint to the d ebuggee.",
261 "httpMethod": "POST",
262 "id": "clouddebugger.debugger.debuggees.brea kpoints.set",
263 "parameterOrder": [
264 "debuggeeId"
265 ],
266 "parameters": {
267 "clientVersion": {
268 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
269 "location": "query",
270 "type": "string"
271 },
272 "debuggeeId": {
273 "description": "ID of the debuggee w here the breakpoint is to be set.",
274 "location": "path",
275 "required": true,
276 "type": "string"
277 }
278 },
279 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set",
280 "request": {
281 "$ref": "Breakpoint"
282 },
283 "response": {
284 "$ref": "SetBreakpointResponse"
285 },
286 "scopes": [
287 "https://www.googleapis.com/auth/cloud-p latform",
288 "https://www.googleapis.com/auth/cloud_d ebugger"
289 ]
290 },
291 "delete": {
292 "description": "Deletes the breakpoint from the debuggee.",
293 "httpMethod": "DELETE",
294 "id": "clouddebugger.debugger.debuggees.brea kpoints.delete",
295 "parameterOrder": [
296 "debuggeeId",
297 "breakpointId"
298 ],
299 "parameters": {
300 "debuggeeId": {
301 "description": "ID of the debuggee w hose breakpoint to delete.",
302 "location": "path",
303 "required": true,
304 "type": "string"
305 },
306 "clientVersion": {
307 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
308 "location": "query",
309 "type": "string"
310 },
311 "breakpointId": {
312 "description": "ID of the breakpoint to delete.",
313 "location": "path",
314 "required": true,
315 "type": "string"
316 }
317 },
318 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
319 "response": {
320 "$ref": "Empty"
321 },
322 "scopes": [
323 "https://www.googleapis.com/auth/cloud-p latform",
324 "https://www.googleapis.com/auth/cloud_d ebugger"
325 ]
326 },
327 "get": { 259 "get": {
328 "description": "Gets breakpoint information. ", 260 "description": "Gets breakpoint information. ",
329 "httpMethod": "GET", 261 "httpMethod": "GET",
330 "id": "clouddebugger.debugger.debuggees.brea kpoints.get", 262 "id": "clouddebugger.debugger.debuggees.brea kpoints.get",
331 "parameterOrder": [ 263 "parameterOrder": [
332 "debuggeeId", 264 "debuggeeId",
333 "breakpointId" 265 "breakpointId"
334 ], 266 ],
335 "parameters": { 267 "parameters": {
336 "clientVersion": {
337 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
338 "location": "query",
339 "type": "string"
340 },
341 "breakpointId": { 268 "breakpointId": {
342 "description": "ID of the breakpoint to get.", 269 "description": "ID of the breakpoint to get.",
343 "location": "path", 270 "location": "path",
344 "required": true, 271 "required": true,
345 "type": "string" 272 "type": "string"
346 }, 273 },
347 "debuggeeId": { 274 "debuggeeId": {
348 "description": "ID of the debuggee w hose breakpoint to get.", 275 "description": "ID of the debuggee w hose breakpoint to get.",
349 "location": "path", 276 "location": "path",
350 "required": true, 277 "required": true,
351 "type": "string" 278 "type": "string"
279 },
280 "clientVersion": {
281 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
282 "location": "query",
283 "type": "string"
352 } 284 }
353 }, 285 },
354 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}", 286 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
355 "response": { 287 "response": {
356 "$ref": "GetBreakpointResponse" 288 "$ref": "GetBreakpointResponse"
357 }, 289 },
358 "scopes": [ 290 "scopes": [
359 "https://www.googleapis.com/auth/cloud-p latform", 291 "https://www.googleapis.com/auth/cloud-p latform",
360 "https://www.googleapis.com/auth/cloud_d ebugger" 292 "https://www.googleapis.com/auth/cloud_d ebugger"
361 ] 293 ]
(...skipping 24 matching lines...) Expand all
386 }, 318 },
387 "action.value": { 319 "action.value": {
388 "description": "Only breakpoints wit h the specified action will pass the filter.", 320 "description": "Only breakpoints wit h the specified action will pass the filter.",
389 "enum": [ 321 "enum": [
390 "CAPTURE", 322 "CAPTURE",
391 "LOG" 323 "LOG"
392 ], 324 ],
393 "location": "query", 325 "location": "query",
394 "type": "string" 326 "type": "string"
395 }, 327 },
328 "includeInactive": {
329 "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes o nly active breakpoints.",
330 "location": "query",
331 "type": "boolean"
332 },
396 "includeAllUsers": { 333 "includeAllUsers": {
397 "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.", 334 "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.",
398 "location": "query", 335 "location": "query",
399 "type": "boolean" 336 "type": "boolean"
400 }, 337 },
401 "includeInactive": {
402 "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes o nly active breakpoints.",
403 "location": "query",
404 "type": "boolean"
405 },
406 "stripResults": { 338 "stripResults": {
407 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.", 339 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.",
408 "location": "query", 340 "location": "query",
409 "type": "boolean" 341 "type": "boolean"
410 } 342 }
411 }, 343 },
412 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints", 344 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints",
413 "response": { 345 "response": {
414 "$ref": "ListBreakpointsResponse" 346 "$ref": "ListBreakpointsResponse"
415 }, 347 },
416 "scopes": [ 348 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform", 349 "https://www.googleapis.com/auth/cloud-p latform",
418 "https://www.googleapis.com/auth/cloud_d ebugger" 350 "https://www.googleapis.com/auth/cloud_d ebugger"
419 ] 351 ]
352 },
353 "set": {
354 "description": "Sets the breakpoint to the d ebuggee.",
355 "httpMethod": "POST",
356 "id": "clouddebugger.debugger.debuggees.brea kpoints.set",
357 "parameterOrder": [
358 "debuggeeId"
359 ],
360 "parameters": {
361 "debuggeeId": {
362 "description": "ID of the debuggee w here the breakpoint is to be set.",
363 "location": "path",
364 "required": true,
365 "type": "string"
366 },
367 "clientVersion": {
368 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
369 "location": "query",
370 "type": "string"
371 }
372 },
373 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set",
374 "request": {
375 "$ref": "Breakpoint"
376 },
377 "response": {
378 "$ref": "SetBreakpointResponse"
379 },
380 "scopes": [
381 "https://www.googleapis.com/auth/cloud-p latform",
382 "https://www.googleapis.com/auth/cloud_d ebugger"
383 ]
384 },
385 "delete": {
386 "description": "Deletes the breakpoint from the debuggee.",
387 "httpMethod": "DELETE",
388 "id": "clouddebugger.debugger.debuggees.brea kpoints.delete",
389 "parameterOrder": [
390 "debuggeeId",
391 "breakpointId"
392 ],
393 "parameters": {
394 "clientVersion": {
395 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
396 "location": "query",
397 "type": "string"
398 },
399 "breakpointId": {
400 "description": "ID of the breakpoint to delete.",
401 "location": "path",
402 "required": true,
403 "type": "string"
404 },
405 "debuggeeId": {
406 "description": "ID of the debuggee w hose breakpoint to delete.",
407 "location": "path",
408 "required": true,
409 "type": "string"
410 }
411 },
412 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
413 "response": {
414 "$ref": "Empty"
415 },
416 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform",
418 "https://www.googleapis.com/auth/cloud_d ebugger"
419 ]
420 } 420 }
421 } 421 }
422 } 422 }
423 } 423 }
424 } 424 }
425 } 425 }
426 } 426 }
427 }, 427 },
428 "revision": "20170214", 428 "revision": "20170322",
429 "rootUrl": "https://clouddebugger.googleapis.com/", 429 "rootUrl": "https://clouddebugger.googleapis.com/",
430 "schemas": { 430 "schemas": {
431 "StatusMessage": {
432 "description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Locati on not found`.",
433 "id": "StatusMessage",
434 "properties": {
435 "isError": {
436 "description": "Distinguishes errors from informational mess ages.",
437 "type": "boolean"
438 },
439 "description": {
440 "$ref": "FormatMessage",
441 "description": "Status message text."
442 },
443 "refersTo": {
444 "description": "Reference to which the message applies.",
445 "enum": [
446 "UNSPECIFIED",
447 "BREAKPOINT_SOURCE_LOCATION",
448 "BREAKPOINT_CONDITION",
449 "BREAKPOINT_EXPRESSION",
450 "BREAKPOINT_AGE",
451 "VARIABLE_NAME",
452 "VARIABLE_VALUE"
453 ],
454 "enumDescriptions": [
455 "Status doesn't refer to any particular input.",
456 "Status applies to the breakpoint and is related to its location.",
457 "Status applies to the breakpoint and is related to its condition.",
458 "Status applies to the breakpoint and is related to its expressions.",
459 "Status applies to the breakpoint and is related to its age.",
460 "Status applies to the entire variable.",
461 "Status applies to variable value (variable name is vali d)."
462 ],
463 "type": "string"
464 }
465 },
466 "type": "object"
467 },
468 "GitSourceContext": {
469 "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub).",
470 "id": "GitSourceContext",
471 "properties": {
472 "revisionId": {
473 "description": "Git commit hash.\nrequired.",
474 "type": "string"
475 },
476 "url": {
477 "description": "Git repository URL.",
478 "type": "string"
479 }
480 },
481 "type": "object"
482 },
483 "Variable": {
484 "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.",
485 "id": "Variable",
486 "properties": {
487 "members": {
488 "description": "Members contained or pointed to by the varia ble.",
489 "items": {
490 "$ref": "Variable"
491 },
492 "type": "array"
493 },
494 "status": {
495 "$ref": "StatusMessage",
496 "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`"
497 },
498 "name": {
499 "description": "Name of the variable, if any.",
500 "type": "string"
501 },
502 "type": {
503 "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.",
504 "type": "string"
505 },
506 "value": {
507 "description": "Simple value of the variable.",
508 "type": "string"
509 },
510 "varTableIndex": {
511 "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.",
512 "format": "int32",
513 "type": "integer"
514 }
515 },
516 "type": "object"
517 },
518 "StackFrame": {
519 "description": "Represents a stack frame context.",
520 "id": "StackFrame",
521 "properties": {
522 "arguments": {
523 "description": "Set of arguments passed to this function.\nN ote that this might not be populated for all stack frames.",
524 "items": {
525 "$ref": "Variable"
526 },
527 "type": "array"
528 },
529 "locals": {
530 "description": "Set of local variables at the stack frame lo cation.\nNote that this might not be populated for all stack frames.",
531 "items": {
532 "$ref": "Variable"
533 },
534 "type": "array"
535 },
536 "location": {
537 "$ref": "SourceLocation",
538 "description": "Source location of the call site."
539 },
540 "function": {
541 "description": "Demangled function name at the call site.",
542 "type": "string"
543 }
544 },
545 "type": "object"
546 },
547 "RepoId": {
548 "description": "A unique identifier for a cloud repo.",
549 "id": "RepoId",
550 "properties": {
551 "uid": {
552 "description": "A server-assigned, globally unique identifie r.",
553 "type": "string"
554 },
555 "projectRepoId": {
556 "$ref": "ProjectRepoId",
557 "description": "A combination of a project ID and a repo nam e."
558 }
559 },
560 "type": "object"
561 },
562 "FormatMessage": {
563 "description": "Represents a message with parameters.",
564 "id": "FormatMessage",
565 "properties": {
566 "parameters": {
567 "description": "Optional parameters to be embedded into the message.",
568 "items": {
569 "type": "string"
570 },
571 "type": "array"
572 },
573 "format": {
574 "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.`",
575 "type": "string"
576 }
577 },
578 "type": "object"
579 },
580 "ExtendedSourceContext": {
581 "description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.",
582 "id": "ExtendedSourceContext",
583 "properties": {
584 "context": {
585 "$ref": "SourceContext",
586 "description": "Any source context."
587 },
588 "labels": {
589 "additionalProperties": {
590 "type": "string"
591 },
592 "description": "Labels with user defined metadata.",
593 "type": "object"
594 }
595 },
596 "type": "object"
597 },
598 "AliasContext": {
599 "description": "An alias to a repo revision.",
600 "id": "AliasContext",
601 "properties": {
602 "name": {
603 "description": "The alias name.",
604 "type": "string"
605 },
606 "kind": {
607 "description": "The alias kind.",
608 "enum": [
609 "ANY",
610 "FIXED",
611 "MOVABLE",
612 "OTHER"
613 ],
614 "enumDescriptions": [
615 "Do not use.",
616 "Git tag",
617 "Git branch",
618 "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."
619 ],
620 "type": "string"
621 }
622 },
623 "type": "object"
624 },
625 "ListDebuggeesResponse": {
626 "description": "Response for listing debuggees.",
627 "id": "ListDebuggeesResponse",
628 "properties": {
629 "debuggees": {
630 "description": "List of debuggees accessible to the calling user.\nNote that the `description` field is the only human readable field\nthat should be displayed to the user.\nThe fields `debuggee.id` and `description` fi elds are guaranteed to be\nset on each debuggee.",
631 "items": {
632 "$ref": "Debuggee"
633 },
634 "type": "array"
635 }
636 },
637 "type": "object"
638 },
639 "Empty": {
640 "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 `{}`.",
641 "id": "Empty",
642 "properties": {},
643 "type": "object"
644 },
645 "SourceLocation": {
646 "description": "Represents a location in the source code.",
647 "id": "SourceLocation",
648 "properties": {
649 "path": {
650 "description": "Path to the source file within the source co ntext of the target binary.",
651 "type": "string"
652 },
653 "line": {
654 "description": "Line inside the file. The first line in the file has the value `1`.",
655 "format": "int32",
656 "type": "integer"
657 }
658 },
659 "type": "object"
660 },
431 "Debuggee": { 661 "Debuggee": {
432 "description": "Represents the application to debug. 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.\nThe agents attached to the same debuggee are identified by using exact ly the\nsame field values when registering.", 662 "description": "Represents the application to debug. 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.\nThe agents attached to the same debuggee are identified by using exact ly the\nsame field values when registering.",
433 "id": "Debuggee", 663 "id": "Debuggee",
434 "properties": { 664 "properties": {
435 "uniquifier": { 665 "uniquifier": {
436 "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncludi ng environment and version or build IDs is recommended.", 666 "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncludi ng environment and version or build IDs is recommended.",
437 "type": "string" 667 "type": "string"
438 }, 668 },
439 "description": { 669 "description": {
440 "description": "Human readable description of the debuggee.\ nIncluding a human-readable project name, environment name and version\ninformat ion is recommended.", 670 "description": "Human readable description of the debuggee.\ nIncluding a human-readable project name, environment name and version\ninformat ion is recommended.",
(...skipping 13 matching lines...) Expand all
454 }, 684 },
455 "type": "array" 685 "type": "array"
456 }, 686 },
457 "labels": { 687 "labels": {
458 "additionalProperties": { 688 "additionalProperties": {
459 "type": "string" 689 "type": "string"
460 }, 690 },
461 "description": "A set of custom debuggee properties, populat ed by the agent, to be\ndisplayed to the user.", 691 "description": "A set of custom debuggee properties, populat ed by the agent, to be\ndisplayed to the user.",
462 "type": "object" 692 "type": "object"
463 }, 693 },
694 "status": {
695 "$ref": "StatusMessage",
696 "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."
697 },
464 "isInactive": { 698 "isInactive": {
465 "description": "If set to `true`, indicates that the debugge e is considered as inactive by\nthe Controller service.", 699 "description": "If set to `true`, indicates that the debugge e is considered as inactive by\nthe Controller service.",
466 "type": "boolean" 700 "type": "boolean"
467 }, 701 },
468 "status": {
469 "$ref": "StatusMessage",
470 "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."
471 },
472 "project": { 702 "project": {
473 "description": "Project the debuggee is associated with.\nUs e the project number when registering a Google Cloud Platform project.", 703 "description": "Project the debuggee is associated with.\nUs e the project number when registering a Google Cloud Platform project.",
474 "type": "string" 704 "type": "string"
475 }, 705 },
706 "id": {
707 "description": "Unique identifier for the debuggee generated by the controller service.",
708 "type": "string"
709 },
710 "agentVersion": {
711 "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`googl e.com/gcp-java/v1.1`).",
712 "type": "string"
713 },
476 "isDisabled": { 714 "isDisabled": {
477 "description": "If set to `true`, indicates that the agent s hould disable itself and\ndetach from the debuggee.", 715 "description": "If set to `true`, indicates that the agent s hould disable itself and\ndetach from the debuggee.",
478 "type": "boolean" 716 "type": "boolean"
479 }, 717 }
480 "agentVersion": { 718 },
481 "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`googl e.com/gcp-java/v1.1`).", 719 "type": "object"
720 },
721 "ProjectRepoId": {
722 "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
723 "id": "ProjectRepoId",
724 "properties": {
725 "projectId": {
726 "description": "The ID of the project.",
482 "type": "string" 727 "type": "string"
483 }, 728 },
484 "id": { 729 "repoName": {
485 "description": "Unique identifier for the debuggee generated by the controller service.", 730 "description": "The name of the repo. Leave empty for the de fault repo.",
486 "type": "string" 731 "type": "string"
487 } 732 }
488 }, 733 },
489 "type": "object" 734 "type": "object"
490 }, 735 },
491 "ListActiveBreakpointsResponse": { 736 "ListActiveBreakpointsResponse": {
492 "description": "Response for listing active breakpoints.", 737 "description": "Response for listing active breakpoints.",
493 "id": "ListActiveBreakpointsResponse", 738 "id": "ListActiveBreakpointsResponse",
494 "properties": { 739 "properties": {
495 "nextWaitToken": {
496 "description": "A wait token that can be used in the next me thod call to block until\nthe list of breakpoints changes.",
497 "type": "string"
498 },
499 "breakpoints": { 740 "breakpoints": {
500 "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.", 741 "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
501 "items": { 742 "items": {
502 "$ref": "Breakpoint" 743 "$ref": "Breakpoint"
503 }, 744 },
504 "type": "array" 745 "type": "array"
505 }, 746 },
506 "waitExpired": { 747 "waitExpired": {
507 "description": "The `wait_expired` field is set to true by t he server when the\nrequest times out and the field `success_on_timeout` is set to true.", 748 "description": "The `wait_expired` field is set to true by t he server when the\nrequest times out and the field `success_on_timeout` is set to true.",
508 "type": "boolean" 749 "type": "boolean"
509 }
510 },
511 "type": "object"
512 },
513 "ProjectRepoId": {
514 "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
515 "id": "ProjectRepoId",
516 "properties": {
517 "projectId": {
518 "description": "The ID of the project.",
519 "type": "string"
520 }, 750 },
521 "repoName": { 751 "nextWaitToken": {
522 "description": "The name of the repo. Leave empty for the de fault repo.", 752 "description": "A wait token that can be used in the next me thod call to block until\nthe list of breakpoints changes.",
523 "type": "string" 753 "type": "string"
524 } 754 }
525 }, 755 },
526 "type": "object" 756 "type": "object"
527 }, 757 },
528 "CloudWorkspaceSourceContext": { 758 "CloudWorkspaceSourceContext": {
529 "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.", 759 "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
530 "id": "CloudWorkspaceSourceContext", 760 "id": "CloudWorkspaceSourceContext",
531 "properties": { 761 "properties": {
762 "snapshotId": {
763 "description": "The ID of the snapshot.\nAn empty snapshot_i d refers to the most recent snapshot.",
764 "type": "string"
765 },
532 "workspaceId": { 766 "workspaceId": {
533 "$ref": "CloudWorkspaceId", 767 "$ref": "CloudWorkspaceId",
534 "description": "The ID of the workspace." 768 "description": "The ID of the workspace."
535 },
536 "snapshotId": {
537 "description": "The ID of the snapshot.\nAn empty snapshot_i d refers to the most recent snapshot.",
538 "type": "string"
539 } 769 }
540 }, 770 },
541 "type": "object" 771 "type": "object"
542 }, 772 },
543 "UpdateActiveBreakpointResponse": { 773 "UpdateActiveBreakpointResponse": {
544 "description": "Response for updating an active breakpoint.\nThe mes sage is defined to allow future extensions.", 774 "description": "Response for updating an active breakpoint.\nThe mes sage is defined to allow future extensions.",
545 "id": "UpdateActiveBreakpointResponse", 775 "id": "UpdateActiveBreakpointResponse",
546 "properties": {}, 776 "properties": {},
547 "type": "object" 777 "type": "object"
548 }, 778 },
549 "GerritSourceContext": { 779 "GerritSourceContext": {
550 "description": "A SourceContext referring to a Gerrit project.", 780 "description": "A SourceContext referring to a Gerrit project.",
551 "id": "GerritSourceContext", 781 "id": "GerritSourceContext",
552 "properties": { 782 "properties": {
553 "hostUri": {
554 "description": "The URI of a running Gerrit instance.",
555 "type": "string"
556 },
557 "revisionId": {
558 "description": "A revision (commit) ID.",
559 "type": "string"
560 },
561 "aliasName": { 783 "aliasName": {
562 "description": "The name of an alias (branch, tag, etc.).", 784 "description": "The name of an alias (branch, tag, etc.).",
563 "type": "string" 785 "type": "string"
564 }, 786 },
565 "gerritProject": { 787 "gerritProject": {
566 "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.", 788 "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.",
567 "type": "string" 789 "type": "string"
568 }, 790 },
569 "aliasContext": { 791 "aliasContext": {
570 "$ref": "AliasContext", 792 "$ref": "AliasContext",
571 "description": "An alias, which may be a branch or tag." 793 "description": "An alias, which may be a branch or tag."
794 },
795 "hostUri": {
796 "description": "The URI of a running Gerrit instance.",
797 "type": "string"
798 },
799 "revisionId": {
800 "description": "A revision (commit) ID.",
801 "type": "string"
572 } 802 }
573 }, 803 },
574 "type": "object" 804 "type": "object"
575 }, 805 },
576 "CloudWorkspaceId": { 806 "CloudWorkspaceId": {
577 "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.", 807 "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.",
578 "id": "CloudWorkspaceId", 808 "id": "CloudWorkspaceId",
579 "properties": { 809 "properties": {
580 "repoId": { 810 "repoId": {
581 "$ref": "RepoId", 811 "$ref": "RepoId",
(...skipping 21 matching lines...) Expand all
603 }, 833 },
604 "type": "array" 834 "type": "array"
605 } 835 }
606 }, 836 },
607 "type": "object" 837 "type": "object"
608 }, 838 },
609 "Breakpoint": { 839 "Breakpoint": {
610 "description": "Represents the breakpoint specification, status and results.", 840 "description": "Represents the breakpoint specification, status and results.",
611 "id": "Breakpoint", 841 "id": "Breakpoint",
612 "properties": { 842 "properties": {
613 "evaluatedExpressions": {
614 "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.",
615 "items": {
616 "$ref": "Variable"
617 },
618 "type": "array"
619 },
620 "isFinalState": {
621 "description": "When true, indicates that this is a final re sult and the\nbreakpoint state will not change from here on.",
622 "type": "boolean"
623 },
624 "stackFrames": {
625 "description": "The stack at breakpoint time.",
626 "items": {
627 "$ref": "StackFrame"
628 },
629 "type": "array"
630 },
631 "condition": {
632 "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a pro gramming language at the source location.",
633 "type": "string"
634 },
635 "status": {
636 "$ref": "StatusMessage",
637 "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The mess age can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates co mplete failure of the breakpoint.\n\nExample (non-final state): `Still loading s ymbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition"
638 },
639 "userEmail": { 843 "userEmail": {
640 "description": "E-mail address of the user that created this breakpoint", 844 "description": "E-mail address of the user that created this breakpoint",
641 "type": "string" 845 "type": "string"
642 }, 846 },
643 "action": { 847 "action": {
644 "description": "Action that the agent should perform when th e code at the\nbreakpoint location is hit.", 848 "description": "Action that the agent should perform when th e code at the\nbreakpoint location is hit.",
645 "enum": [ 849 "enum": [
646 "CAPTURE", 850 "CAPTURE",
647 "LOG" 851 "LOG"
648 ], 852 ],
(...skipping 30 matching lines...) Expand all
679 "format": "google-datetime", 883 "format": "google-datetime",
680 "type": "string" 884 "type": "string"
681 }, 885 },
682 "variableTable": { 886 "variableTable": {
683 "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.", 887 "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.",
684 "items": { 888 "items": {
685 "$ref": "Variable" 889 "$ref": "Variable"
686 }, 890 },
687 "type": "array" 891 "type": "array"
688 }, 892 },
893 "logMessageFormat": {
894 "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 ]`.",
895 "type": "string"
896 },
689 "createTime": { 897 "createTime": {
690 "description": "Time this breakpoint was created by the serv er in seconds resolution.", 898 "description": "Time this breakpoint was created by the serv er in seconds resolution.",
691 "format": "google-datetime", 899 "format": "google-datetime",
692 "type": "string" 900 "type": "string"
693 }, 901 },
694 "logMessageFormat": {
695 "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 ]`.",
696 "type": "string"
697 },
698 "labels": { 902 "labels": {
699 "additionalProperties": { 903 "additionalProperties": {
700 "type": "string" 904 "type": "string"
701 }, 905 },
702 "description": "A set of custom breakpoint properties, popul ated by the agent, to be\ndisplayed to the user.", 906 "description": "A set of custom breakpoint properties, popul ated by the agent, to be\ndisplayed to the user.",
703 "type": "object" 907 "type": "object"
704 }, 908 },
705 "expressions": { 909 "expressions": {
706 "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.", 910 "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.",
707 "items": { 911 "items": {
708 "type": "string" 912 "type": "string"
709 }, 913 },
710 "type": "array" 914 "type": "array"
915 },
916 "evaluatedExpressions": {
917 "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.",
918 "items": {
919 "$ref": "Variable"
920 },
921 "type": "array"
922 },
923 "isFinalState": {
924 "description": "When true, indicates that this is a final re sult and the\nbreakpoint state will not change from here on.",
925 "type": "boolean"
926 },
927 "stackFrames": {
928 "description": "The stack at breakpoint time.",
929 "items": {
930 "$ref": "StackFrame"
931 },
932 "type": "array"
933 },
934 "condition": {
935 "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a pro gramming language at the source location.",
936 "type": "string"
937 },
938 "status": {
939 "$ref": "StatusMessage",
940 "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The mess age can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates co mplete failure of the breakpoint.\n\nExample (non-final state): `Still loading s ymbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition"
941 }
942 },
943 "type": "object"
944 },
945 "UpdateActiveBreakpointRequest": {
946 "description": "Request to update an active breakpoint.",
947 "id": "UpdateActiveBreakpointRequest",
948 "properties": {
949 "breakpoint": {
950 "$ref": "Breakpoint",
951 "description": "Updated breakpoint information.\nThe field ' id' must be set."
711 } 952 }
712 }, 953 },
713 "type": "object" 954 "type": "object"
714 }, 955 },
715 "SetBreakpointResponse": { 956 "SetBreakpointResponse": {
716 "description": "Response for setting a breakpoint.", 957 "description": "Response for setting a breakpoint.",
717 "id": "SetBreakpointResponse", 958 "id": "SetBreakpointResponse",
718 "properties": { 959 "properties": {
719 "breakpoint": { 960 "breakpoint": {
720 "$ref": "Breakpoint", 961 "$ref": "Breakpoint",
721 "description": "Breakpoint resource.\nThe field `id` is guar anteed to be set (in addition to the echoed fileds)." 962 "description": "Breakpoint resource.\nThe field `id` is guar anteed to be set (in addition to the echoed fileds)."
722 } 963 }
723 }, 964 },
724 "type": "object" 965 "type": "object"
725 },
726 "UpdateActiveBreakpointRequest": {
727 "description": "Request to update an active breakpoint.",
728 "id": "UpdateActiveBreakpointRequest",
729 "properties": {
730 "breakpoint": {
731 "$ref": "Breakpoint",
732 "description": "Updated breakpoint information.\nThe field ' id' must be set."
733 }
734 },
735 "type": "object"
736 }, 966 },
737 "SourceContext": { 967 "SourceContext": {
738 "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.", 968 "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.",
739 "id": "SourceContext", 969 "id": "SourceContext",
740 "properties": { 970 "properties": {
741 "gerrit": { 971 "gerrit": {
742 "$ref": "GerritSourceContext", 972 "$ref": "GerritSourceContext",
743 "description": "A SourceContext referring to a Gerrit projec t." 973 "description": "A SourceContext referring to a Gerrit projec t."
744 }, 974 },
745 "cloudRepo": { 975 "cloudRepo": {
(...skipping 27 matching lines...) Expand all
773 "$ref": "RepoId", 1003 "$ref": "RepoId",
774 "description": "The ID of the repo." 1004 "description": "The ID of the repo."
775 }, 1005 },
776 "aliasContext": { 1006 "aliasContext": {
777 "$ref": "AliasContext", 1007 "$ref": "AliasContext",
778 "description": "An alias, which may be a branch or tag." 1008 "description": "An alias, which may be a branch or tag."
779 } 1009 }
780 }, 1010 },
781 "type": "object" 1011 "type": "object"
782 }, 1012 },
1013 "RegisterDebuggeeRequest": {
1014 "description": "Request to register a debuggee.",
1015 "id": "RegisterDebuggeeRequest",
1016 "properties": {
1017 "debuggee": {
1018 "$ref": "Debuggee",
1019 "description": "Debuggee information to register.\nThe field s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu st be set."
1020 }
1021 },
1022 "type": "object"
1023 },
783 "RegisterDebuggeeResponse": { 1024 "RegisterDebuggeeResponse": {
784 "description": "Response for registering a debuggee.", 1025 "description": "Response for registering a debuggee.",
785 "id": "RegisterDebuggeeResponse", 1026 "id": "RegisterDebuggeeResponse",
786 "properties": { 1027 "properties": {
787 "debuggee": { 1028 "debuggee": {
788 "$ref": "Debuggee", 1029 "$ref": "Debuggee",
789 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)." 1030 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)."
790 } 1031 }
791 }, 1032 },
792 "type": "object" 1033 "type": "object"
793 },
794 "RegisterDebuggeeRequest": {
795 "description": "Request to register a debuggee.",
796 "id": "RegisterDebuggeeRequest",
797 "properties": {
798 "debuggee": {
799 "$ref": "Debuggee",
800 "description": "Debuggee information to register.\nThe field s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu st be set."
801 }
802 },
803 "type": "object"
804 }, 1034 },
805 "GetBreakpointResponse": { 1035 "GetBreakpointResponse": {
806 "description": "Response for getting breakpoint information.", 1036 "description": "Response for getting breakpoint information.",
807 "id": "GetBreakpointResponse", 1037 "id": "GetBreakpointResponse",
808 "properties": { 1038 "properties": {
809 "breakpoint": { 1039 "breakpoint": {
810 "$ref": "Breakpoint", 1040 "$ref": "Breakpoint",
811 "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set." 1041 "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set."
812 } 1042 }
813 }, 1043 },
814 "type": "object" 1044 "type": "object"
815 },
816 "StatusMessage": {
817 "description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Locati on not found`.",
818 "id": "StatusMessage",
819 "properties": {
820 "isError": {
821 "description": "Distinguishes errors from informational mess ages.",
822 "type": "boolean"
823 },
824 "description": {
825 "$ref": "FormatMessage",
826 "description": "Status message text."
827 },
828 "refersTo": {
829 "description": "Reference to which the message applies.",
830 "enum": [
831 "UNSPECIFIED",
832 "BREAKPOINT_SOURCE_LOCATION",
833 "BREAKPOINT_CONDITION",
834 "BREAKPOINT_EXPRESSION",
835 "BREAKPOINT_AGE",
836 "VARIABLE_NAME",
837 "VARIABLE_VALUE"
838 ],
839 "enumDescriptions": [
840 "Status doesn't refer to any particular input.",
841 "Status applies to the breakpoint and is related to its location.",
842 "Status applies to the breakpoint and is related to its condition.",
843 "Status applies to the breakpoint and is related to its expressions.",
844 "Status applies to the breakpoint and is related to its age.",
845 "Status applies to the entire variable.",
846 "Status applies to variable value (variable name is vali d)."
847 ],
848 "type": "string"
849 }
850 },
851 "type": "object"
852 },
853 "GitSourceContext": {
854 "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub).",
855 "id": "GitSourceContext",
856 "properties": {
857 "revisionId": {
858 "description": "Git commit hash.\nrequired.",
859 "type": "string"
860 },
861 "url": {
862 "description": "Git repository URL.",
863 "type": "string"
864 }
865 },
866 "type": "object"
867 },
868 "Variable": {
869 "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.",
870 "id": "Variable",
871 "properties": {
872 "members": {
873 "description": "Members contained or pointed to by the varia ble.",
874 "items": {
875 "$ref": "Variable"
876 },
877 "type": "array"
878 },
879 "status": {
880 "$ref": "StatusMessage",
881 "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`"
882 },
883 "name": {
884 "description": "Name of the variable, if any.",
885 "type": "string"
886 },
887 "type": {
888 "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.",
889 "type": "string"
890 },
891 "varTableIndex": {
892 "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.",
893 "format": "int32",
894 "type": "integer"
895 },
896 "value": {
897 "description": "Simple value of the variable.",
898 "type": "string"
899 }
900 },
901 "type": "object"
902 },
903 "StackFrame": {
904 "description": "Represents a stack frame context.",
905 "id": "StackFrame",
906 "properties": {
907 "arguments": {
908 "description": "Set of arguments passed to this function.\nN ote that this might not be populated for all stack frames.",
909 "items": {
910 "$ref": "Variable"
911 },
912 "type": "array"
913 },
914 "locals": {
915 "description": "Set of local variables at the stack frame lo cation.\nNote that this might not be populated for all stack frames.",
916 "items": {
917 "$ref": "Variable"
918 },
919 "type": "array"
920 },
921 "location": {
922 "$ref": "SourceLocation",
923 "description": "Source location of the call site."
924 },
925 "function": {
926 "description": "Demangled function name at the call site.",
927 "type": "string"
928 }
929 },
930 "type": "object"
931 },
932 "RepoId": {
933 "description": "A unique identifier for a cloud repo.",
934 "id": "RepoId",
935 "properties": {
936 "projectRepoId": {
937 "$ref": "ProjectRepoId",
938 "description": "A combination of a project ID and a repo nam e."
939 },
940 "uid": {
941 "description": "A server-assigned, globally unique identifie r.",
942 "type": "string"
943 }
944 },
945 "type": "object"
946 },
947 "FormatMessage": {
948 "description": "Represents a message with parameters.",
949 "id": "FormatMessage",
950 "properties": {
951 "format": {
952 "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.`",
953 "type": "string"
954 },
955 "parameters": {
956 "description": "Optional parameters to be embedded into the message.",
957 "items": {
958 "type": "string"
959 },
960 "type": "array"
961 }
962 },
963 "type": "object"
964 },
965 "ExtendedSourceContext": {
966 "description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.",
967 "id": "ExtendedSourceContext",
968 "properties": {
969 "labels": {
970 "additionalProperties": {
971 "type": "string"
972 },
973 "description": "Labels with user defined metadata.",
974 "type": "object"
975 },
976 "context": {
977 "$ref": "SourceContext",
978 "description": "Any source context."
979 }
980 },
981 "type": "object"
982 },
983 "ListDebuggeesResponse": {
984 "description": "Response for listing debuggees.",
985 "id": "ListDebuggeesResponse",
986 "properties": {
987 "debuggees": {
988 "description": "List of debuggees accessible to the calling user.\nNote that the `description` field is the only human readable field\nthat should be displayed to the user.\nThe fields `debuggee.id` and `description` fi elds are guaranteed to be\nset on each debuggee.",
989 "items": {
990 "$ref": "Debuggee"
991 },
992 "type": "array"
993 }
994 },
995 "type": "object"
996 },
997 "AliasContext": {
998 "description": "An alias to a repo revision.",
999 "id": "AliasContext",
1000 "properties": {
1001 "name": {
1002 "description": "The alias name.",
1003 "type": "string"
1004 },
1005 "kind": {
1006 "description": "The alias kind.",
1007 "enum": [
1008 "ANY",
1009 "FIXED",
1010 "MOVABLE",
1011 "OTHER"
1012 ],
1013 "enumDescriptions": [
1014 "Do not use.",
1015 "Git tag",
1016 "Git branch",
1017 "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."
1018 ],
1019 "type": "string"
1020 }
1021 },
1022 "type": "object"
1023 },
1024 "Empty": {
1025 "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 `{}`.",
1026 "id": "Empty",
1027 "properties": {},
1028 "type": "object"
1029 },
1030 "SourceLocation": {
1031 "description": "Represents a location in the source code.",
1032 "id": "SourceLocation",
1033 "properties": {
1034 "path": {
1035 "description": "Path to the source file within the source co ntext of the target binary.",
1036 "type": "string"
1037 },
1038 "line": {
1039 "description": "Line inside the file. The first line in the file has the value `1`.",
1040 "format": "int32",
1041 "type": "integer"
1042 }
1043 },
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 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudbuild__v1.json ('k') | discovery/googleapis/cloudfunctions__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698