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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud_debugger": { 8 "https://www.googleapis.com/auth/cloud_debugger": {
9 "description": "Manage cloud debugger" 9 "description": "Manage cloud debugger"
10 } 10 }
(...skipping 10 matching lines...) Expand all
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 "oauth_token": {
32 "description": "OAuth 2.0 token for the current user.",
33 "location": "query",
34 "type": "string"
35 },
36 "bearer_token": {
37 "description": "OAuth bearer token.",
38 "location": "query",
39 "type": "string"
40 },
31 "upload_protocol": { 41 "upload_protocol": {
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 42 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
33 "location": "query", 43 "location": "query",
34 "type": "string" 44 "type": "string"
35 }, 45 },
36 "prettyPrint": { 46 "prettyPrint": {
37 "default": "true", 47 "default": "true",
38 "description": "Returns response with indentations and line breaks." , 48 "description": "Returns response with indentations and line breaks." ,
39 "location": "query", 49 "location": "query",
40 "type": "boolean" 50 "type": "boolean"
41 }, 51 },
42 "fields": { 52 "fields": {
43 "description": "Selector specifying which fields to include in a par tial response.", 53 "description": "Selector specifying which fields to include in a par tial response.",
44 "location": "query", 54 "location": "query",
45 "type": "string" 55 "type": "string"
46 }, 56 },
47 "uploadType": { 57 "uploadType": {
48 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 58 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
49 "location": "query", 59 "location": "query",
50 "type": "string" 60 "type": "string"
51 }, 61 },
62 "callback": {
63 "description": "JSONP",
64 "location": "query",
65 "type": "string"
66 },
52 "$.xgafv": { 67 "$.xgafv": {
53 "description": "V1 error format.", 68 "description": "V1 error format.",
54 "enum": [ 69 "enum": [
55 "1", 70 "1",
56 "2" 71 "2"
57 ], 72 ],
58 "enumDescriptions": [ 73 "enumDescriptions": [
59 "v1 error format", 74 "v1 error format",
60 "v2 error format" 75 "v2 error format"
61 ], 76 ],
62 "location": "query", 77 "location": "query",
63 "type": "string" 78 "type": "string"
64 }, 79 },
65 "callback": {
66 "description": "JSONP",
67 "location": "query",
68 "type": "string"
69 },
70 "alt": { 80 "alt": {
71 "default": "json", 81 "default": "json",
72 "description": "Data format for response.", 82 "description": "Data format for response.",
73 "enum": [ 83 "enum": [
74 "json", 84 "json",
75 "media", 85 "media",
76 "proto" 86 "proto"
77 ], 87 ],
78 "enumDescriptions": [ 88 "enumDescriptions": [
79 "Responses with Content-Type of application/json", 89 "Responses with Content-Type of application/json",
80 "Media download with context-dependent Content-Type", 90 "Media download with context-dependent Content-Type",
81 "Responses with Content-Type of application/x-protobuf" 91 "Responses with Content-Type of application/x-protobuf"
82 ], 92 ],
83 "location": "query", 93 "location": "query",
84 "type": "string" 94 "type": "string"
85 }, 95 },
96 "key": {
97 "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.",
98 "location": "query",
99 "type": "string"
100 },
86 "access_token": { 101 "access_token": {
87 "description": "OAuth access token.", 102 "description": "OAuth access token.",
88 "location": "query", 103 "location": "query",
89 "type": "string" 104 "type": "string"
90 }, 105 },
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": { 106 "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.", 107 "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", 108 "location": "query",
99 "type": "string" 109 "type": "string"
100 }, 110 },
101 "pp": { 111 "pp": {
102 "default": "true", 112 "default": "true",
103 "description": "Pretty-print response.", 113 "description": "Pretty-print response.",
104 "location": "query", 114 "location": "query",
105 "type": "boolean" 115 "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 can set breakpoints to.", 125 "description": "Lists all the debuggees that the use r can set breakpoints to.",
(...skipping 23 matching lines...) Expand all
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 "set": {
160 "description": "Sets the breakpoint to the d ebuggee.",
161 "httpMethod": "POST",
162 "id": "clouddebugger.debugger.debuggees.brea kpoints.set",
163 "parameterOrder": [
164 "debuggeeId"
165 ],
166 "parameters": {
167 "clientVersion": {
168 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
169 "location": "query",
170 "type": "string"
171 },
172 "debuggeeId": {
173 "description": "ID of the debuggee w here the breakpoint is to be set.",
174 "location": "path",
175 "required": true,
176 "type": "string"
177 }
178 },
179 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set",
180 "request": {
181 "$ref": "Breakpoint"
182 },
183 "response": {
184 "$ref": "SetBreakpointResponse"
185 },
186 "scopes": [
187 "https://www.googleapis.com/auth/cloud-p latform",
188 "https://www.googleapis.com/auth/cloud_d ebugger"
189 ]
190 },
191 "delete": { 159 "delete": {
192 "description": "Deletes the breakpoint from the debuggee.", 160 "description": "Deletes the breakpoint from the debuggee.",
193 "httpMethod": "DELETE", 161 "httpMethod": "DELETE",
194 "id": "clouddebugger.debugger.debuggees.brea kpoints.delete", 162 "id": "clouddebugger.debugger.debuggees.brea kpoints.delete",
195 "parameterOrder": [ 163 "parameterOrder": [
196 "debuggeeId", 164 "debuggeeId",
197 "breakpointId" 165 "breakpointId"
198 ], 166 ],
199 "parameters": { 167 "parameters": {
200 "clientVersion": {
201 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
202 "location": "query",
203 "type": "string"
204 },
205 "breakpointId": { 168 "breakpointId": {
206 "description": "ID of the breakpoint to delete.", 169 "description": "ID of the breakpoint to delete.",
207 "location": "path", 170 "location": "path",
208 "required": true, 171 "required": true,
209 "type": "string" 172 "type": "string"
210 }, 173 },
211 "debuggeeId": { 174 "debuggeeId": {
212 "description": "ID of the debuggee w hose breakpoint to delete.", 175 "description": "ID of the debuggee w hose breakpoint to delete.",
213 "location": "path", 176 "location": "path",
214 "required": true, 177 "required": true,
215 "type": "string" 178 "type": "string"
179 },
180 "clientVersion": {
181 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
182 "location": "query",
183 "type": "string"
216 } 184 }
217 }, 185 },
218 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}", 186 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
219 "response": { 187 "response": {
220 "$ref": "Empty" 188 "$ref": "Empty"
221 }, 189 },
222 "scopes": [ 190 "scopes": [
223 "https://www.googleapis.com/auth/cloud-p latform", 191 "https://www.googleapis.com/auth/cloud-p latform",
224 "https://www.googleapis.com/auth/cloud_d ebugger" 192 "https://www.googleapis.com/auth/cloud_d ebugger"
225 ] 193 ]
226 }, 194 },
227 "get": { 195 "set": {
228 "description": "Gets breakpoint information. ", 196 "description": "Sets the breakpoint to the d ebuggee.",
229 "httpMethod": "GET", 197 "httpMethod": "POST",
230 "id": "clouddebugger.debugger.debuggees.brea kpoints.get", 198 "id": "clouddebugger.debugger.debuggees.brea kpoints.set",
231 "parameterOrder": [ 199 "parameterOrder": [
232 "debuggeeId", 200 "debuggeeId"
233 "breakpointId"
234 ], 201 ],
235 "parameters": { 202 "parameters": {
236 "breakpointId": {
237 "description": "ID of the breakpoint to get.",
238 "location": "path",
239 "required": true,
240 "type": "string"
241 },
242 "debuggeeId": {
243 "description": "ID of the debuggee w hose breakpoint to get.",
244 "location": "path",
245 "required": true,
246 "type": "string"
247 },
248 "clientVersion": { 203 "clientVersion": {
249 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).", 204 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
250 "location": "query", 205 "location": "query",
251 "type": "string" 206 "type": "string"
207 },
208 "debuggeeId": {
209 "description": "ID of the debuggee w here the breakpoint is to be set.",
210 "location": "path",
211 "required": true,
212 "type": "string"
252 } 213 }
253 }, 214 },
254 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}", 215 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set",
216 "request": {
217 "$ref": "Breakpoint"
218 },
255 "response": { 219 "response": {
256 "$ref": "GetBreakpointResponse" 220 "$ref": "SetBreakpointResponse"
257 }, 221 },
258 "scopes": [ 222 "scopes": [
259 "https://www.googleapis.com/auth/cloud-p latform", 223 "https://www.googleapis.com/auth/cloud-p latform",
260 "https://www.googleapis.com/auth/cloud_d ebugger" 224 "https://www.googleapis.com/auth/cloud_d ebugger"
261 ] 225 ]
262 }, 226 },
263 "list": { 227 "list": {
264 "description": "Lists all breakpoints for th e debuggee.", 228 "description": "Lists all breakpoints for th e debuggee.",
265 "httpMethod": "GET", 229 "httpMethod": "GET",
266 "id": "clouddebugger.debugger.debuggees.brea kpoints.list", 230 "id": "clouddebugger.debugger.debuggees.brea kpoints.list",
267 "parameterOrder": [ 231 "parameterOrder": [
268 "debuggeeId" 232 "debuggeeId"
269 ], 233 ],
270 "parameters": { 234 "parameters": {
235 "stripResults": {
236 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.",
237 "location": "query",
238 "type": "boolean"
239 },
240 "debuggeeId": {
241 "description": "ID of the debuggee w hose breakpoints to list.",
242 "location": "path",
243 "required": true,
244 "type": "string"
245 },
271 "waitToken": { 246 "waitToken": {
272 "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`.", 247 "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`.",
273 "location": "query", 248 "location": "query",
274 "type": "string" 249 "type": "string"
275 }, 250 },
251 "clientVersion": {
252 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
253 "location": "query",
254 "type": "string"
255 },
276 "action.value": { 256 "action.value": {
277 "description": "Only breakpoints wit h the specified action will pass the filter.", 257 "description": "Only breakpoints wit h the specified action will pass the filter.",
278 "enum": [ 258 "enum": [
279 "CAPTURE", 259 "CAPTURE",
280 "LOG" 260 "LOG"
281 ], 261 ],
282 "location": "query", 262 "location": "query",
283 "type": "string" 263 "type": "string"
284 }, 264 },
285 "clientVersion": {
286 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
287 "location": "query",
288 "type": "string"
289 },
290 "includeInactive": {
291 "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes o nly active breakpoints.",
292 "location": "query",
293 "type": "boolean"
294 },
295 "includeAllUsers": { 265 "includeAllUsers": {
296 "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.", 266 "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.",
297 "location": "query", 267 "location": "query",
298 "type": "boolean" 268 "type": "boolean"
299 }, 269 },
300 "stripResults": { 270 "includeInactive": {
301 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.", 271 "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes o nly active breakpoints.",
302 "location": "query", 272 "location": "query",
303 "type": "boolean" 273 "type": "boolean"
304 },
305 "debuggeeId": {
306 "description": "ID of the debuggee w hose breakpoints to list.",
307 "location": "path",
308 "required": true,
309 "type": "string"
310 } 274 }
311 }, 275 },
312 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints", 276 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints",
313 "response": { 277 "response": {
314 "$ref": "ListBreakpointsResponse" 278 "$ref": "ListBreakpointsResponse"
315 }, 279 },
316 "scopes": [ 280 "scopes": [
317 "https://www.googleapis.com/auth/cloud-p latform", 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",
289 "parameterOrder": [
290 "debuggeeId",
291 "breakpointId"
292 ],
293 "parameters": {
294 "clientVersion": {
295 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
296 "location": "query",
297 "type": "string"
298 },
299 "breakpointId": {
300 "description": "ID of the breakpoint to get.",
301 "location": "path",
302 "required": true,
303 "type": "string"
304 },
305 "debuggeeId": {
306 "description": "ID of the debuggee w hose breakpoint to get.",
307 "location": "path",
308 "required": true,
309 "type": "string"
310 }
311 },
312 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
313 "response": {
314 "$ref": "GetBreakpointResponse"
315 },
316 "scopes": [
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 }
325 } 325 }
326 }, 326 },
327 "controller": { 327 "controller": {
(...skipping 15 matching lines...) Expand all
343 }, 343 },
344 "scopes": [ 344 "scopes": [
345 "https://www.googleapis.com/auth/cloud-platform" , 345 "https://www.googleapis.com/auth/cloud-platform" ,
346 "https://www.googleapis.com/auth/cloud_debugger" 346 "https://www.googleapis.com/auth/cloud_debugger"
347 ] 347 ]
348 } 348 }
349 }, 349 },
350 "resources": { 350 "resources": {
351 "breakpoints": { 351 "breakpoints": {
352 "methods": { 352 "methods": {
353 "list": {
354 "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.",
355 "httpMethod": "GET",
356 "id": "clouddebugger.controller.debuggees.br eakpoints.list",
357 "parameterOrder": [
358 "debuggeeId"
359 ],
360 "parameters": {
361 "waitToken": {
362 "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.",
363 "location": "query",
364 "type": "string"
365 },
366 "debuggeeId": {
367 "description": "Identifies the debug gee.",
368 "location": "path",
369 "required": true,
370 "type": "string"
371 },
372 "successOnTimeout": {
373 "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).",
374 "location": "query",
375 "type": "boolean"
376 }
377 },
378 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints",
379 "response": {
380 "$ref": "ListActiveBreakpointsResponse"
381 },
382 "scopes": [
383 "https://www.googleapis.com/auth/cloud-p latform",
384 "https://www.googleapis.com/auth/cloud_d ebugger"
385 ]
386 },
387 "update": { 353 "update": {
388 "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the cont roller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `locatio n`,\n`condition` and `expression` fields should not alter the breakpoint\nsemant ics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.", 354 "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the cont roller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `locatio n`,\n`condition` and `expression` fields should not alter the breakpoint\nsemant ics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.",
389 "httpMethod": "PUT", 355 "httpMethod": "PUT",
390 "id": "clouddebugger.controller.debuggees.br eakpoints.update", 356 "id": "clouddebugger.controller.debuggees.br eakpoints.update",
391 "parameterOrder": [ 357 "parameterOrder": [
392 "debuggeeId", 358 "debuggeeId",
393 "id" 359 "id"
394 ], 360 ],
395 "parameters": { 361 "parameters": {
396 "debuggeeId": { 362 "debuggeeId": {
(...skipping 11 matching lines...) Expand all
408 }, 374 },
409 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints/{id}", 375 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints/{id}",
410 "request": { 376 "request": {
411 "$ref": "UpdateActiveBreakpointRequest" 377 "$ref": "UpdateActiveBreakpointRequest"
412 }, 378 },
413 "response": { 379 "response": {
414 "$ref": "UpdateActiveBreakpointResponse" 380 "$ref": "UpdateActiveBreakpointResponse"
415 }, 381 },
416 "scopes": [ 382 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform", 383 "https://www.googleapis.com/auth/cloud-p latform",
384 "https://www.googleapis.com/auth/cloud_d ebugger"
385 ]
386 },
387 "list": {
388 "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.",
389 "httpMethod": "GET",
390 "id": "clouddebugger.controller.debuggees.br eakpoints.list",
391 "parameterOrder": [
392 "debuggeeId"
393 ],
394 "parameters": {
395 "successOnTimeout": {
396 "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).",
397 "location": "query",
398 "type": "boolean"
399 },
400 "debuggeeId": {
401 "description": "Identifies the debug gee.",
402 "location": "path",
403 "required": true,
404 "type": "string"
405 },
406 "waitToken": {
407 "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.",
408 "location": "query",
409 "type": "string"
410 }
411 },
412 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints",
413 "response": {
414 "$ref": "ListActiveBreakpointsResponse"
415 },
416 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform",
418 "https://www.googleapis.com/auth/cloud_d ebugger" 418 "https://www.googleapis.com/auth/cloud_d ebugger"
419 ] 419 ]
420 } 420 }
421 } 421 }
422 } 422 }
423 } 423 }
424 } 424 }
425 } 425 }
426 } 426 }
427 }, 427 },
428 "revision": "20170518", 428 "revision": "20170621",
429 "rootUrl": "https://clouddebugger.googleapis.com/", 429 "rootUrl": "https://clouddebugger.googleapis.com/",
430 "schemas": { 430 "schemas": {
431 "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.",
433 "id": "Debuggee",
434 "properties": {
435 "extSourceContexts": {
436 "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a rem ote repo related to the source code\nhave a `category` label of `remote_repo`. S ource snapshot source\ncontexts have a `category` of `snapshot`.",
437 "items": {
438 "$ref": "ExtendedSourceContext"
439 },
440 "type": "array"
441 },
442 "labels": {
443 "additionalProperties": {
444 "type": "string"
445 },
446 "description": "A set of custom debuggee properties, populat ed by the agent, to be\ndisplayed to the user.",
447 "type": "object"
448 },
449 "isInactive": {
450 "description": "If set to `true`, indicates that the debugge e is considered as inactive by\nthe Controller service.",
451 "type": "boolean"
452 },
453 "status": {
454 "$ref": "StatusMessage",
455 "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."
456 },
457 "project": {
458 "description": "Project the debuggee is associated with.\nUs e the project number when registering a Google Cloud Platform project.",
459 "type": "string"
460 },
461 "isDisabled": {
462 "description": "If set to `true`, indicates that the agent s hould disable itself and\ndetach from the debuggee.",
463 "type": "boolean"
464 },
465 "agentVersion": {
466 "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`).",
467 "type": "string"
468 },
469 "id": {
470 "description": "Unique identifier for the debuggee generated by the controller service.",
471 "type": "string"
472 },
473 "description": {
474 "description": "Human readable description of the debuggee.\ nIncluding a human-readable project name, environment name and version\ninformat ion is recommended.",
475 "type": "string"
476 },
477 "uniquifier": {
478 "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.",
479 "type": "string"
480 },
481 "sourceContexts": {
482 "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is depre cated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug age nts should populate\nboth this field and `ext_source_contexts`.",
483 "items": {
484 "$ref": "SourceContext"
485 },
486 "type": "array"
487 }
488 },
489 "type": "object"
490 },
491 "ListActiveBreakpointsResponse": {
492 "description": "Response for listing active breakpoints.",
493 "id": "ListActiveBreakpointsResponse",
494 "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": {
500 "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
501 "items": {
502 "$ref": "Breakpoint"
503 },
504 "type": "array"
505 },
506 "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.",
508 "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 },
521 "repoName": {
522 "description": "The name of the repo. Leave empty for the de fault repo.",
523 "type": "string"
524 }
525 },
526 "type": "object"
527 },
528 "CloudWorkspaceSourceContext": {
529 "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
530 "id": "CloudWorkspaceSourceContext",
531 "properties": {
532 "snapshotId": {
533 "description": "The ID of the snapshot.\nAn empty snapshot_i d refers to the most recent snapshot.",
534 "type": "string"
535 },
536 "workspaceId": {
537 "$ref": "CloudWorkspaceId",
538 "description": "The ID of the workspace."
539 }
540 },
541 "type": "object"
542 },
543 "GerritSourceContext": {
544 "description": "A SourceContext referring to a Gerrit project.",
545 "id": "GerritSourceContext",
546 "properties": {
547 "gerritProject": {
548 "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.",
549 "type": "string"
550 },
551 "aliasContext": {
552 "$ref": "AliasContext",
553 "description": "An alias, which may be a branch or tag."
554 },
555 "hostUri": {
556 "description": "The URI of a running Gerrit instance.",
557 "type": "string"
558 },
559 "revisionId": {
560 "description": "A revision (commit) ID.",
561 "type": "string"
562 },
563 "aliasName": {
564 "description": "The name of an alias (branch, tag, etc.).",
565 "type": "string"
566 }
567 },
568 "type": "object"
569 },
570 "UpdateActiveBreakpointResponse": {
571 "description": "Response for updating an active breakpoint.\nThe mes sage is defined to allow future extensions.",
572 "id": "UpdateActiveBreakpointResponse",
573 "properties": {},
574 "type": "object"
575 },
576 "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.",
578 "id": "CloudWorkspaceId",
579 "properties": {
580 "name": {
581 "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.",
582 "type": "string"
583 },
584 "repoId": {
585 "$ref": "RepoId",
586 "description": "The ID of the repo containing the workspace. "
587 }
588 },
589 "type": "object"
590 },
591 "ListBreakpointsResponse": { 431 "ListBreakpointsResponse": {
592 "description": "Response for listing breakpoints.", 432 "description": "Response for listing breakpoints.",
593 "id": "ListBreakpointsResponse", 433 "id": "ListBreakpointsResponse",
594 "properties": { 434 "properties": {
595 "nextWaitToken": { 435 "nextWaitToken": {
596 "description": "A wait token that can be used in the next ca ll to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of break points has changes.", 436 "description": "A wait token that can be used in the next ca ll to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of break points has changes.",
597 "type": "string" 437 "type": "string"
598 }, 438 },
599 "breakpoints": { 439 "breakpoints": {
600 "description": "List of breakpoints matching the request.\nT he fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleare d on each breakpoint regardless of it's status.", 440 "description": "List of breakpoints matching the request.\nT he fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleare d on each breakpoint regardless of it's status.",
601 "items": { 441 "items": {
602 "$ref": "Breakpoint" 442 "$ref": "Breakpoint"
603 }, 443 },
604 "type": "array" 444 "type": "array"
605 } 445 }
606 }, 446 },
607 "type": "object" 447 "type": "object"
608 }, 448 },
609 "Breakpoint": { 449 "Breakpoint": {
610 "description": "Represents the breakpoint specification, status and results.", 450 "description": "Represents the breakpoint specification, status and results.",
611 "id": "Breakpoint", 451 "id": "Breakpoint",
612 "properties": { 452 "properties": {
613 "userEmail": {
614 "description": "E-mail address of the user that created this breakpoint",
615 "type": "string"
616 },
617 "action": {
618 "description": "Action that the agent should perform when th e code at the\nbreakpoint location is hit.",
619 "enum": [
620 "CAPTURE",
621 "LOG"
622 ],
623 "enumDescriptions": [
624 "Capture stack frame and variables and update the breakp oint.\nThe data is only captured once. After that the breakpoint is set\nin a fi nal state.",
625 "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired."
626 ],
627 "type": "string"
628 },
629 "logLevel": {
630 "description": "Indicates the severity of the log. Only rele vant when action is `LOG`.",
631 "enum": [
632 "INFO",
633 "WARNING",
634 "ERROR"
635 ],
636 "enumDescriptions": [
637 "Information log message.",
638 "Warning log message.",
639 "Error log message."
640 ],
641 "type": "string"
642 },
643 "id": { 453 "id": {
644 "description": "Breakpoint identifier, unique in the scope o f the debuggee.", 454 "description": "Breakpoint identifier, unique in the scope o f the debuggee.",
645 "type": "string" 455 "type": "string"
646 }, 456 },
647 "location": { 457 "location": {
648 "$ref": "SourceLocation", 458 "$ref": "SourceLocation",
649 "description": "Breakpoint source location." 459 "description": "Breakpoint source location."
650 }, 460 },
651 "finalTime": { 461 "finalTime": {
652 "description": "Time this breakpoint was finalized as seen b y the server in seconds\nresolution.", 462 "description": "Time this breakpoint was finalized as seen b y the server in seconds\nresolution.",
653 "format": "google-datetime", 463 "format": "google-datetime",
654 "type": "string" 464 "type": "string"
655 }, 465 },
656 "variableTable": { 466 "variableTable": {
657 "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.", 467 "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.",
658 "items": { 468 "items": {
659 "$ref": "Variable" 469 "$ref": "Variable"
660 }, 470 },
661 "type": "array" 471 "type": "array"
662 }, 472 },
663 "labels": {
664 "additionalProperties": {
665 "type": "string"
666 },
667 "description": "A set of custom breakpoint properties, popul ated by the agent, to be\ndisplayed to the user.",
668 "type": "object"
669 },
670 "createTime": { 473 "createTime": {
671 "description": "Time this breakpoint was created by the serv er in seconds resolution.", 474 "description": "Time this breakpoint was created by the serv er in seconds resolution.",
672 "format": "google-datetime", 475 "format": "google-datetime",
673 "type": "string" 476 "type": "string"
674 }, 477 },
675 "logMessageFormat": { 478 "logMessageFormat": {
676 "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 ]`.", 479 "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 ]`.",
677 "type": "string" 480 "type": "string"
678 }, 481 },
482 "labels": {
483 "additionalProperties": {
484 "type": "string"
485 },
486 "description": "A set of custom breakpoint properties, popul ated by the agent, to be\ndisplayed to the user.",
487 "type": "object"
488 },
679 "expressions": { 489 "expressions": {
680 "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.", 490 "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.",
681 "items": { 491 "items": {
682 "type": "string" 492 "type": "string"
683 }, 493 },
684 "type": "array" 494 "type": "array"
685 }, 495 },
686 "evaluatedExpressions": { 496 "evaluatedExpressions": {
687 "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.", 497 "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.",
688 "items": { 498 "items": {
(...skipping 12 matching lines...) Expand all
701 }, 511 },
702 "type": "array" 512 "type": "array"
703 }, 513 },
704 "condition": { 514 "condition": {
705 "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.", 515 "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.",
706 "type": "string" 516 "type": "string"
707 }, 517 },
708 "status": { 518 "status": {
709 "$ref": "StatusMessage", 519 "$ref": "StatusMessage",
710 "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" 520 "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"
521 },
522 "userEmail": {
523 "description": "E-mail address of the user that created this breakpoint",
524 "type": "string"
525 },
526 "action": {
527 "description": "Action that the agent should perform when th e code at the\nbreakpoint location is hit.",
528 "enum": [
529 "CAPTURE",
530 "LOG"
531 ],
532 "enumDescriptions": [
533 "Capture stack frame and variables and update the breakp oint.\nThe data is only captured once. After that the breakpoint is set\nin a fi nal state.",
534 "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired."
535 ],
536 "type": "string"
537 },
538 "logLevel": {
539 "description": "Indicates the severity of the log. Only rele vant when action is `LOG`.",
540 "enum": [
541 "INFO",
542 "WARNING",
543 "ERROR"
544 ],
545 "enumDescriptions": [
546 "Information log message.",
547 "Warning log message.",
548 "Error log message."
549 ],
550 "type": "string"
711 } 551 }
712 }, 552 },
713 "type": "object" 553 "type": "object"
714 }, 554 },
715 "SetBreakpointResponse": { 555 "SetBreakpointResponse": {
716 "description": "Response for setting a breakpoint.", 556 "description": "Response for setting a breakpoint.",
717 "id": "SetBreakpointResponse", 557 "id": "SetBreakpointResponse",
718 "properties": { 558 "properties": {
719 "breakpoint": { 559 "breakpoint": {
720 "$ref": "Breakpoint", 560 "$ref": "Breakpoint",
(...skipping 10 matching lines...) Expand all
731 "$ref": "Breakpoint", 571 "$ref": "Breakpoint",
732 "description": "Updated breakpoint information.\nThe field ' id' must be set." 572 "description": "Updated breakpoint information.\nThe field ' id' must be set."
733 } 573 }
734 }, 574 },
735 "type": "object" 575 "type": "object"
736 }, 576 },
737 "SourceContext": { 577 "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.", 578 "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", 579 "id": "SourceContext",
740 "properties": { 580 "properties": {
581 "git": {
582 "$ref": "GitSourceContext",
583 "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
584 },
741 "gerrit": { 585 "gerrit": {
742 "$ref": "GerritSourceContext", 586 "$ref": "GerritSourceContext",
743 "description": "A SourceContext referring to a Gerrit projec t." 587 "description": "A SourceContext referring to a Gerrit projec t."
744 }, 588 },
745 "cloudRepo": {
746 "$ref": "CloudRepoSourceContext",
747 "description": "A SourceContext referring to a revision in a cloud repo."
748 },
749 "cloudWorkspace": { 589 "cloudWorkspace": {
750 "$ref": "CloudWorkspaceSourceContext", 590 "$ref": "CloudWorkspaceSourceContext",
751 "description": "A SourceContext referring to a snapshot in a cloud workspace." 591 "description": "A SourceContext referring to a snapshot in a cloud workspace."
752 }, 592 },
753 "git": { 593 "cloudRepo": {
754 "$ref": "GitSourceContext", 594 "$ref": "CloudRepoSourceContext",
755 "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." 595 "description": "A SourceContext referring to a revision in a cloud repo."
756 } 596 }
757 }, 597 },
758 "type": "object" 598 "type": "object"
759 }, 599 },
760 "CloudRepoSourceContext": { 600 "CloudRepoSourceContext": {
761 "description": "A CloudRepoSourceContext denotes a particular revisi on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", 601 "description": "A CloudRepoSourceContext denotes a particular revisi on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).",
762 "id": "CloudRepoSourceContext", 602 "id": "CloudRepoSourceContext",
763 "properties": { 603 "properties": {
764 "aliasContext": {
765 "$ref": "AliasContext",
766 "description": "An alias, which may be a branch or tag."
767 },
768 "revisionId": { 604 "revisionId": {
769 "description": "A revision ID.", 605 "description": "A revision ID.",
770 "type": "string" 606 "type": "string"
771 }, 607 },
772 "aliasName": { 608 "aliasName": {
773 "description": "The name of an alias (branch, tag, etc.).", 609 "description": "The name of an alias (branch, tag, etc.).",
774 "type": "string" 610 "type": "string"
775 }, 611 },
776 "repoId": { 612 "repoId": {
777 "$ref": "RepoId", 613 "$ref": "RepoId",
778 "description": "The ID of the repo." 614 "description": "The ID of the repo."
615 },
616 "aliasContext": {
617 "$ref": "AliasContext",
618 "description": "An alias, which may be a branch or tag."
619 }
620 },
621 "type": "object"
622 },
623 "RegisterDebuggeeRequest": {
624 "description": "Request to register a debuggee.",
625 "id": "RegisterDebuggeeRequest",
626 "properties": {
627 "debuggee": {
628 "$ref": "Debuggee",
629 "description": "Debuggee information to register.\nThe field s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu st be set."
779 } 630 }
780 }, 631 },
781 "type": "object" 632 "type": "object"
782 }, 633 },
783 "RegisterDebuggeeResponse": { 634 "RegisterDebuggeeResponse": {
784 "description": "Response for registering a debuggee.", 635 "description": "Response for registering a debuggee.",
785 "id": "RegisterDebuggeeResponse", 636 "id": "RegisterDebuggeeResponse",
786 "properties": { 637 "properties": {
787 "debuggee": { 638 "debuggee": {
788 "$ref": "Debuggee", 639 "$ref": "Debuggee",
789 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)." 640 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)."
790 } 641 }
791 }, 642 },
792 "type": "object" 643 "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 }, 644 },
805 "GetBreakpointResponse": { 645 "GetBreakpointResponse": {
806 "description": "Response for getting breakpoint information.", 646 "description": "Response for getting breakpoint information.",
807 "id": "GetBreakpointResponse", 647 "id": "GetBreakpointResponse",
808 "properties": { 648 "properties": {
809 "breakpoint": { 649 "breakpoint": {
810 "$ref": "Breakpoint", 650 "$ref": "Breakpoint",
811 "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set." 651 "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set."
812 } 652 }
813 }, 653 },
814 "type": "object" 654 "type": "object"
815 }, 655 },
816 "StatusMessage": { 656 "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`.", 657 "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", 658 "id": "StatusMessage",
819 "properties": { 659 "properties": {
660 "description": {
661 "$ref": "FormatMessage",
662 "description": "Status message text."
663 },
820 "isError": { 664 "isError": {
821 "description": "Distinguishes errors from informational mess ages.", 665 "description": "Distinguishes errors from informational mess ages.",
822 "type": "boolean" 666 "type": "boolean"
823 }, 667 },
824 "description": {
825 "$ref": "FormatMessage",
826 "description": "Status message text."
827 },
828 "refersTo": { 668 "refersTo": {
829 "description": "Reference to which the message applies.", 669 "description": "Reference to which the message applies.",
830 "enum": [ 670 "enum": [
831 "UNSPECIFIED", 671 "UNSPECIFIED",
832 "BREAKPOINT_SOURCE_LOCATION", 672 "BREAKPOINT_SOURCE_LOCATION",
833 "BREAKPOINT_CONDITION", 673 "BREAKPOINT_CONDITION",
834 "BREAKPOINT_EXPRESSION", 674 "BREAKPOINT_EXPRESSION",
835 "BREAKPOINT_AGE", 675 "BREAKPOINT_AGE",
836 "VARIABLE_NAME", 676 "VARIABLE_NAME",
837 "VARIABLE_VALUE" 677 "VARIABLE_VALUE"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 "id": "Variable", 710 "id": "Variable",
871 "properties": { 711 "properties": {
872 "name": { 712 "name": {
873 "description": "Name of the variable, if any.", 713 "description": "Name of the variable, if any.",
874 "type": "string" 714 "type": "string"
875 }, 715 },
876 "type": { 716 "type": {
877 "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.", 717 "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.",
878 "type": "string" 718 "type": "string"
879 }, 719 },
720 "value": {
721 "description": "Simple value of the variable.",
722 "type": "string"
723 },
880 "varTableIndex": { 724 "varTableIndex": {
881 "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.", 725 "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.",
882 "format": "int32", 726 "format": "int32",
883 "type": "integer" 727 "type": "integer"
884 }, 728 },
885 "value": {
886 "description": "Simple value of the variable.",
887 "type": "string"
888 },
889 "members": { 729 "members": {
890 "description": "Members contained or pointed to by the varia ble.", 730 "description": "Members contained or pointed to by the varia ble.",
891 "items": { 731 "items": {
892 "$ref": "Variable" 732 "$ref": "Variable"
893 }, 733 },
894 "type": "array" 734 "type": "array"
895 }, 735 },
896 "status": { 736 "status": {
897 "$ref": "StatusMessage", 737 "$ref": "StatusMessage",
898 "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`" 738 "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`"
(...skipping 27 matching lines...) Expand all
926 "description": "Demangled function name at the call site.", 766 "description": "Demangled function name at the call site.",
927 "type": "string" 767 "type": "string"
928 } 768 }
929 }, 769 },
930 "type": "object" 770 "type": "object"
931 }, 771 },
932 "RepoId": { 772 "RepoId": {
933 "description": "A unique identifier for a cloud repo.", 773 "description": "A unique identifier for a cloud repo.",
934 "id": "RepoId", 774 "id": "RepoId",
935 "properties": { 775 "properties": {
776 "uid": {
777 "description": "A server-assigned, globally unique identifie r.",
778 "type": "string"
779 },
936 "projectRepoId": { 780 "projectRepoId": {
937 "$ref": "ProjectRepoId", 781 "$ref": "ProjectRepoId",
938 "description": "A combination of a project ID and a repo nam e." 782 "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 } 783 }
944 }, 784 },
945 "type": "object" 785 "type": "object"
946 }, 786 },
947 "FormatMessage": { 787 "FormatMessage": {
948 "description": "Represents a message with parameters.", 788 "description": "Represents a message with parameters.",
949 "id": "FormatMessage", 789 "id": "FormatMessage",
950 "properties": { 790 "properties": {
951 "parameters": { 791 "parameters": {
952 "description": "Optional parameters to be embedded into the message.", 792 "description": "Optional parameters to be embedded into the message.",
(...skipping 20 matching lines...) Expand all
973 "labels": { 813 "labels": {
974 "additionalProperties": { 814 "additionalProperties": {
975 "type": "string" 815 "type": "string"
976 }, 816 },
977 "description": "Labels with user defined metadata.", 817 "description": "Labels with user defined metadata.",
978 "type": "object" 818 "type": "object"
979 } 819 }
980 }, 820 },
981 "type": "object" 821 "type": "object"
982 }, 822 },
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": { 823 "AliasContext": {
998 "description": "An alias to a repo revision.", 824 "description": "An alias to a repo revision.",
999 "id": "AliasContext", 825 "id": "AliasContext",
1000 "properties": { 826 "properties": {
1001 "name": { 827 "name": {
1002 "description": "The alias name.", 828 "description": "The alias name.",
1003 "type": "string" 829 "type": "string"
1004 }, 830 },
1005 "kind": { 831 "kind": {
1006 "description": "The alias kind.", 832 "description": "The alias kind.",
1007 "enum": [ 833 "enum": [
1008 "ANY", 834 "ANY",
1009 "FIXED", 835 "FIXED",
1010 "MOVABLE", 836 "MOVABLE",
1011 "OTHER" 837 "OTHER"
1012 ], 838 ],
1013 "enumDescriptions": [ 839 "enumDescriptions": [
1014 "Do not use.", 840 "Do not use.",
1015 "Git tag", 841 "Git tag",
1016 "Git branch", 842 "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." 843 "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 ], 844 ],
1019 "type": "string" 845 "type": "string"
1020 } 846 }
1021 }, 847 },
1022 "type": "object" 848 "type": "object"
1023 }, 849 },
850 "ListDebuggeesResponse": {
851 "description": "Response for listing debuggees.",
852 "id": "ListDebuggeesResponse",
853 "properties": {
854 "debuggees": {
855 "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.",
856 "items": {
857 "$ref": "Debuggee"
858 },
859 "type": "array"
860 }
861 },
862 "type": "object"
863 },
1024 "Empty": { 864 "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 `{}`.", 865 "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", 866 "id": "Empty",
1027 "properties": {}, 867 "properties": {},
1028 "type": "object" 868 "type": "object"
1029 }, 869 },
1030 "SourceLocation": { 870 "SourceLocation": {
1031 "description": "Represents a location in the source code.", 871 "description": "Represents a location in the source code.",
1032 "id": "SourceLocation", 872 "id": "SourceLocation",
1033 "properties": { 873 "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": { 874 "line": {
1039 "description": "Line inside the file. The first line in the file has the value `1`.", 875 "description": "Line inside the file. The first line in the file has the value `1`.",
1040 "format": "int32", 876 "format": "int32",
1041 "type": "integer" 877 "type": "integer"
878 },
879 "path": {
880 "description": "Path to the source file within the source co ntext of the target binary.",
881 "type": "string"
1042 } 882 }
1043 }, 883 },
1044 "type": "object" 884 "type": "object"
885 },
886 "Debuggee": {
887 "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.",
888 "id": "Debuggee",
889 "properties": {
890 "uniquifier": {
891 "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.",
892 "type": "string"
893 },
894 "description": {
895 "description": "Human readable description of the debuggee.\ nIncluding a human-readable project name, environment name and version\ninformat ion is recommended.",
896 "type": "string"
897 },
898 "sourceContexts": {
899 "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is depre cated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug age nts should populate\nboth this field and `ext_source_contexts`.",
900 "items": {
901 "$ref": "SourceContext"
902 },
903 "type": "array"
904 },
905 "extSourceContexts": {
906 "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a rem ote repo related to the source code\nhave a `category` label of `remote_repo`. S ource snapshot source\ncontexts have a `category` of `snapshot`.",
907 "items": {
908 "$ref": "ExtendedSourceContext"
909 },
910 "type": "array"
911 },
912 "labels": {
913 "additionalProperties": {
914 "type": "string"
915 },
916 "description": "A set of custom debuggee properties, populat ed by the agent, to be\ndisplayed to the user.",
917 "type": "object"
918 },
919 "isInactive": {
920 "description": "If set to `true`, indicates that the debugge e is considered as inactive by\nthe Controller service.",
921 "type": "boolean"
922 },
923 "status": {
924 "$ref": "StatusMessage",
925 "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."
926 },
927 "project": {
928 "description": "Project the debuggee is associated with.\nUs e the project number when registering a Google Cloud Platform project.",
929 "type": "string"
930 },
931 "id": {
932 "description": "Unique identifier for the debuggee generated by the controller service.",
933 "type": "string"
934 },
935 "agentVersion": {
936 "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`).",
937 "type": "string"
938 },
939 "isDisabled": {
940 "description": "If set to `true`, indicates that the agent s hould disable itself and\ndetach from the debuggee.",
941 "type": "boolean"
942 }
943 },
944 "type": "object"
945 },
946 "ListActiveBreakpointsResponse": {
947 "description": "Response for listing active breakpoints.",
948 "id": "ListActiveBreakpointsResponse",
949 "properties": {
950 "breakpoints": {
951 "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
952 "items": {
953 "$ref": "Breakpoint"
954 },
955 "type": "array"
956 },
957 "waitExpired": {
958 "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.",
959 "type": "boolean"
960 },
961 "nextWaitToken": {
962 "description": "A wait token that can be used in the next me thod call to block until\nthe list of breakpoints changes.",
963 "type": "string"
964 }
965 },
966 "type": "object"
967 },
968 "ProjectRepoId": {
969 "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
970 "id": "ProjectRepoId",
971 "properties": {
972 "repoName": {
973 "description": "The name of the repo. Leave empty for the de fault repo.",
974 "type": "string"
975 },
976 "projectId": {
977 "description": "The ID of the project.",
978 "type": "string"
979 }
980 },
981 "type": "object"
982 },
983 "CloudWorkspaceSourceContext": {
984 "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
985 "id": "CloudWorkspaceSourceContext",
986 "properties": {
987 "snapshotId": {
988 "description": "The ID of the snapshot.\nAn empty snapshot_i d refers to the most recent snapshot.",
989 "type": "string"
990 },
991 "workspaceId": {
992 "$ref": "CloudWorkspaceId",
993 "description": "The ID of the workspace."
994 }
995 },
996 "type": "object"
997 },
998 "GerritSourceContext": {
999 "description": "A SourceContext referring to a Gerrit project.",
1000 "id": "GerritSourceContext",
1001 "properties": {
1002 "revisionId": {
1003 "description": "A revision (commit) ID.",
1004 "type": "string"
1005 },
1006 "hostUri": {
1007 "description": "The URI of a running Gerrit instance.",
1008 "type": "string"
1009 },
1010 "aliasName": {
1011 "description": "The name of an alias (branch, tag, etc.).",
1012 "type": "string"
1013 },
1014 "aliasContext": {
1015 "$ref": "AliasContext",
1016 "description": "An alias, which may be a branch or tag."
1017 },
1018 "gerritProject": {
1019 "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.",
1020 "type": "string"
1021 }
1022 },
1023 "type": "object"
1024 },
1025 "UpdateActiveBreakpointResponse": {
1026 "description": "Response for updating an active breakpoint.\nThe mes sage is defined to allow future extensions.",
1027 "id": "UpdateActiveBreakpointResponse",
1028 "properties": {},
1029 "type": "object"
1030 },
1031 "CloudWorkspaceId": {
1032 "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.",
1033 "id": "CloudWorkspaceId",
1034 "properties": {
1035 "repoId": {
1036 "$ref": "RepoId",
1037 "description": "The ID of the repo containing the workspace. "
1038 },
1039 "name": {
1040 "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.",
1041 "type": "string"
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