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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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",
(...skipping 22 matching lines...) Expand all
42 "fields": { 42 "fields": {
43 "description": "Selector specifying which fields to include in a par tial response.", 43 "description": "Selector specifying which fields to include in a par tial response.",
44 "location": "query", 44 "location": "query",
45 "type": "string" 45 "type": "string"
46 }, 46 },
47 "uploadType": { 47 "uploadType": {
48 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 48 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
49 "location": "query", 49 "location": "query",
50 "type": "string" 50 "type": "string"
51 }, 51 },
52 "callback": {
53 "description": "JSONP",
54 "location": "query",
55 "type": "string"
56 },
57 "$.xgafv": { 52 "$.xgafv": {
58 "description": "V1 error format.", 53 "description": "V1 error format.",
59 "enum": [ 54 "enum": [
60 "1", 55 "1",
61 "2" 56 "2"
62 ], 57 ],
63 "enumDescriptions": [ 58 "enumDescriptions": [
64 "v1 error format", 59 "v1 error format",
65 "v2 error format" 60 "v2 error format"
66 ], 61 ],
67 "location": "query", 62 "location": "query",
68 "type": "string" 63 "type": "string"
69 }, 64 },
65 "callback": {
66 "description": "JSONP",
67 "location": "query",
68 "type": "string"
69 },
70 "alt": { 70 "alt": {
71 "default": "json", 71 "default": "json",
72 "description": "Data format for response.", 72 "description": "Data format for response.",
73 "enum": [ 73 "enum": [
74 "json", 74 "json",
75 "media", 75 "media",
76 "proto" 76 "proto"
77 ], 77 ],
78 "enumDescriptions": [ 78 "enumDescriptions": [
79 "Responses with Content-Type of application/json", 79 "Responses with Content-Type of application/json",
(...skipping 17 matching lines...) Expand all
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.", 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", 98 "location": "query",
99 "type": "string" 99 "type": "string"
100 }, 100 },
101 "pp": { 101 "pp": {
102 "default": "true", 102 "default": "true",
103 "description": "Pretty-print response.", 103 "description": "Pretty-print response.",
104 "location": "query", 104 "location": "query",
105 "type": "boolean" 105 "type": "boolean"
106 }, 106 },
107 "bearer_token": { 107 "oauth_token": {
108 "description": "OAuth bearer token.", 108 "description": "OAuth 2.0 token for the current user.",
109 "location": "query", 109 "location": "query",
110 "type": "string" 110 "type": "string"
111 }, 111 },
112 "oauth_token": { 112 "bearer_token": {
113 "description": "OAuth 2.0 token for the current user.", 113 "description": "OAuth bearer token.",
114 "location": "query", 114 "location": "query",
115 "type": "string" 115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "controller": {
121 "resources": {
122 "debuggees": {
123 "methods": {
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`.",
126 "httpMethod": "POST",
127 "id": "clouddebugger.controller.debuggees.register",
128 "parameterOrder": [],
129 "parameters": {},
130 "path": "v2/controller/debuggees/register",
131 "request": {
132 "$ref": "RegisterDebuggeeRequest"
133 },
134 "response": {
135 "$ref": "RegisterDebuggeeResponse"
136 },
137 "scopes": [
138 "https://www.googleapis.com/auth/cloud-platform" ,
139 "https://www.googleapis.com/auth/cloud_debugger"
140 ]
141 }
142 },
143 "resources": {
144 "breakpoints": {
145 "methods": {
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.",
148 "httpMethod": "GET",
149 "id": "clouddebugger.controller.debuggees.br eakpoints.list",
150 "parameterOrder": [
151 "debuggeeId"
152 ],
153 "parameters": {
154 "debuggeeId": {
155 "description": "Identifies the debug gee.",
156 "location": "path",
157 "required": true,
158 "type": "string"
159 },
160 "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).",
162 "location": "query",
163 "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 }
170 },
171 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints",
172 "response": {
173 "$ref": "ListActiveBreakpointsResponse"
174 },
175 "scopes": [
176 "https://www.googleapis.com/auth/cloud-p latform",
177 "https://www.googleapis.com/auth/cloud_d ebugger"
178 ]
179 },
180 "update": {
181 "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.",
182 "httpMethod": "PUT",
183 "id": "clouddebugger.controller.debuggees.br eakpoints.update",
184 "parameterOrder": [
185 "debuggeeId",
186 "id"
187 ],
188 "parameters": {
189 "debuggeeId": {
190 "description": "Identifies the debug gee being debugged.",
191 "location": "path",
192 "required": true,
193 "type": "string"
194 },
195 "id": {
196 "description": "Breakpoint identifie r, unique in the scope of the debuggee.",
197 "location": "path",
198 "required": true,
199 "type": "string"
200 }
201 },
202 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints/{id}",
203 "request": {
204 "$ref": "UpdateActiveBreakpointRequest"
205 },
206 "response": {
207 "$ref": "UpdateActiveBreakpointResponse"
208 },
209 "scopes": [
210 "https://www.googleapis.com/auth/cloud-p latform",
211 "https://www.googleapis.com/auth/cloud_d ebugger"
212 ]
213 }
214 }
215 }
216 }
217 }
218 }
219 },
220 "debugger": { 120 "debugger": {
221 "resources": { 121 "resources": {
222 "debuggees": { 122 "debuggees": {
223 "methods": { 123 "methods": {
224 "list": { 124 "list": {
225 "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.",
226 "httpMethod": "GET", 126 "httpMethod": "GET",
227 "id": "clouddebugger.debugger.debuggees.list", 127 "id": "clouddebugger.debugger.debuggees.list",
228 "parameterOrder": [], 128 "parameterOrder": [],
229 "parameters": { 129 "parameters": {
230 "project": {
231 "description": "Project number of a Google C loud project whose debuggees to list.",
232 "location": "query",
233 "type": "string"
234 },
235 "clientVersion": { 130 "clientVersion": {
236 "description": "The client version making th e call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", 131 "description": "The client version making th e call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
237 "location": "query", 132 "location": "query",
238 "type": "string" 133 "type": "string"
239 }, 134 },
240 "includeInactive": { 135 "includeInactive": {
241 "description": "When set to `true`, the resu lt includes all debuggees. Otherwise, the\nresult includes only debuggees that a re active.", 136 "description": "When set to `true`, the resu lt includes all debuggees. Otherwise, the\nresult includes only debuggees that a re active.",
242 "location": "query", 137 "location": "query",
243 "type": "boolean" 138 "type": "boolean"
139 },
140 "project": {
141 "description": "Project number of a Google C loud project whose debuggees to list.",
142 "location": "query",
143 "type": "string"
244 } 144 }
245 }, 145 },
246 "path": "v2/debugger/debuggees", 146 "path": "v2/debugger/debuggees",
247 "response": { 147 "response": {
248 "$ref": "ListDebuggeesResponse" 148 "$ref": "ListDebuggeesResponse"
249 }, 149 },
250 "scopes": [ 150 "scopes": [
251 "https://www.googleapis.com/auth/cloud-platform" , 151 "https://www.googleapis.com/auth/cloud-platform" ,
252 "https://www.googleapis.com/auth/cloud_debugger" 152 "https://www.googleapis.com/auth/cloud_debugger"
253 ] 153 ]
254 } 154 }
255 }, 155 },
256 "resources": { 156 "resources": {
257 "breakpoints": { 157 "breakpoints": {
258 "methods": { 158 "methods": {
259 "set": { 159 "set": {
260 "description": "Sets the breakpoint to the d ebuggee.", 160 "description": "Sets the breakpoint to the d ebuggee.",
261 "httpMethod": "POST", 161 "httpMethod": "POST",
262 "id": "clouddebugger.debugger.debuggees.brea kpoints.set", 162 "id": "clouddebugger.debugger.debuggees.brea kpoints.set",
263 "parameterOrder": [ 163 "parameterOrder": [
264 "debuggeeId" 164 "debuggeeId"
265 ], 165 ],
266 "parameters": { 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 },
267 "debuggeeId": { 172 "debuggeeId": {
268 "description": "ID of the debuggee w here the breakpoint is to be set.", 173 "description": "ID of the debuggee w here the breakpoint is to be set.",
269 "location": "path", 174 "location": "path",
270 "required": true, 175 "required": true,
271 "type": "string" 176 "type": "string"
272 },
273 "clientVersion": {
274 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
275 "location": "query",
276 "type": "string"
277 } 177 }
278 }, 178 },
279 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set", 179 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/set",
280 "request": { 180 "request": {
281 "$ref": "Breakpoint" 181 "$ref": "Breakpoint"
282 }, 182 },
283 "response": { 183 "response": {
284 "$ref": "SetBreakpointResponse" 184 "$ref": "SetBreakpointResponse"
285 }, 185 },
286 "scopes": [ 186 "scopes": [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 }, 226 },
327 "get": { 227 "get": {
328 "description": "Gets breakpoint information. ", 228 "description": "Gets breakpoint information. ",
329 "httpMethod": "GET", 229 "httpMethod": "GET",
330 "id": "clouddebugger.debugger.debuggees.brea kpoints.get", 230 "id": "clouddebugger.debugger.debuggees.brea kpoints.get",
331 "parameterOrder": [ 231 "parameterOrder": [
332 "debuggeeId", 232 "debuggeeId",
333 "breakpointId" 233 "breakpointId"
334 ], 234 ],
335 "parameters": { 235 "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": { 236 "breakpointId": {
342 "description": "ID of the breakpoint to get.", 237 "description": "ID of the breakpoint to get.",
343 "location": "path", 238 "location": "path",
344 "required": true, 239 "required": true,
345 "type": "string" 240 "type": "string"
346 }, 241 },
347 "debuggeeId": { 242 "debuggeeId": {
348 "description": "ID of the debuggee w hose breakpoint to get.", 243 "description": "ID of the debuggee w hose breakpoint to get.",
349 "location": "path", 244 "location": "path",
350 "required": true, 245 "required": true,
351 "type": "string" 246 "type": "string"
247 },
248 "clientVersion": {
249 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).",
250 "location": "query",
251 "type": "string"
352 } 252 }
353 }, 253 },
354 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}", 254 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints/{breakpointId}",
355 "response": { 255 "response": {
356 "$ref": "GetBreakpointResponse" 256 "$ref": "GetBreakpointResponse"
357 }, 257 },
358 "scopes": [ 258 "scopes": [
359 "https://www.googleapis.com/auth/cloud-p latform", 259 "https://www.googleapis.com/auth/cloud-p latform",
360 "https://www.googleapis.com/auth/cloud_d ebugger" 260 "https://www.googleapis.com/auth/cloud_d ebugger"
361 ] 261 ]
362 }, 262 },
363 "list": { 263 "list": {
364 "description": "Lists all breakpoints for th e debuggee.", 264 "description": "Lists all breakpoints for th e debuggee.",
365 "httpMethod": "GET", 265 "httpMethod": "GET",
366 "id": "clouddebugger.debugger.debuggees.brea kpoints.list", 266 "id": "clouddebugger.debugger.debuggees.brea kpoints.list",
367 "parameterOrder": [ 267 "parameterOrder": [
368 "debuggeeId" 268 "debuggeeId"
369 ], 269 ],
370 "parameters": { 270 "parameters": {
371 "clientVersion": { 271 "waitToken": {
372 "description": "The client version m aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1 `).", 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`.",
373 "location": "query", 273 "location": "query",
374 "type": "string" 274 "type": "string"
375 }, 275 },
376 "action.value": { 276 "action.value": {
377 "description": "Only breakpoints wit h the specified action will pass the filter.", 277 "description": "Only breakpoints wit h the specified action will pass the filter.",
378 "enum": [ 278 "enum": [
379 "CAPTURE", 279 "CAPTURE",
380 "LOG" 280 "LOG"
381 ], 281 ],
382 "location": "query", 282 "location": "query",
383 "type": "string" 283 "type": "string"
384 }, 284 },
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 },
385 "includeAllUsers": { 295 "includeAllUsers": {
386 "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.", 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.",
387 "location": "query", 297 "location": "query",
388 "type": "boolean" 298 "type": "boolean"
389 }, 299 },
390 "includeInactive": {
391 "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes o nly active breakpoints.",
392 "location": "query",
393 "type": "boolean"
394 },
395 "stripResults": { 300 "stripResults": {
396 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.", 301 "description": "This field is deprec ated. The following fields are always stripped out of\nthe result: `stack_frames `, `evaluated_expressions` and `variable_table`.",
397 "location": "query", 302 "location": "query",
398 "type": "boolean" 303 "type": "boolean"
399 }, 304 },
400 "debuggeeId": { 305 "debuggeeId": {
401 "description": "ID of the debuggee w hose breakpoints to list.", 306 "description": "ID of the debuggee w hose breakpoints to list.",
402 "location": "path", 307 "location": "path",
403 "required": true, 308 "required": true,
404 "type": "string" 309 "type": "string"
405 },
406 "waitToken": {
407 "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`.",
408 "location": "query",
409 "type": "string"
410 } 310 }
411 }, 311 },
412 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints", 312 "path": "v2/debugger/debuggees/{debuggeeId}/ breakpoints",
413 "response": { 313 "response": {
414 "$ref": "ListBreakpointsResponse" 314 "$ref": "ListBreakpointsResponse"
415 }, 315 },
416 "scopes": [ 316 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform", 317 "https://www.googleapis.com/auth/cloud-p latform",
418 "https://www.googleapis.com/auth/cloud_d ebugger" 318 "https://www.googleapis.com/auth/cloud_d ebugger"
419 ] 319 ]
420 } 320 }
421 } 321 }
422 } 322 }
423 } 323 }
424 } 324 }
425 } 325 }
326 },
327 "controller": {
328 "resources": {
329 "debuggees": {
330 "methods": {
331 "register": {
332 "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`.",
333 "httpMethod": "POST",
334 "id": "clouddebugger.controller.debuggees.register",
335 "parameterOrder": [],
336 "parameters": {},
337 "path": "v2/controller/debuggees/register",
338 "request": {
339 "$ref": "RegisterDebuggeeRequest"
340 },
341 "response": {
342 "$ref": "RegisterDebuggeeResponse"
343 },
344 "scopes": [
345 "https://www.googleapis.com/auth/cloud-platform" ,
346 "https://www.googleapis.com/auth/cloud_debugger"
347 ]
348 }
349 },
350 "resources": {
351 "breakpoints": {
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": {
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.",
389 "httpMethod": "PUT",
390 "id": "clouddebugger.controller.debuggees.br eakpoints.update",
391 "parameterOrder": [
392 "debuggeeId",
393 "id"
394 ],
395 "parameters": {
396 "debuggeeId": {
397 "description": "Identifies the debug gee being debugged.",
398 "location": "path",
399 "required": true,
400 "type": "string"
401 },
402 "id": {
403 "description": "Breakpoint identifie r, unique in the scope of the debuggee.",
404 "location": "path",
405 "required": true,
406 "type": "string"
407 }
408 },
409 "path": "v2/controller/debuggees/{debuggeeId }/breakpoints/{id}",
410 "request": {
411 "$ref": "UpdateActiveBreakpointRequest"
412 },
413 "response": {
414 "$ref": "UpdateActiveBreakpointResponse"
415 },
416 "scopes": [
417 "https://www.googleapis.com/auth/cloud-p latform",
418 "https://www.googleapis.com/auth/cloud_d ebugger"
419 ]
420 }
421 }
422 }
423 }
424 }
425 }
426 } 426 }
427 }, 427 },
428 "revision": "20170413", 428 "revision": "20170518",
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": {
592 "description": "Response for listing breakpoints.",
593 "id": "ListBreakpointsResponse",
594 "properties": {
595 "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.",
597 "type": "string"
598 },
599 "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.",
601 "items": {
602 "$ref": "Breakpoint"
603 },
604 "type": "array"
605 }
606 },
607 "type": "object"
608 },
609 "Breakpoint": {
610 "description": "Represents the breakpoint specification, status and results.",
611 "id": "Breakpoint",
612 "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": {
644 "description": "Breakpoint identifier, unique in the scope o f the debuggee.",
645 "type": "string"
646 },
647 "location": {
648 "$ref": "SourceLocation",
649 "description": "Breakpoint source location."
650 },
651 "finalTime": {
652 "description": "Time this breakpoint was finalized as seen b y the server in seconds\nresolution.",
653 "format": "google-datetime",
654 "type": "string"
655 },
656 "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.",
658 "items": {
659 "$ref": "Variable"
660 },
661 "type": "array"
662 },
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": {
671 "description": "Time this breakpoint was created by the serv er in seconds resolution.",
672 "format": "google-datetime",
673 "type": "string"
674 },
675 "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 ]`.",
677 "type": "string"
678 },
679 "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.",
681 "items": {
682 "type": "string"
683 },
684 "type": "array"
685 },
686 "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.",
688 "items": {
689 "$ref": "Variable"
690 },
691 "type": "array"
692 },
693 "isFinalState": {
694 "description": "When true, indicates that this is a final re sult and the\nbreakpoint state will not change from here on.",
695 "type": "boolean"
696 },
697 "stackFrames": {
698 "description": "The stack at breakpoint time.",
699 "items": {
700 "$ref": "StackFrame"
701 },
702 "type": "array"
703 },
704 "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.",
706 "type": "string"
707 },
708 "status": {
709 "$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"
711 }
712 },
713 "type": "object"
714 },
715 "SetBreakpointResponse": {
716 "description": "Response for setting a breakpoint.",
717 "id": "SetBreakpointResponse",
718 "properties": {
719 "breakpoint": {
720 "$ref": "Breakpoint",
721 "description": "Breakpoint resource.\nThe field `id` is guar anteed to be set (in addition to the echoed fileds)."
722 }
723 },
724 "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 },
737 "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.",
739 "id": "SourceContext",
740 "properties": {
741 "gerrit": {
742 "$ref": "GerritSourceContext",
743 "description": "A SourceContext referring to a Gerrit projec t."
744 },
745 "cloudRepo": {
746 "$ref": "CloudRepoSourceContext",
747 "description": "A SourceContext referring to a revision in a cloud repo."
748 },
749 "cloudWorkspace": {
750 "$ref": "CloudWorkspaceSourceContext",
751 "description": "A SourceContext referring to a snapshot in a cloud workspace."
752 },
753 "git": {
754 "$ref": "GitSourceContext",
755 "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
756 }
757 },
758 "type": "object"
759 },
760 "CloudRepoSourceContext": {
761 "description": "A CloudRepoSourceContext denotes a particular revisi on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).",
762 "id": "CloudRepoSourceContext",
763 "properties": {
764 "aliasContext": {
765 "$ref": "AliasContext",
766 "description": "An alias, which may be a branch or tag."
767 },
768 "revisionId": {
769 "description": "A revision ID.",
770 "type": "string"
771 },
772 "aliasName": {
773 "description": "The name of an alias (branch, tag, etc.).",
774 "type": "string"
775 },
776 "repoId": {
777 "$ref": "RepoId",
778 "description": "The ID of the repo."
779 }
780 },
781 "type": "object"
782 },
431 "RegisterDebuggeeResponse": { 783 "RegisterDebuggeeResponse": {
432 "description": "Response for registering a debuggee.", 784 "description": "Response for registering a debuggee.",
433 "id": "RegisterDebuggeeResponse", 785 "id": "RegisterDebuggeeResponse",
434 "properties": { 786 "properties": {
435 "debuggee": { 787 "debuggee": {
436 "$ref": "Debuggee", 788 "$ref": "Debuggee",
437 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)." 789 "description": "Debuggee resource.\nThe field `id` is gurant eed to be set (in addition to the echoed fields)."
438 } 790 }
439 }, 791 },
440 "type": "object" 792 "type": "object"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 "description": "Git repository URL.", 862 "description": "Git repository URL.",
511 "type": "string" 863 "type": "string"
512 } 864 }
513 }, 865 },
514 "type": "object" 866 "type": "object"
515 }, 867 },
516 "Variable": { 868 "Variable": {
517 "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.", 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.",
518 "id": "Variable", 870 "id": "Variable",
519 "properties": { 871 "properties": {
520 "members": {
521 "description": "Members contained or pointed to by the varia ble.",
522 "items": {
523 "$ref": "Variable"
524 },
525 "type": "array"
526 },
527 "status": {
528 "$ref": "StatusMessage",
529 "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`"
530 },
531 "name": { 872 "name": {
532 "description": "Name of the variable, if any.", 873 "description": "Name of the variable, if any.",
533 "type": "string" 874 "type": "string"
534 }, 875 },
535 "type": { 876 "type": {
536 "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.", 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.",
537 "type": "string" 878 "type": "string"
538 }, 879 },
539 "value": {
540 "description": "Simple value of the variable.",
541 "type": "string"
542 },
543 "varTableIndex": { 880 "varTableIndex": {
544 "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.", 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.",
545 "format": "int32", 882 "format": "int32",
546 "type": "integer" 883 "type": "integer"
884 },
885 "value": {
886 "description": "Simple value of the variable.",
887 "type": "string"
888 },
889 "members": {
890 "description": "Members contained or pointed to by the varia ble.",
891 "items": {
892 "$ref": "Variable"
893 },
894 "type": "array"
895 },
896 "status": {
897 "$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`"
547 } 899 }
548 }, 900 },
549 "type": "object" 901 "type": "object"
550 }, 902 },
551 "StackFrame": { 903 "StackFrame": {
552 "description": "Represents a stack frame context.", 904 "description": "Represents a stack frame context.",
553 "id": "StackFrame", 905 "id": "StackFrame",
554 "properties": { 906 "properties": {
555 "arguments": { 907 "arguments": {
556 "description": "Set of arguments passed to this function.\nN ote that this might not be populated for all stack frames.", 908 "description": "Set of arguments passed to this function.\nN ote that this might not be populated for all stack frames.",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 "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.`", 959 "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.`",
608 "type": "string" 960 "type": "string"
609 } 961 }
610 }, 962 },
611 "type": "object" 963 "type": "object"
612 }, 964 },
613 "ExtendedSourceContext": { 965 "ExtendedSourceContext": {
614 "description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.", 966 "description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.",
615 "id": "ExtendedSourceContext", 967 "id": "ExtendedSourceContext",
616 "properties": { 968 "properties": {
969 "context": {
970 "$ref": "SourceContext",
971 "description": "Any source context."
972 },
617 "labels": { 973 "labels": {
618 "additionalProperties": { 974 "additionalProperties": {
619 "type": "string" 975 "type": "string"
620 }, 976 },
621 "description": "Labels with user defined metadata.", 977 "description": "Labels with user defined metadata.",
622 "type": "object" 978 "type": "object"
623 }, 979 }
624 "context": { 980 },
625 "$ref": "SourceContext", 981 "type": "object"
626 "description": "Any source context." 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"
627 } 993 }
628 }, 994 },
629 "type": "object" 995 "type": "object"
630 }, 996 },
631 "AliasContext": { 997 "AliasContext": {
632 "description": "An alias to a repo revision.", 998 "description": "An alias to a repo revision.",
633 "id": "AliasContext", 999 "id": "AliasContext",
634 "properties": { 1000 "properties": {
1001 "name": {
1002 "description": "The alias name.",
1003 "type": "string"
1004 },
635 "kind": { 1005 "kind": {
636 "description": "The alias kind.", 1006 "description": "The alias kind.",
637 "enum": [ 1007 "enum": [
638 "ANY", 1008 "ANY",
639 "FIXED", 1009 "FIXED",
640 "MOVABLE", 1010 "MOVABLE",
641 "OTHER" 1011 "OTHER"
642 ], 1012 ],
643 "enumDescriptions": [ 1013 "enumDescriptions": [
644 "Do not use.", 1014 "Do not use.",
645 "Git tag", 1015 "Git tag",
646 "Git branch", 1016 "Git branch",
647 "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." 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."
648 ], 1018 ],
649 "type": "string" 1019 "type": "string"
650 },
651 "name": {
652 "description": "The alias name.",
653 "type": "string"
654 }
655 },
656 "type": "object"
657 },
658 "ListDebuggeesResponse": {
659 "description": "Response for listing debuggees.",
660 "id": "ListDebuggeesResponse",
661 "properties": {
662 "debuggees": {
663 "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.",
664 "items": {
665 "$ref": "Debuggee"
666 },
667 "type": "array"
668 } 1020 }
669 }, 1021 },
670 "type": "object" 1022 "type": "object"
671 }, 1023 },
672 "Empty": { 1024 "Empty": {
673 "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 `{}`.", 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 `{}`.",
674 "id": "Empty", 1026 "id": "Empty",
675 "properties": {}, 1027 "properties": {},
676 "type": "object" 1028 "type": "object"
677 }, 1029 },
678 "SourceLocation": { 1030 "SourceLocation": {
679 "description": "Represents a location in the source code.", 1031 "description": "Represents a location in the source code.",
680 "id": "SourceLocation", 1032 "id": "SourceLocation",
681 "properties": { 1033 "properties": {
1034 "path": {
1035 "description": "Path to the source file within the source co ntext of the target binary.",
1036 "type": "string"
1037 },
682 "line": { 1038 "line": {
683 "description": "Line inside the file. The first line in the file has the value `1`.", 1039 "description": "Line inside the file. The first line in the file has the value `1`.",
684 "format": "int32", 1040 "format": "int32",
685 "type": "integer" 1041 "type": "integer"
686 }, 1042 }
687 "path": { 1043 },
688 "description": "Path to the source file within the source co ntext of the target binary.", 1044 "type": "object"
689 "type": "string"
690 }
691 },
692 "type": "object"
693 },
694 "Debuggee": {
695 "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.",
696 "id": "Debuggee",
697 "properties": {
698 "labels": {
699 "additionalProperties": {
700 "type": "string"
701 },
702 "description": "A set of custom debuggee properties, populat ed by the agent, to be\ndisplayed to the user.",
703 "type": "object"
704 },
705 "status": {
706 "$ref": "StatusMessage",
707 "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."
708 },
709 "isInactive": {
710 "description": "If set to `true`, indicates that the debugge e is considered as inactive by\nthe Controller service.",
711 "type": "boolean"
712 },
713 "project": {
714 "description": "Project the debuggee is associated with.\nUs e the project number when registering a Google Cloud Platform project.",
715 "type": "string"
716 },
717 "isDisabled": {
718 "description": "If set to `true`, indicates that the agent s hould disable itself and\ndetach from the debuggee.",
719 "type": "boolean"
720 },
721 "agentVersion": {
722 "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`).",
723 "type": "string"
724 },
725 "id": {
726 "description": "Unique identifier for the debuggee generated by the controller service.",
727 "type": "string"
728 },
729 "uniquifier": {
730 "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.",
731 "type": "string"
732 },
733 "description": {
734 "description": "Human readable description of the debuggee.\ nIncluding a human-readable project name, environment name and version\ninformat ion is recommended.",
735 "type": "string"
736 },
737 "sourceContexts": {
738 "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`.",
739 "items": {
740 "$ref": "SourceContext"
741 },
742 "type": "array"
743 },
744 "extSourceContexts": {
745 "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`.",
746 "items": {
747 "$ref": "ExtendedSourceContext"
748 },
749 "type": "array"
750 }
751 },
752 "type": "object"
753 },
754 "ListActiveBreakpointsResponse": {
755 "description": "Response for listing active breakpoints.",
756 "id": "ListActiveBreakpointsResponse",
757 "properties": {
758 "nextWaitToken": {
759 "description": "A wait token that can be used in the next me thod call to block until\nthe list of breakpoints changes.",
760 "type": "string"
761 },
762 "breakpoints": {
763 "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.",
764 "items": {
765 "$ref": "Breakpoint"
766 },
767 "type": "array"
768 },
769 "waitExpired": {
770 "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.",
771 "type": "boolean"
772 }
773 },
774 "type": "object"
775 },
776 "ProjectRepoId": {
777 "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.",
778 "id": "ProjectRepoId",
779 "properties": {
780 "projectId": {
781 "description": "The ID of the project.",
782 "type": "string"
783 },
784 "repoName": {
785 "description": "The name of the repo. Leave empty for the de fault repo.",
786 "type": "string"
787 }
788 },
789 "type": "object"
790 },
791 "CloudWorkspaceSourceContext": {
792 "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.",
793 "id": "CloudWorkspaceSourceContext",
794 "properties": {
795 "snapshotId": {
796 "description": "The ID of the snapshot.\nAn empty snapshot_i d refers to the most recent snapshot.",
797 "type": "string"
798 },
799 "workspaceId": {
800 "$ref": "CloudWorkspaceId",
801 "description": "The ID of the workspace."
802 }
803 },
804 "type": "object"
805 },
806 "UpdateActiveBreakpointResponse": {
807 "description": "Response for updating an active breakpoint.\nThe mes sage is defined to allow future extensions.",
808 "id": "UpdateActiveBreakpointResponse",
809 "properties": {},
810 "type": "object"
811 },
812 "GerritSourceContext": {
813 "description": "A SourceContext referring to a Gerrit project.",
814 "id": "GerritSourceContext",
815 "properties": {
816 "hostUri": {
817 "description": "The URI of a running Gerrit instance.",
818 "type": "string"
819 },
820 "revisionId": {
821 "description": "A revision (commit) ID.",
822 "type": "string"
823 },
824 "aliasName": {
825 "description": "The name of an alias (branch, tag, etc.).",
826 "type": "string"
827 },
828 "gerritProject": {
829 "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.",
830 "type": "string"
831 },
832 "aliasContext": {
833 "$ref": "AliasContext",
834 "description": "An alias, which may be a branch or tag."
835 }
836 },
837 "type": "object"
838 },
839 "CloudWorkspaceId": {
840 "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.",
841 "id": "CloudWorkspaceId",
842 "properties": {
843 "repoId": {
844 "$ref": "RepoId",
845 "description": "The ID of the repo containing the workspace. "
846 },
847 "name": {
848 "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.",
849 "type": "string"
850 }
851 },
852 "type": "object"
853 },
854 "ListBreakpointsResponse": {
855 "description": "Response for listing breakpoints.",
856 "id": "ListBreakpointsResponse",
857 "properties": {
858 "nextWaitToken": {
859 "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.",
860 "type": "string"
861 },
862 "breakpoints": {
863 "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.",
864 "items": {
865 "$ref": "Breakpoint"
866 },
867 "type": "array"
868 }
869 },
870 "type": "object"
871 },
872 "Breakpoint": {
873 "description": "Represents the breakpoint specification, status and results.",
874 "id": "Breakpoint",
875 "properties": {
876 "location": {
877 "$ref": "SourceLocation",
878 "description": "Breakpoint source location."
879 },
880 "finalTime": {
881 "description": "Time this breakpoint was finalized as seen b y the server in seconds\nresolution.",
882 "format": "google-datetime",
883 "type": "string"
884 },
885 "variableTable": {
886 "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 "items": {
888 "$ref": "Variable"
889 },
890 "type": "array"
891 },
892 "createTime": {
893 "description": "Time this breakpoint was created by the serv er in seconds resolution.",
894 "format": "google-datetime",
895 "type": "string"
896 },
897 "logMessageFormat": {
898 "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 ]`.",
899 "type": "string"
900 },
901 "labels": {
902 "additionalProperties": {
903 "type": "string"
904 },
905 "description": "A set of custom breakpoint properties, popul ated by the agent, to be\ndisplayed to the user.",
906 "type": "object"
907 },
908 "expressions": {
909 "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 "items": {
911 "type": "string"
912 },
913 "type": "array"
914 },
915 "evaluatedExpressions": {
916 "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.",
917 "items": {
918 "$ref": "Variable"
919 },
920 "type": "array"
921 },
922 "isFinalState": {
923 "description": "When true, indicates that this is a final re sult and the\nbreakpoint state will not change from here on.",
924 "type": "boolean"
925 },
926 "stackFrames": {
927 "description": "The stack at breakpoint time.",
928 "items": {
929 "$ref": "StackFrame"
930 },
931 "type": "array"
932 },
933 "condition": {
934 "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.",
935 "type": "string"
936 },
937 "status": {
938 "$ref": "StatusMessage",
939 "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"
940 },
941 "userEmail": {
942 "description": "E-mail address of the user that created this breakpoint",
943 "type": "string"
944 },
945 "action": {
946 "description": "Action that the agent should perform when th e code at the\nbreakpoint location is hit.",
947 "enum": [
948 "CAPTURE",
949 "LOG"
950 ],
951 "enumDescriptions": [
952 "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.",
953 "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired."
954 ],
955 "type": "string"
956 },
957 "logLevel": {
958 "description": "Indicates the severity of the log. Only rele vant when action is `LOG`.",
959 "enum": [
960 "INFO",
961 "WARNING",
962 "ERROR"
963 ],
964 "enumDescriptions": [
965 "Information log message.",
966 "Warning log message.",
967 "Error log message."
968 ],
969 "type": "string"
970 },
971 "id": {
972 "description": "Breakpoint identifier, unique in the scope o f the debuggee.",
973 "type": "string"
974 }
975 },
976 "type": "object"
977 },
978 "SetBreakpointResponse": {
979 "description": "Response for setting a breakpoint.",
980 "id": "SetBreakpointResponse",
981 "properties": {
982 "breakpoint": {
983 "$ref": "Breakpoint",
984 "description": "Breakpoint resource.\nThe field `id` is guar anteed to be set (in addition to the echoed fileds)."
985 }
986 },
987 "type": "object"
988 },
989 "UpdateActiveBreakpointRequest": {
990 "description": "Request to update an active breakpoint.",
991 "id": "UpdateActiveBreakpointRequest",
992 "properties": {
993 "breakpoint": {
994 "$ref": "Breakpoint",
995 "description": "Updated breakpoint information.\nThe field ' id' must be set."
996 }
997 },
998 "type": "object"
999 },
1000 "SourceContext": {
1001 "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.",
1002 "id": "SourceContext",
1003 "properties": {
1004 "gerrit": {
1005 "$ref": "GerritSourceContext",
1006 "description": "A SourceContext referring to a Gerrit projec t."
1007 },
1008 "cloudRepo": {
1009 "$ref": "CloudRepoSourceContext",
1010 "description": "A SourceContext referring to a revision in a cloud repo."
1011 },
1012 "cloudWorkspace": {
1013 "$ref": "CloudWorkspaceSourceContext",
1014 "description": "A SourceContext referring to a snapshot in a cloud workspace."
1015 },
1016 "git": {
1017 "$ref": "GitSourceContext",
1018 "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)."
1019 }
1020 },
1021 "type": "object"
1022 },
1023 "CloudRepoSourceContext": {
1024 "description": "A CloudRepoSourceContext denotes a particular revisi on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).",
1025 "id": "CloudRepoSourceContext",
1026 "properties": {
1027 "repoId": {
1028 "$ref": "RepoId",
1029 "description": "The ID of the repo."
1030 },
1031 "aliasContext": {
1032 "$ref": "AliasContext",
1033 "description": "An alias, which may be a branch or tag."
1034 },
1035 "revisionId": {
1036 "description": "A revision ID.",
1037 "type": "string"
1038 },
1039 "aliasName": {
1040 "description": "The name of an alias (branch, tag, etc.).",
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