OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud_debugger": { |
| 6 "description": "Manage cloud debugger" |
| 7 }, |
5 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | |
8 "https://www.googleapis.com/auth/cloud_debugger": { | |
9 "description": "Manage cloud debugger" | |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "", | 14 "basePath": "", |
15 "baseUrl": "https://clouddebugger.googleapis.com/", | 15 "baseUrl": "https://clouddebugger.googleapis.com/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Cloud Debugger", | 17 "canonicalName": "Cloud Debugger", |
18 "description": "Examines the call stack and variables of a running applicati
on without stopping or slowing it down.\n", | 18 "description": "Examines the call stack and variables of a running applicati
on without stopping or slowing it down.\n", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "http://cloud.google.com/debugger", | 20 "documentationLink": "http://cloud.google.com/debugger", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "clouddebugger:v2", | 25 "id": "clouddebugger:v2", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "clouddebugger", | 27 "name": "clouddebugger", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
31 "key": { | |
32 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
33 "location": "query", | |
34 "type": "string" | |
35 }, | |
36 "access_token": { | |
37 "description": "OAuth access token.", | |
38 "location": "query", | |
39 "type": "string" | |
40 }, | |
41 "quotaUser": { | |
42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
43 "location": "query", | |
44 "type": "string" | |
45 }, | |
46 "pp": { | |
47 "default": "true", | |
48 "description": "Pretty-print response.", | |
49 "location": "query", | |
50 "type": "boolean" | |
51 }, | |
52 "oauth_token": { | |
53 "description": "OAuth 2.0 token for the current user.", | |
54 "location": "query", | |
55 "type": "string" | |
56 }, | |
57 "bearer_token": { | |
58 "description": "OAuth bearer token.", | |
59 "location": "query", | |
60 "type": "string" | |
61 }, | |
62 "upload_protocol": { | 31 "upload_protocol": { |
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
64 "location": "query", | 33 "location": "query", |
65 "type": "string" | 34 "type": "string" |
66 }, | 35 }, |
67 "prettyPrint": { | 36 "prettyPrint": { |
68 "default": "true", | 37 "default": "true", |
69 "description": "Returns response with indentations and line breaks."
, | 38 "description": "Returns response with indentations and line breaks."
, |
70 "location": "query", | 39 "location": "query", |
71 "type": "boolean" | 40 "type": "boolean" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "media", | 75 "media", |
107 "proto" | 76 "proto" |
108 ], | 77 ], |
109 "enumDescriptions": [ | 78 "enumDescriptions": [ |
110 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
111 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
112 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
113 ], | 82 ], |
114 "location": "query", | 83 "location": "query", |
115 "type": "string" | 84 "type": "string" |
| 85 }, |
| 86 "access_token": { |
| 87 "description": "OAuth access token.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 91 "key": { |
| 92 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 }, |
| 96 "quotaUser": { |
| 97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
| 101 "pp": { |
| 102 "default": "true", |
| 103 "description": "Pretty-print response.", |
| 104 "location": "query", |
| 105 "type": "boolean" |
| 106 }, |
| 107 "oauth_token": { |
| 108 "description": "OAuth 2.0 token for the current user.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "bearer_token": { |
| 113 "description": "OAuth bearer token.", |
| 114 "location": "query", |
| 115 "type": "string" |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "controller": { | 120 "debugger": { |
121 "resources": { | 121 "resources": { |
122 "debuggees": { | 122 "debuggees": { |
123 "methods": { | 123 "methods": { |
124 "register": { | 124 "list": { |
125 "description": "Registers the debuggee with the cont
roller service.\n\nAll agents attached to the same application should call this
method with\nthe same request content to get back the same stable `debuggee_id`.
Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\n
returned from any controller method.\n\nThis allows the controller service to di
sable the agent or recover from any\ndata loss. If the debuggee is disabled by t
he server, the response will\nhave `is_disabled` set to `true`.", | 125 "description": "Lists all the debuggees that the use
r can set breakpoints to.", |
126 "httpMethod": "POST", | 126 "httpMethod": "GET", |
127 "id": "clouddebugger.controller.debuggees.register", | 127 "id": "clouddebugger.debugger.debuggees.list", |
128 "parameterOrder": [], | 128 "parameterOrder": [], |
129 "parameters": {}, | 129 "parameters": { |
130 "path": "v2/controller/debuggees/register", | 130 "includeInactive": { |
131 "request": { | 131 "description": "When set to `true`, the resu
lt includes all debuggees. Otherwise, the\nresult includes only debuggees that a
re active.", |
132 "$ref": "RegisterDebuggeeRequest" | 132 "location": "query", |
| 133 "type": "boolean" |
| 134 }, |
| 135 "project": { |
| 136 "description": "Project number of a Google C
loud project whose debuggees to list.", |
| 137 "location": "query", |
| 138 "type": "string" |
| 139 }, |
| 140 "clientVersion": { |
| 141 "description": "The client version making th
e call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
| 142 "location": "query", |
| 143 "type": "string" |
| 144 } |
133 }, | 145 }, |
| 146 "path": "v2/debugger/debuggees", |
134 "response": { | 147 "response": { |
135 "$ref": "RegisterDebuggeeResponse" | 148 "$ref": "ListDebuggeesResponse" |
136 }, | 149 }, |
137 "scopes": [ | 150 "scopes": [ |
138 "https://www.googleapis.com/auth/cloud-platform"
, | 151 "https://www.googleapis.com/auth/cloud-platform"
, |
139 "https://www.googleapis.com/auth/cloud_debugger" | 152 "https://www.googleapis.com/auth/cloud_debugger" |
140 ] | 153 ] |
141 } | 154 } |
142 }, | 155 }, |
143 "resources": { | 156 "resources": { |
144 "breakpoints": { | 157 "breakpoints": { |
145 "methods": { | 158 "methods": { |
146 "list": { | 159 "set": { |
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.", | 160 "description": "Sets the breakpoint to the d
ebuggee.", |
148 "httpMethod": "GET", | 161 "httpMethod": "POST", |
149 "id": "clouddebugger.controller.debuggees.br
eakpoints.list", | 162 "id": "clouddebugger.debugger.debuggees.brea
kpoints.set", |
150 "parameterOrder": [ | 163 "parameterOrder": [ |
151 "debuggeeId" | 164 "debuggeeId" |
152 ], | 165 ], |
153 "parameters": { | 166 "parameters": { |
154 "waitToken": { | |
155 "description": "A wait token that, i
f specified, blocks the method call until the list\nof active breakpoints has ch
anged, or a server selected timeout has\nexpired. The value should be set from
the last returned response.", | |
156 "location": "query", | |
157 "type": "string" | |
158 }, | |
159 "debuggeeId": { | 167 "debuggeeId": { |
160 "description": "Identifies the debug
gee.", | 168 "description": "ID of the debuggee w
here the breakpoint is to be set.", |
161 "location": "path", | 169 "location": "path", |
162 "required": true, | 170 "required": true, |
163 "type": "string" | 171 "type": "string" |
164 }, | 172 }, |
165 "successOnTimeout": { | 173 "clientVersion": { |
166 "description": "If set to `true`, re
turns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to
`true` when the server-selected timeout\nhas expired (recommended).\n\nIf set t
o `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected ti
meout has expired (deprecated).", | 174 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", |
167 "location": "query", | 175 "location": "query", |
168 "type": "boolean" | 176 "type": "string" |
169 } | 177 } |
170 }, | 178 }, |
171 "path": "v2/controller/debuggees/{debuggeeId
}/breakpoints", | 179 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/set", |
| 180 "request": { |
| 181 "$ref": "Breakpoint" |
| 182 }, |
172 "response": { | 183 "response": { |
173 "$ref": "ListActiveBreakpointsResponse" | 184 "$ref": "SetBreakpointResponse" |
174 }, | 185 }, |
175 "scopes": [ | 186 "scopes": [ |
176 "https://www.googleapis.com/auth/cloud-p
latform", | 187 "https://www.googleapis.com/auth/cloud-p
latform", |
177 "https://www.googleapis.com/auth/cloud_d
ebugger" | 188 "https://www.googleapis.com/auth/cloud_d
ebugger" |
178 ] | 189 ] |
179 }, | 190 }, |
180 "update": { | 191 "delete": { |
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.", | 192 "description": "Deletes the breakpoint from
the debuggee.", |
182 "httpMethod": "PUT", | 193 "httpMethod": "DELETE", |
183 "id": "clouddebugger.controller.debuggees.br
eakpoints.update", | 194 "id": "clouddebugger.debugger.debuggees.brea
kpoints.delete", |
184 "parameterOrder": [ | 195 "parameterOrder": [ |
185 "debuggeeId", | 196 "debuggeeId", |
186 "id" | 197 "breakpointId" |
187 ], | 198 ], |
188 "parameters": { | 199 "parameters": { |
189 "debuggeeId": { | 200 "clientVersion": { |
190 "description": "Identifies the debug
gee being debugged.", | 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": { |
| 206 "description": "ID of the breakpoint
to delete.", |
191 "location": "path", | 207 "location": "path", |
192 "required": true, | 208 "required": true, |
193 "type": "string" | 209 "type": "string" |
194 }, | 210 }, |
195 "id": { | 211 "debuggeeId": { |
196 "description": "Breakpoint identifie
r, unique in the scope of the debuggee.", | 212 "description": "ID of the debuggee w
hose breakpoint to delete.", |
197 "location": "path", | 213 "location": "path", |
198 "required": true, | 214 "required": true, |
199 "type": "string" | 215 "type": "string" |
200 } | 216 } |
201 }, | 217 }, |
202 "path": "v2/controller/debuggees/{debuggeeId
}/breakpoints/{id}", | 218 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", |
203 "request": { | |
204 "$ref": "UpdateActiveBreakpointRequest" | |
205 }, | |
206 "response": { | 219 "response": { |
207 "$ref": "UpdateActiveBreakpointResponse" | 220 "$ref": "Empty" |
208 }, | 221 }, |
209 "scopes": [ | 222 "scopes": [ |
210 "https://www.googleapis.com/auth/cloud-p
latform", | 223 "https://www.googleapis.com/auth/cloud-p
latform", |
211 "https://www.googleapis.com/auth/cloud_d
ebugger" | 224 "https://www.googleapis.com/auth/cloud_d
ebugger" |
212 ] | 225 ] |
213 } | |
214 } | |
215 } | |
216 } | |
217 } | |
218 } | |
219 }, | |
220 "debugger": { | |
221 "resources": { | |
222 "debuggees": { | |
223 "methods": { | |
224 "list": { | |
225 "description": "Lists all the debuggees that the use
r can set breakpoints to.", | |
226 "httpMethod": "GET", | |
227 "id": "clouddebugger.debugger.debuggees.list", | |
228 "parameterOrder": [], | |
229 "parameters": { | |
230 "clientVersion": { | |
231 "description": "The client version making th
e call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", | |
232 "location": "query", | |
233 "type": "string" | |
234 }, | 226 }, |
235 "includeInactive": { | |
236 "description": "When set to `true`, the resu
lt includes all debuggees. Otherwise, the\nresult includes only debuggees that a
re active.", | |
237 "location": "query", | |
238 "type": "boolean" | |
239 }, | |
240 "project": { | |
241 "description": "Project number of a Google C
loud project whose debuggees to list.", | |
242 "location": "query", | |
243 "type": "string" | |
244 } | |
245 }, | |
246 "path": "v2/debugger/debuggees", | |
247 "response": { | |
248 "$ref": "ListDebuggeesResponse" | |
249 }, | |
250 "scopes": [ | |
251 "https://www.googleapis.com/auth/cloud-platform"
, | |
252 "https://www.googleapis.com/auth/cloud_debugger" | |
253 ] | |
254 } | |
255 }, | |
256 "resources": { | |
257 "breakpoints": { | |
258 "methods": { | |
259 "get": { | 227 "get": { |
260 "description": "Gets breakpoint information.
", | 228 "description": "Gets breakpoint information.
", |
261 "httpMethod": "GET", | 229 "httpMethod": "GET", |
262 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", | 230 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", |
263 "parameterOrder": [ | 231 "parameterOrder": [ |
264 "debuggeeId", | 232 "debuggeeId", |
265 "breakpointId" | 233 "breakpointId" |
266 ], | 234 ], |
267 "parameters": { | 235 "parameters": { |
268 "breakpointId": { | 236 "breakpointId": { |
(...skipping 24 matching lines...) Expand all Loading... |
293 ] | 261 ] |
294 }, | 262 }, |
295 "list": { | 263 "list": { |
296 "description": "Lists all breakpoints for th
e debuggee.", | 264 "description": "Lists all breakpoints for th
e debuggee.", |
297 "httpMethod": "GET", | 265 "httpMethod": "GET", |
298 "id": "clouddebugger.debugger.debuggees.brea
kpoints.list", | 266 "id": "clouddebugger.debugger.debuggees.brea
kpoints.list", |
299 "parameterOrder": [ | 267 "parameterOrder": [ |
300 "debuggeeId" | 268 "debuggeeId" |
301 ], | 269 ], |
302 "parameters": { | 270 "parameters": { |
| 271 "includeAllUsers": { |
| 272 "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.", |
| 273 "location": "query", |
| 274 "type": "boolean" |
| 275 }, |
| 276 "includeInactive": { |
| 277 "description": "When set to `true`,
the response includes active and inactive\nbreakpoints. Otherwise, it includes o
nly active breakpoints.", |
| 278 "location": "query", |
| 279 "type": "boolean" |
| 280 }, |
| 281 "stripResults": { |
| 282 "description": "This field is deprec
ated. The following fields are always stripped out of\nthe result: `stack_frames
`, `evaluated_expressions` and `variable_table`.", |
| 283 "location": "query", |
| 284 "type": "boolean" |
| 285 }, |
303 "debuggeeId": { | 286 "debuggeeId": { |
304 "description": "ID of the debuggee w
hose breakpoints to list.", | 287 "description": "ID of the debuggee w
hose breakpoints to list.", |
305 "location": "path", | 288 "location": "path", |
306 "required": true, | 289 "required": true, |
307 "type": "string" | 290 "type": "string" |
308 }, | 291 }, |
309 "waitToken": { | 292 "waitToken": { |
310 "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`.", | 293 "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`.", |
311 "location": "query", | 294 "location": "query", |
312 "type": "string" | 295 "type": "string" |
313 }, | 296 }, |
314 "clientVersion": { | |
315 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", | |
316 "location": "query", | |
317 "type": "string" | |
318 }, | |
319 "action.value": { | 297 "action.value": { |
320 "description": "Only breakpoints wit
h the specified action will pass the filter.", | 298 "description": "Only breakpoints wit
h the specified action will pass the filter.", |
321 "enum": [ | 299 "enum": [ |
322 "CAPTURE", | 300 "CAPTURE", |
323 "LOG" | 301 "LOG" |
324 ], | 302 ], |
325 "location": "query", | 303 "location": "query", |
326 "type": "string" | 304 "type": "string" |
327 }, | 305 }, |
328 "includeInactive": { | 306 "clientVersion": { |
329 "description": "When set to `true`,
the response includes active and inactive\nbreakpoints. Otherwise, it includes o
nly active breakpoints.", | 307 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", |
330 "location": "query", | 308 "location": "query", |
331 "type": "boolean" | 309 "type": "string" |
332 }, | |
333 "includeAllUsers": { | |
334 "description": "When set to `true`,
the response includes the list of breakpoints set by\nany user. Otherwise, it in
cludes only breakpoints set by the caller.", | |
335 "location": "query", | |
336 "type": "boolean" | |
337 }, | |
338 "stripResults": { | |
339 "description": "This field is deprec
ated. The following fields are always stripped out of\nthe result: `stack_frames
`, `evaluated_expressions` and `variable_table`.", | |
340 "location": "query", | |
341 "type": "boolean" | |
342 } | 310 } |
343 }, | 311 }, |
344 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints", | 312 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints", |
345 "response": { | 313 "response": { |
346 "$ref": "ListBreakpointsResponse" | 314 "$ref": "ListBreakpointsResponse" |
347 }, | 315 }, |
348 "scopes": [ | 316 "scopes": [ |
349 "https://www.googleapis.com/auth/cloud-p
latform", | 317 "https://www.googleapis.com/auth/cloud-p
latform", |
350 "https://www.googleapis.com/auth/cloud_d
ebugger" | 318 "https://www.googleapis.com/auth/cloud_d
ebugger" |
351 ] | 319 ] |
352 }, | 320 } |
353 "set": { | 321 } |
354 "description": "Sets the breakpoint to the d
ebuggee.", | 322 } |
355 "httpMethod": "POST", | 323 } |
356 "id": "clouddebugger.debugger.debuggees.brea
kpoints.set", | 324 } |
| 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": [ | 357 "parameterOrder": [ |
358 "debuggeeId" | 358 "debuggeeId" |
359 ], | 359 ], |
360 "parameters": { | 360 "parameters": { |
361 "debuggeeId": { | 361 "debuggeeId": { |
362 "description": "ID of the debuggee w
here the breakpoint is to be set.", | 362 "description": "Identifies the debug
gee.", |
363 "location": "path", | 363 "location": "path", |
364 "required": true, | 364 "required": true, |
365 "type": "string" | 365 "type": "string" |
366 }, | 366 }, |
367 "clientVersion": { | 367 "successOnTimeout": { |
368 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", | 368 "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).", |
| 369 "location": "query", |
| 370 "type": "boolean" |
| 371 }, |
| 372 "waitToken": { |
| 373 "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.", |
369 "location": "query", | 374 "location": "query", |
370 "type": "string" | 375 "type": "string" |
371 } | 376 } |
372 }, | 377 }, |
373 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/set", | 378 "path": "v2/controller/debuggees/{debuggeeId
}/breakpoints", |
374 "request": { | |
375 "$ref": "Breakpoint" | |
376 }, | |
377 "response": { | 379 "response": { |
378 "$ref": "SetBreakpointResponse" | 380 "$ref": "ListActiveBreakpointsResponse" |
379 }, | 381 }, |
380 "scopes": [ | 382 "scopes": [ |
381 "https://www.googleapis.com/auth/cloud-p
latform", | 383 "https://www.googleapis.com/auth/cloud-p
latform", |
382 "https://www.googleapis.com/auth/cloud_d
ebugger" | 384 "https://www.googleapis.com/auth/cloud_d
ebugger" |
383 ] | 385 ] |
384 }, | 386 }, |
385 "delete": { | 387 "update": { |
386 "description": "Deletes the breakpoint from
the debuggee.", | 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.", |
387 "httpMethod": "DELETE", | 389 "httpMethod": "PUT", |
388 "id": "clouddebugger.debugger.debuggees.brea
kpoints.delete", | 390 "id": "clouddebugger.controller.debuggees.br
eakpoints.update", |
389 "parameterOrder": [ | 391 "parameterOrder": [ |
390 "debuggeeId", | 392 "debuggeeId", |
391 "breakpointId" | 393 "id" |
392 ], | 394 ], |
393 "parameters": { | 395 "parameters": { |
394 "clientVersion": { | 396 "id": { |
395 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", | 397 "description": "Breakpoint identifie
r, unique in the scope of the debuggee.", |
396 "location": "query", | |
397 "type": "string" | |
398 }, | |
399 "breakpointId": { | |
400 "description": "ID of the breakpoint
to delete.", | |
401 "location": "path", | 398 "location": "path", |
402 "required": true, | 399 "required": true, |
403 "type": "string" | 400 "type": "string" |
404 }, | 401 }, |
405 "debuggeeId": { | 402 "debuggeeId": { |
406 "description": "ID of the debuggee w
hose breakpoint to delete.", | 403 "description": "Identifies the debug
gee being debugged.", |
407 "location": "path", | 404 "location": "path", |
408 "required": true, | 405 "required": true, |
409 "type": "string" | 406 "type": "string" |
410 } | 407 } |
411 }, | 408 }, |
412 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", | 409 "path": "v2/controller/debuggees/{debuggeeId
}/breakpoints/{id}", |
| 410 "request": { |
| 411 "$ref": "UpdateActiveBreakpointRequest" |
| 412 }, |
413 "response": { | 413 "response": { |
414 "$ref": "Empty" | 414 "$ref": "UpdateActiveBreakpointResponse" |
415 }, | 415 }, |
416 "scopes": [ | 416 "scopes": [ |
417 "https://www.googleapis.com/auth/cloud-p
latform", | 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": "20170322", | 428 "revision": "20170413", |
429 "rootUrl": "https://clouddebugger.googleapis.com/", | 429 "rootUrl": "https://clouddebugger.googleapis.com/", |
430 "schemas": { | 430 "schemas": { |
431 "StatusMessage": { | |
432 "description": "Represents a contextual status message.\nThe message
can indicate an error or informational status, and refer to\nspecific parts of
the containing object.\nFor example, the `Breakpoint.status` field can indicate
an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Locati
on not found`.", | |
433 "id": "StatusMessage", | |
434 "properties": { | |
435 "isError": { | |
436 "description": "Distinguishes errors from informational mess
ages.", | |
437 "type": "boolean" | |
438 }, | |
439 "description": { | |
440 "$ref": "FormatMessage", | |
441 "description": "Status message text." | |
442 }, | |
443 "refersTo": { | |
444 "description": "Reference to which the message applies.", | |
445 "enum": [ | |
446 "UNSPECIFIED", | |
447 "BREAKPOINT_SOURCE_LOCATION", | |
448 "BREAKPOINT_CONDITION", | |
449 "BREAKPOINT_EXPRESSION", | |
450 "BREAKPOINT_AGE", | |
451 "VARIABLE_NAME", | |
452 "VARIABLE_VALUE" | |
453 ], | |
454 "enumDescriptions": [ | |
455 "Status doesn't refer to any particular input.", | |
456 "Status applies to the breakpoint and is related to its
location.", | |
457 "Status applies to the breakpoint and is related to its
condition.", | |
458 "Status applies to the breakpoint and is related to its
expressions.", | |
459 "Status applies to the breakpoint and is related to its
age.", | |
460 "Status applies to the entire variable.", | |
461 "Status applies to variable value (variable name is vali
d)." | |
462 ], | |
463 "type": "string" | |
464 } | |
465 }, | |
466 "type": "object" | |
467 }, | |
468 "GitSourceContext": { | |
469 "description": "A GitSourceContext denotes a particular revision in
a third party Git\nrepository (e.g. GitHub).", | |
470 "id": "GitSourceContext", | |
471 "properties": { | |
472 "revisionId": { | |
473 "description": "Git commit hash.\nrequired.", | |
474 "type": "string" | |
475 }, | |
476 "url": { | |
477 "description": "Git repository URL.", | |
478 "type": "string" | |
479 } | |
480 }, | |
481 "type": "object" | |
482 }, | |
483 "Variable": { | 431 "Variable": { |
484 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", | 432 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", |
485 "id": "Variable", | 433 "id": "Variable", |
486 "properties": { | 434 "properties": { |
487 "members": { | 435 "members": { |
488 "description": "Members contained or pointed to by the varia
ble.", | 436 "description": "Members contained or pointed to by the varia
ble.", |
489 "items": { | 437 "items": { |
490 "$ref": "Variable" | 438 "$ref": "Variable" |
491 }, | 439 }, |
492 "type": "array" | 440 "type": "array" |
493 }, | 441 }, |
494 "status": { | 442 "status": { |
495 "$ref": "StatusMessage", | 443 "$ref": "StatusMessage", |
496 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" | 444 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" |
497 }, | 445 }, |
498 "name": { | 446 "name": { |
499 "description": "Name of the variable, if any.", | 447 "description": "Name of the variable, if any.", |
500 "type": "string" | 448 "type": "string" |
501 }, | 449 }, |
502 "type": { | 450 "type": { |
503 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", | 451 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", |
504 "type": "string" | 452 "type": "string" |
505 }, | 453 }, |
506 "value": { | |
507 "description": "Simple value of the variable.", | |
508 "type": "string" | |
509 }, | |
510 "varTableIndex": { | 454 "varTableIndex": { |
511 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", | 455 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", |
512 "format": "int32", | 456 "format": "int32", |
513 "type": "integer" | 457 "type": "integer" |
| 458 }, |
| 459 "value": { |
| 460 "description": "Simple value of the variable.", |
| 461 "type": "string" |
514 } | 462 } |
515 }, | 463 }, |
516 "type": "object" | 464 "type": "object" |
517 }, | 465 }, |
518 "StackFrame": { | 466 "StackFrame": { |
519 "description": "Represents a stack frame context.", | 467 "description": "Represents a stack frame context.", |
520 "id": "StackFrame", | 468 "id": "StackFrame", |
521 "properties": { | 469 "properties": { |
522 "arguments": { | 470 "arguments": { |
523 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", | 471 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 "format": "int32", | 603 "format": "int32", |
656 "type": "integer" | 604 "type": "integer" |
657 } | 605 } |
658 }, | 606 }, |
659 "type": "object" | 607 "type": "object" |
660 }, | 608 }, |
661 "Debuggee": { | 609 "Debuggee": { |
662 "description": "Represents the application to debug. The application
may include one or more\nreplicated processes executing the same code. Each of
these processes is\nattached with a debugger agent, carrying out the debugging c
ommands.\nThe agents attached to the same debuggee are identified by using exact
ly the\nsame field values when registering.", | 610 "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.", |
663 "id": "Debuggee", | 611 "id": "Debuggee", |
664 "properties": { | 612 "properties": { |
| 613 "project": { |
| 614 "description": "Project the debuggee is associated with.\nUs
e the project number when registering a Google Cloud Platform project.", |
| 615 "type": "string" |
| 616 }, |
| 617 "isDisabled": { |
| 618 "description": "If set to `true`, indicates that the agent s
hould disable itself and\ndetach from the debuggee.", |
| 619 "type": "boolean" |
| 620 }, |
| 621 "agentVersion": { |
| 622 "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`).", |
| 623 "type": "string" |
| 624 }, |
| 625 "id": { |
| 626 "description": "Unique identifier for the debuggee generated
by the controller service.", |
| 627 "type": "string" |
| 628 }, |
665 "uniquifier": { | 629 "uniquifier": { |
666 "description": "Debuggee uniquifier within the project.\nAny
string that identifies the application within the project can be used.\nIncludi
ng environment and version or build IDs is recommended.", | 630 "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.", |
667 "type": "string" | 631 "type": "string" |
668 }, | 632 }, |
669 "description": { | 633 "description": { |
670 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", | 634 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", |
671 "type": "string" | 635 "type": "string" |
672 }, | 636 }, |
673 "sourceContexts": { | 637 "sourceContexts": { |
674 "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`.", | 638 "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`.", |
(...skipping 16 matching lines...) Expand all Loading... |
691 "description": "A set of custom debuggee properties, populat
ed by the agent, to be\ndisplayed to the user.", | 655 "description": "A set of custom debuggee properties, populat
ed by the agent, to be\ndisplayed to the user.", |
692 "type": "object" | 656 "type": "object" |
693 }, | 657 }, |
694 "status": { | 658 "status": { |
695 "$ref": "StatusMessage", | 659 "$ref": "StatusMessage", |
696 "description": "Human readable message to be displayed to th
e user about this debuggee.\nAbsence of this field indicates no status. The mess
age can be either\ninformational or an error status." | 660 "description": "Human readable message to be displayed to th
e user about this debuggee.\nAbsence of this field indicates no status. The mess
age can be either\ninformational or an error status." |
697 }, | 661 }, |
698 "isInactive": { | 662 "isInactive": { |
699 "description": "If set to `true`, indicates that the debugge
e is considered as inactive by\nthe Controller service.", | 663 "description": "If set to `true`, indicates that the debugge
e is considered as inactive by\nthe Controller service.", |
700 "type": "boolean" | 664 "type": "boolean" |
701 }, | |
702 "project": { | |
703 "description": "Project the debuggee is associated with.\nUs
e the project number when registering a Google Cloud Platform project.", | |
704 "type": "string" | |
705 }, | |
706 "id": { | |
707 "description": "Unique identifier for the debuggee generated
by the controller service.", | |
708 "type": "string" | |
709 }, | |
710 "agentVersion": { | |
711 "description": "Version ID of the agent release. The version
ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`googl
e.com/gcp-java/v1.1`).", | |
712 "type": "string" | |
713 }, | |
714 "isDisabled": { | |
715 "description": "If set to `true`, indicates that the agent s
hould disable itself and\ndetach from the debuggee.", | |
716 "type": "boolean" | |
717 } | 665 } |
718 }, | 666 }, |
719 "type": "object" | 667 "type": "object" |
720 }, | 668 }, |
721 "ProjectRepoId": { | 669 "ProjectRepoId": { |
722 "description": "Selects a repo using a Google Cloud Platform project
ID\n(e.g. winged-cargo-31) and a repo name within that project.", | 670 "description": "Selects a repo using a Google Cloud Platform project
ID\n(e.g. winged-cargo-31) and a repo name within that project.", |
723 "id": "ProjectRepoId", | 671 "id": "ProjectRepoId", |
724 "properties": { | 672 "properties": { |
725 "projectId": { | 673 "projectId": { |
726 "description": "The ID of the project.", | 674 "description": "The ID of the project.", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", | 711 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", |
764 "type": "string" | 712 "type": "string" |
765 }, | 713 }, |
766 "workspaceId": { | 714 "workspaceId": { |
767 "$ref": "CloudWorkspaceId", | 715 "$ref": "CloudWorkspaceId", |
768 "description": "The ID of the workspace." | 716 "description": "The ID of the workspace." |
769 } | 717 } |
770 }, | 718 }, |
771 "type": "object" | 719 "type": "object" |
772 }, | 720 }, |
773 "UpdateActiveBreakpointResponse": { | |
774 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", | |
775 "id": "UpdateActiveBreakpointResponse", | |
776 "properties": {}, | |
777 "type": "object" | |
778 }, | |
779 "GerritSourceContext": { | 721 "GerritSourceContext": { |
780 "description": "A SourceContext referring to a Gerrit project.", | 722 "description": "A SourceContext referring to a Gerrit project.", |
781 "id": "GerritSourceContext", | 723 "id": "GerritSourceContext", |
782 "properties": { | 724 "properties": { |
783 "aliasName": { | |
784 "description": "The name of an alias (branch, tag, etc.).", | |
785 "type": "string" | |
786 }, | |
787 "gerritProject": { | 725 "gerritProject": { |
788 "description": "The full project name within the host. Proje
cts may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"re
po name\" is hostURI/project.", | 726 "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.", |
789 "type": "string" | 727 "type": "string" |
790 }, | 728 }, |
791 "aliasContext": { | 729 "aliasContext": { |
792 "$ref": "AliasContext", | 730 "$ref": "AliasContext", |
793 "description": "An alias, which may be a branch or tag." | 731 "description": "An alias, which may be a branch or tag." |
794 }, | 732 }, |
795 "hostUri": { | 733 "hostUri": { |
796 "description": "The URI of a running Gerrit instance.", | 734 "description": "The URI of a running Gerrit instance.", |
797 "type": "string" | 735 "type": "string" |
798 }, | 736 }, |
799 "revisionId": { | 737 "revisionId": { |
800 "description": "A revision (commit) ID.", | 738 "description": "A revision (commit) ID.", |
801 "type": "string" | 739 "type": "string" |
| 740 }, |
| 741 "aliasName": { |
| 742 "description": "The name of an alias (branch, tag, etc.).", |
| 743 "type": "string" |
802 } | 744 } |
803 }, | 745 }, |
804 "type": "object" | 746 "type": "object" |
805 }, | 747 }, |
| 748 "UpdateActiveBreakpointResponse": { |
| 749 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", |
| 750 "id": "UpdateActiveBreakpointResponse", |
| 751 "properties": {}, |
| 752 "type": "object" |
| 753 }, |
806 "CloudWorkspaceId": { | 754 "CloudWorkspaceId": { |
807 "description": "A CloudWorkspaceId is a unique identifier for a clou
d workspace.\nA cloud workspace is a place associated with a repo where modified
files\ncan be stored before they are committed.", | 755 "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.", |
808 "id": "CloudWorkspaceId", | 756 "id": "CloudWorkspaceId", |
809 "properties": { | 757 "properties": { |
| 758 "name": { |
| 759 "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.", |
| 760 "type": "string" |
| 761 }, |
810 "repoId": { | 762 "repoId": { |
811 "$ref": "RepoId", | 763 "$ref": "RepoId", |
812 "description": "The ID of the repo containing the workspace.
" | 764 "description": "The ID of the repo containing the workspace.
" |
813 }, | |
814 "name": { | |
815 "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.", | |
816 "type": "string" | |
817 } | 765 } |
818 }, | 766 }, |
819 "type": "object" | 767 "type": "object" |
820 }, | 768 }, |
821 "ListBreakpointsResponse": { | 769 "ListBreakpointsResponse": { |
822 "description": "Response for listing breakpoints.", | 770 "description": "Response for listing breakpoints.", |
823 "id": "ListBreakpointsResponse", | 771 "id": "ListBreakpointsResponse", |
824 "properties": { | 772 "properties": { |
825 "nextWaitToken": { | 773 "nextWaitToken": { |
826 "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.", | 774 "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.", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 "format": "google-datetime", | 831 "format": "google-datetime", |
884 "type": "string" | 832 "type": "string" |
885 }, | 833 }, |
886 "variableTable": { | 834 "variableTable": { |
887 "description": "The `variable_table` exists to aid with comp
utation, memory and network\ntraffic optimization. It enables storing a variabl
e once and reference\nit from multiple variables, including variables stored in
the\n`variable_table` itself.\nFor example, the same `this` object, which may ap
pear at many levels of\nthe stack, can have all of its data stored once in this
table. The\nstack frame variables then would hold only a reference to it.\n\nTh
e variable `var_table_index` field is an index into this repeated field.\nThe st
ored objects are nameless and get their name from the referencing\nvariable. The
effective variable is a merge of the referencing variable\nand the referenced v
ariable.", | 835 "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.", |
888 "items": { | 836 "items": { |
889 "$ref": "Variable" | 837 "$ref": "Variable" |
890 }, | 838 }, |
891 "type": "array" | 839 "type": "array" |
892 }, | 840 }, |
893 "logMessageFormat": { | |
894 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", | |
895 "type": "string" | |
896 }, | |
897 "createTime": { | 841 "createTime": { |
898 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", | 842 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", |
899 "format": "google-datetime", | 843 "format": "google-datetime", |
900 "type": "string" | 844 "type": "string" |
901 }, | 845 }, |
| 846 "logMessageFormat": { |
| 847 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", |
| 848 "type": "string" |
| 849 }, |
902 "labels": { | 850 "labels": { |
903 "additionalProperties": { | 851 "additionalProperties": { |
904 "type": "string" | 852 "type": "string" |
905 }, | 853 }, |
906 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", | 854 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", |
907 "type": "object" | 855 "type": "object" |
908 }, | 856 }, |
909 "expressions": { | 857 "expressions": { |
910 "description": "List of read-only expressions to evaluate at
the breakpoint location.\nThe expressions are composed using expressions in the
programming language\nat the source location. If the breakpoint action is `LOG`
, the evaluated\nexpressions are included in log statements.", | 858 "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.", |
911 "items": { | 859 "items": { |
(...skipping 23 matching lines...) Expand all Loading... |
935 "description": "Condition that triggers the breakpoint.\nThe
condition is a compound boolean expression composed using expressions\nin a pro
gramming language at the source location.", | 883 "description": "Condition that triggers the breakpoint.\nThe
condition is a compound boolean expression composed using expressions\nin a pro
gramming language at the source location.", |
936 "type": "string" | 884 "type": "string" |
937 }, | 885 }, |
938 "status": { | 886 "status": { |
939 "$ref": "StatusMessage", | 887 "$ref": "StatusMessage", |
940 "description": "Breakpoint status.\n\nThe status includes an
error flag and a human readable message.\nThis field is usually unset. The mess
age can be either\ninformational or an error message. Regardless, clients should
always\ndisplay the text message back to the user.\n\nError status indicates co
mplete failure of the breakpoint.\n\nExample (non-final state): `Still loading s
ymbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to
location\n* `Field f not found in class C` referring to condition" | 888 "description": "Breakpoint status.\n\nThe status includes an
error flag and a human readable message.\nThis field is usually unset. The mess
age can be either\ninformational or an error message. Regardless, clients should
always\ndisplay the text message back to the user.\n\nError status indicates co
mplete failure of the breakpoint.\n\nExample (non-final state): `Still loading s
ymbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to
location\n* `Field f not found in class C` referring to condition" |
941 } | 889 } |
942 }, | 890 }, |
943 "type": "object" | 891 "type": "object" |
944 }, | 892 }, |
| 893 "SetBreakpointResponse": { |
| 894 "description": "Response for setting a breakpoint.", |
| 895 "id": "SetBreakpointResponse", |
| 896 "properties": { |
| 897 "breakpoint": { |
| 898 "$ref": "Breakpoint", |
| 899 "description": "Breakpoint resource.\nThe field `id` is guar
anteed to be set (in addition to the echoed fileds)." |
| 900 } |
| 901 }, |
| 902 "type": "object" |
| 903 }, |
945 "UpdateActiveBreakpointRequest": { | 904 "UpdateActiveBreakpointRequest": { |
946 "description": "Request to update an active breakpoint.", | 905 "description": "Request to update an active breakpoint.", |
947 "id": "UpdateActiveBreakpointRequest", | 906 "id": "UpdateActiveBreakpointRequest", |
948 "properties": { | 907 "properties": { |
949 "breakpoint": { | 908 "breakpoint": { |
950 "$ref": "Breakpoint", | 909 "$ref": "Breakpoint", |
951 "description": "Updated breakpoint information.\nThe field '
id' must be set." | 910 "description": "Updated breakpoint information.\nThe field '
id' must be set." |
952 } | 911 } |
953 }, | 912 }, |
954 "type": "object" | 913 "type": "object" |
955 }, | |
956 "SetBreakpointResponse": { | |
957 "description": "Response for setting a breakpoint.", | |
958 "id": "SetBreakpointResponse", | |
959 "properties": { | |
960 "breakpoint": { | |
961 "$ref": "Breakpoint", | |
962 "description": "Breakpoint resource.\nThe field `id` is guar
anteed to be set (in addition to the echoed fileds)." | |
963 } | |
964 }, | |
965 "type": "object" | |
966 }, | 914 }, |
967 "SourceContext": { | 915 "SourceContext": { |
968 "description": "A SourceContext is a reference to a tree of files. A
SourceContext together\nwith a path point to a unique revision of a single file
or directory.", | 916 "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.", |
969 "id": "SourceContext", | 917 "id": "SourceContext", |
970 "properties": { | 918 "properties": { |
| 919 "git": { |
| 920 "$ref": "GitSourceContext", |
| 921 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." |
| 922 }, |
971 "gerrit": { | 923 "gerrit": { |
972 "$ref": "GerritSourceContext", | 924 "$ref": "GerritSourceContext", |
973 "description": "A SourceContext referring to a Gerrit projec
t." | 925 "description": "A SourceContext referring to a Gerrit projec
t." |
974 }, | 926 }, |
975 "cloudRepo": { | 927 "cloudRepo": { |
976 "$ref": "CloudRepoSourceContext", | 928 "$ref": "CloudRepoSourceContext", |
977 "description": "A SourceContext referring to a revision in a
cloud repo." | 929 "description": "A SourceContext referring to a revision in a
cloud repo." |
978 }, | 930 }, |
979 "cloudWorkspace": { | 931 "cloudWorkspace": { |
980 "$ref": "CloudWorkspaceSourceContext", | 932 "$ref": "CloudWorkspaceSourceContext", |
981 "description": "A SourceContext referring to a snapshot in a
cloud workspace." | 933 "description": "A SourceContext referring to a snapshot in a
cloud workspace." |
982 }, | |
983 "git": { | |
984 "$ref": "GitSourceContext", | |
985 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." | |
986 } | 934 } |
987 }, | 935 }, |
988 "type": "object" | 936 "type": "object" |
989 }, | 937 }, |
990 "CloudRepoSourceContext": { | 938 "CloudRepoSourceContext": { |
991 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", | 939 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", |
992 "id": "CloudRepoSourceContext", | 940 "id": "CloudRepoSourceContext", |
993 "properties": { | 941 "properties": { |
| 942 "aliasContext": { |
| 943 "$ref": "AliasContext", |
| 944 "description": "An alias, which may be a branch or tag." |
| 945 }, |
994 "revisionId": { | 946 "revisionId": { |
995 "description": "A revision ID.", | 947 "description": "A revision ID.", |
996 "type": "string" | 948 "type": "string" |
997 }, | 949 }, |
998 "aliasName": { | 950 "aliasName": { |
999 "description": "The name of an alias (branch, tag, etc.).", | 951 "description": "The name of an alias (branch, tag, etc.).", |
1000 "type": "string" | 952 "type": "string" |
1001 }, | 953 }, |
1002 "repoId": { | 954 "repoId": { |
1003 "$ref": "RepoId", | 955 "$ref": "RepoId", |
1004 "description": "The ID of the repo." | 956 "description": "The ID of the repo." |
1005 }, | 957 } |
1006 "aliasContext": { | 958 }, |
1007 "$ref": "AliasContext", | 959 "type": "object" |
1008 "description": "An alias, which may be a branch or tag." | 960 }, |
| 961 "RegisterDebuggeeResponse": { |
| 962 "description": "Response for registering a debuggee.", |
| 963 "id": "RegisterDebuggeeResponse", |
| 964 "properties": { |
| 965 "debuggee": { |
| 966 "$ref": "Debuggee", |
| 967 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields)." |
1009 } | 968 } |
1010 }, | 969 }, |
1011 "type": "object" | 970 "type": "object" |
1012 }, | 971 }, |
1013 "RegisterDebuggeeRequest": { | 972 "RegisterDebuggeeRequest": { |
1014 "description": "Request to register a debuggee.", | 973 "description": "Request to register a debuggee.", |
1015 "id": "RegisterDebuggeeRequest", | 974 "id": "RegisterDebuggeeRequest", |
1016 "properties": { | 975 "properties": { |
1017 "debuggee": { | 976 "debuggee": { |
1018 "$ref": "Debuggee", | 977 "$ref": "Debuggee", |
1019 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." | 978 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." |
1020 } | 979 } |
1021 }, | 980 }, |
1022 "type": "object" | 981 "type": "object" |
1023 }, | |
1024 "RegisterDebuggeeResponse": { | |
1025 "description": "Response for registering a debuggee.", | |
1026 "id": "RegisterDebuggeeResponse", | |
1027 "properties": { | |
1028 "debuggee": { | |
1029 "$ref": "Debuggee", | |
1030 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields)." | |
1031 } | |
1032 }, | |
1033 "type": "object" | |
1034 }, | 982 }, |
1035 "GetBreakpointResponse": { | 983 "GetBreakpointResponse": { |
1036 "description": "Response for getting breakpoint information.", | 984 "description": "Response for getting breakpoint information.", |
1037 "id": "GetBreakpointResponse", | 985 "id": "GetBreakpointResponse", |
1038 "properties": { | 986 "properties": { |
1039 "breakpoint": { | 987 "breakpoint": { |
1040 "$ref": "Breakpoint", | 988 "$ref": "Breakpoint", |
1041 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." | 989 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." |
1042 } | 990 } |
1043 }, | 991 }, |
1044 "type": "object" | 992 "type": "object" |
| 993 }, |
| 994 "StatusMessage": { |
| 995 "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`.", |
| 996 "id": "StatusMessage", |
| 997 "properties": { |
| 998 "isError": { |
| 999 "description": "Distinguishes errors from informational mess
ages.", |
| 1000 "type": "boolean" |
| 1001 }, |
| 1002 "description": { |
| 1003 "$ref": "FormatMessage", |
| 1004 "description": "Status message text." |
| 1005 }, |
| 1006 "refersTo": { |
| 1007 "description": "Reference to which the message applies.", |
| 1008 "enum": [ |
| 1009 "UNSPECIFIED", |
| 1010 "BREAKPOINT_SOURCE_LOCATION", |
| 1011 "BREAKPOINT_CONDITION", |
| 1012 "BREAKPOINT_EXPRESSION", |
| 1013 "BREAKPOINT_AGE", |
| 1014 "VARIABLE_NAME", |
| 1015 "VARIABLE_VALUE" |
| 1016 ], |
| 1017 "enumDescriptions": [ |
| 1018 "Status doesn't refer to any particular input.", |
| 1019 "Status applies to the breakpoint and is related to its
location.", |
| 1020 "Status applies to the breakpoint and is related to its
condition.", |
| 1021 "Status applies to the breakpoint and is related to its
expressions.", |
| 1022 "Status applies to the breakpoint and is related to its
age.", |
| 1023 "Status applies to the entire variable.", |
| 1024 "Status applies to variable value (variable name is vali
d)." |
| 1025 ], |
| 1026 "type": "string" |
| 1027 } |
| 1028 }, |
| 1029 "type": "object" |
| 1030 }, |
| 1031 "GitSourceContext": { |
| 1032 "description": "A GitSourceContext denotes a particular revision in
a third party Git\nrepository (e.g. GitHub).", |
| 1033 "id": "GitSourceContext", |
| 1034 "properties": { |
| 1035 "revisionId": { |
| 1036 "description": "Git commit hash.\nrequired.", |
| 1037 "type": "string" |
| 1038 }, |
| 1039 "url": { |
| 1040 "description": "Git repository URL.", |
| 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 } |
OLD | NEW |