OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "basePath": "/toolresults/v1beta3firstparty/projects/", |
3 "oauth2": { | 3 "baseUrl": "https://www.googleapis.com/toolresults/v1beta3firstparty/project
s/", |
4 "scopes": { | |
5 "https://www.googleapis.com/auth/cloud-platform": { | |
6 "description": "View and manage your data across Google Clou
d Platform services" | |
7 } | |
8 } | |
9 } | |
10 }, | |
11 "basePath": "/toolresults/v1beta3/projects/", | |
12 "baseUrl": "https://www.googleapis.com/toolresults/v1beta3/projects/", | |
13 "batchPath": "batch", | 4 "batchPath": "batch", |
14 "canonicalName": "Tool Results", | 5 "canonicalName": "Tool Results", |
15 "description": "Reads and publishes results from Firebase Test Lab.", | 6 "description": "Reads and publishes results from Firebase Test Lab.", |
16 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
17 "documentationLink": "https://firebase.google.com/docs/test-lab/", | 8 "documentationLink": "https://firebase.google.com/docs/test-lab/", |
18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/FDX3xIy-YNyTr7nvjDbYZ0L8B80\"", | 9 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/xxCMFllvdY9r3Y6cCpyoM0GPdao\"", |
19 "icons": { | 10 "icons": { |
20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 11 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 12 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
22 }, | 13 }, |
23 "id": "toolresults:v1beta3", | 14 "id": "toolresults:v1beta3firstparty", |
24 "kind": "discovery#restDescription", | 15 "kind": "discovery#restDescription", |
25 "name": "toolresults", | 16 "name": "toolresults", |
26 "ownerDomain": "google.com", | 17 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 18 "ownerName": "Google", |
28 "parameters": { | 19 "parameters": { |
29 "alt": { | 20 "alt": { |
30 "default": "json", | 21 "default": "json", |
31 "description": "Data format for the response.", | 22 "description": "Data format for the response.", |
32 "enum": [ | 23 "enum": [ |
33 "json" | 24 "json" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "projectId": { | 76 "projectId": { |
86 "description": "A Project id.\n\nRequired.", | 77 "description": "A Project id.\n\nRequired.", |
87 "location": "path", | 78 "location": "path", |
88 "required": true, | 79 "required": true, |
89 "type": "string" | 80 "type": "string" |
90 } | 81 } |
91 }, | 82 }, |
92 "path": "{projectId}/settings", | 83 "path": "{projectId}/settings", |
93 "response": { | 84 "response": { |
94 "$ref": "ProjectSettings" | 85 "$ref": "ProjectSettings" |
95 }, | 86 } |
96 "scopes": [ | |
97 "https://www.googleapis.com/auth/cloud-platform" | |
98 ] | |
99 }, | 87 }, |
100 "initializeSettings": { | 88 "initializeSettings": { |
101 "description": "Creates resources for settings which have no
t yet been set.\n\nCurrently, this creates a single resource: a Google Cloud Sto
rage bucket, to be used as the default bucket for this project. The bucket is cr
eated in an FTL-own storage project. Except for in rare cases, calling this meth
od in parallel from multiple clients will only create a single bucket. In order
to avoid unnecessary storage charges, the bucket is configured to automatically
delete objects older than 90 days.\n\nThe bucket is created with the following p
ermissions: - Owner access for owners of central storage project (FTL-owned) - W
riter access for owners/editors of customer project - Reader access for viewers
of customer project The default ACL on objects created in the bucket is: - Owner
access for owners of central storage project - Reader access for owners/editors
/viewers of customer project See Google Cloud Storage documentation for more det
ails.\n\nIf there is already a default bucket set and the project can access the
bucket, this call does nothing. However, if the project doesn't have the permis
sion to access the bucket or the bucket is deleted, a new bucket will be created
.\n\nMay return any canonical error codes, including the following:\n\n- PERMISS
ION_DENIED - if the user is not authorized to write to project - Any error code
raised by Google Cloud Storage", | 89 "description": "Creates resources for settings which have no
t yet been set.\n\nCurrently, this creates a single resource: a Google Cloud Sto
rage bucket, to be used as the default bucket for this project. The bucket is cr
eated in an FTL-own storage project. Except for in rare cases, calling this meth
od in parallel from multiple clients will only create a single bucket. In order
to avoid unnecessary storage charges, the bucket is configured to automatically
delete objects older than 90 days.\n\nThe bucket is created with the following p
ermissions: - Owner access for owners of central storage project (FTL-owned) - W
riter access for owners/editors of customer project - Reader access for viewers
of customer project The default ACL on objects created in the bucket is: - Owner
access for owners of central storage project - Reader access for owners/editors
/viewers of customer project See Google Cloud Storage documentation for more det
ails.\n\nIf there is already a default bucket set and the project can access the
bucket, this call does nothing. However, if the project doesn't have the permis
sion to access the bucket or the bucket is deleted, a new bucket will be created
.\n\nMay return any canonical error codes, including the following:\n\n- PERMISS
ION_DENIED - if the user is not authorized to write to project - Any error code
raised by Google Cloud Storage", |
102 "httpMethod": "POST", | 90 "httpMethod": "POST", |
103 "id": "toolresults.projects.initializeSettings", | 91 "id": "toolresults.projects.initializeSettings", |
104 "parameterOrder": [ | 92 "parameterOrder": [ |
105 "projectId" | 93 "projectId" |
106 ], | 94 ], |
107 "parameters": { | 95 "parameters": { |
108 "projectId": { | 96 "projectId": { |
109 "description": "A Project id.\n\nRequired.", | 97 "description": "A Project id.\n\nRequired.", |
110 "location": "path", | 98 "location": "path", |
111 "required": true, | 99 "required": true, |
112 "type": "string" | 100 "type": "string" |
113 } | 101 } |
114 }, | 102 }, |
115 "path": "{projectId}:initializeSettings", | 103 "path": "{projectId}:initializeSettings", |
116 "response": { | 104 "response": { |
117 "$ref": "ProjectSettings" | 105 "$ref": "ProjectSettings" |
118 }, | 106 } |
119 "scopes": [ | |
120 "https://www.googleapis.com/auth/cloud-platform" | |
121 ] | |
122 } | 107 } |
123 }, | 108 }, |
124 "resources": { | 109 "resources": { |
125 "histories": { | 110 "histories": { |
126 "methods": { | 111 "methods": { |
127 "create": { | 112 "create": { |
128 "description": "Creates a History.\n\nThe returned H
istory will have the id set.\n\nMay return any of the following canonical error
codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write to projec
t - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containi
ng project does not exist", | 113 "description": "Creates a History.\n\nThe returned H
istory will have the id set.\n\nMay return any of the following canonical error
codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write to projec
t - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containi
ng project does not exist", |
129 "httpMethod": "POST", | 114 "httpMethod": "POST", |
130 "id": "toolresults.projects.histories.create", | 115 "id": "toolresults.projects.histories.create", |
131 "parameterOrder": [ | 116 "parameterOrder": [ |
(...skipping 11 matching lines...) Expand all Loading... |
143 "location": "query", | 128 "location": "query", |
144 "type": "string" | 129 "type": "string" |
145 } | 130 } |
146 }, | 131 }, |
147 "path": "{projectId}/histories", | 132 "path": "{projectId}/histories", |
148 "request": { | 133 "request": { |
149 "$ref": "History" | 134 "$ref": "History" |
150 }, | 135 }, |
151 "response": { | 136 "response": { |
152 "$ref": "History" | 137 "$ref": "History" |
153 }, | 138 } |
154 "scopes": [ | |
155 "https://www.googleapis.com/auth/cloud-platform" | |
156 ] | |
157 }, | 139 }, |
158 "get": { | 140 "get": { |
159 "description": "Gets a History.\n\nMay return any of
the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is no
t authorized to read project - INVALID_ARGUMENT - if the request is malformed -
NOT_FOUND - if the History does not exist", | 141 "description": "Gets a History.\n\nMay return any of
the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is no
t authorized to read project - INVALID_ARGUMENT - if the request is malformed -
NOT_FOUND - if the History does not exist", |
160 "httpMethod": "GET", | 142 "httpMethod": "GET", |
161 "id": "toolresults.projects.histories.get", | 143 "id": "toolresults.projects.histories.get", |
162 "parameterOrder": [ | 144 "parameterOrder": [ |
163 "projectId", | 145 "projectId", |
164 "historyId" | 146 "historyId" |
165 ], | 147 ], |
166 "parameters": { | 148 "parameters": { |
167 "historyId": { | 149 "historyId": { |
168 "description": "A History id.\n\nRequired.", | 150 "description": "A History id.\n\nRequired.", |
169 "location": "path", | 151 "location": "path", |
170 "required": true, | 152 "required": true, |
171 "type": "string" | 153 "type": "string" |
172 }, | 154 }, |
173 "projectId": { | 155 "projectId": { |
174 "description": "A Project id.\n\nRequired.", | 156 "description": "A Project id.\n\nRequired.", |
175 "location": "path", | 157 "location": "path", |
176 "required": true, | 158 "required": true, |
177 "type": "string" | 159 "type": "string" |
178 } | 160 } |
179 }, | 161 }, |
180 "path": "{projectId}/histories/{historyId}", | 162 "path": "{projectId}/histories/{historyId}", |
181 "response": { | 163 "response": { |
182 "$ref": "History" | 164 "$ref": "History" |
183 }, | 165 } |
184 "scopes": [ | |
185 "https://www.googleapis.com/auth/cloud-platform" | |
186 ] | |
187 }, | 166 }, |
188 "list": { | 167 "list": { |
189 "description": "Lists Histories for a given Project.
\n\nThe histories are sorted by modification time in descending order. The histo
ry_id key will be used to order the history with the same modification time.\n\n
May return any of the following canonical error codes:\n\n- PERMISSION_DENIED -
if the user is not authorized to read project - INVALID_ARGUMENT - if the reques
t is malformed - NOT_FOUND - if the History does not exist", | 168 "description": "Lists Histories for a given Project.
\n\nThe histories are sorted by modification time in descending order. The histo
ry_id key will be used to order the history with the same modification time.\n\n
May return any of the following canonical error codes:\n\n- PERMISSION_DENIED -
if the user is not authorized to read project - INVALID_ARGUMENT - if the reques
t is malformed - NOT_FOUND - if the History does not exist", |
190 "httpMethod": "GET", | 169 "httpMethod": "GET", |
191 "id": "toolresults.projects.histories.list", | 170 "id": "toolresults.projects.histories.list", |
192 "parameterOrder": [ | 171 "parameterOrder": [ |
193 "projectId" | 172 "projectId" |
194 ], | 173 ], |
195 "parameters": { | 174 "parameters": { |
196 "filterByName": { | 175 "filterByName": { |
(...skipping 15 matching lines...) Expand all Loading... |
212 "projectId": { | 191 "projectId": { |
213 "description": "A Project id.\n\nRequired.", | 192 "description": "A Project id.\n\nRequired.", |
214 "location": "path", | 193 "location": "path", |
215 "required": true, | 194 "required": true, |
216 "type": "string" | 195 "type": "string" |
217 } | 196 } |
218 }, | 197 }, |
219 "path": "{projectId}/histories", | 198 "path": "{projectId}/histories", |
220 "response": { | 199 "response": { |
221 "$ref": "ListHistoriesResponse" | 200 "$ref": "ListHistoriesResponse" |
222 }, | 201 } |
223 "scopes": [ | |
224 "https://www.googleapis.com/auth/cloud-platform" | |
225 ] | |
226 } | 202 } |
227 }, | 203 }, |
228 "resources": { | 204 "resources": { |
229 "executions": { | 205 "executions": { |
230 "methods": { | 206 "methods": { |
231 "create": { | 207 "create": { |
232 "description": "Creates an Execution.\n\nThe
returned Execution will have the id set.\n\nMay return any of the following can
onical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to wr
ite to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if
the containing History does not exist", | 208 "description": "Creates an Execution.\n\nThe
returned Execution will have the id set.\n\nMay return any of the following can
onical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to wr
ite to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if
the containing History does not exist", |
233 "httpMethod": "POST", | 209 "httpMethod": "POST", |
234 "id": "toolresults.projects.histories.execut
ions.create", | 210 "id": "toolresults.projects.histories.execut
ions.create", |
235 "parameterOrder": [ | 211 "parameterOrder": [ |
(...skipping 18 matching lines...) Expand all Loading... |
254 "location": "query", | 230 "location": "query", |
255 "type": "string" | 231 "type": "string" |
256 } | 232 } |
257 }, | 233 }, |
258 "path": "{projectId}/histories/{historyId}/e
xecutions", | 234 "path": "{projectId}/histories/{historyId}/e
xecutions", |
259 "request": { | 235 "request": { |
260 "$ref": "Execution" | 236 "$ref": "Execution" |
261 }, | 237 }, |
262 "response": { | 238 "response": { |
263 "$ref": "Execution" | 239 "$ref": "Execution" |
264 }, | 240 } |
265 "scopes": [ | |
266 "https://www.googleapis.com/auth/cloud-p
latform" | |
267 ] | |
268 }, | 241 }, |
269 "get": { | 242 "get": { |
270 "description": "Gets an Execution.\n\nMay re
turn any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the
user is not authorized to write to project - INVALID_ARGUMENT - if the request
is malformed - NOT_FOUND - if the Execution does not exist", | 243 "description": "Gets an Execution.\n\nMay re
turn any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the
user is not authorized to write to project - INVALID_ARGUMENT - if the request
is malformed - NOT_FOUND - if the Execution does not exist", |
271 "httpMethod": "GET", | 244 "httpMethod": "GET", |
272 "id": "toolresults.projects.histories.execut
ions.get", | 245 "id": "toolresults.projects.histories.execut
ions.get", |
273 "parameterOrder": [ | 246 "parameterOrder": [ |
274 "projectId", | 247 "projectId", |
275 "historyId", | 248 "historyId", |
276 "executionId" | 249 "executionId" |
277 ], | 250 ], |
(...skipping 13 matching lines...) Expand all Loading... |
291 "projectId": { | 264 "projectId": { |
292 "description": "A Project id.\n\nReq
uired.", | 265 "description": "A Project id.\n\nReq
uired.", |
293 "location": "path", | 266 "location": "path", |
294 "required": true, | 267 "required": true, |
295 "type": "string" | 268 "type": "string" |
296 } | 269 } |
297 }, | 270 }, |
298 "path": "{projectId}/histories/{historyId}/e
xecutions/{executionId}", | 271 "path": "{projectId}/histories/{historyId}/e
xecutions/{executionId}", |
299 "response": { | 272 "response": { |
300 "$ref": "Execution" | 273 "$ref": "Execution" |
301 }, | 274 } |
302 "scopes": [ | |
303 "https://www.googleapis.com/auth/cloud-p
latform" | |
304 ] | |
305 }, | 275 }, |
306 "list": { | 276 "list": { |
307 "description": "Lists Histories for a given
Project.\n\nThe executions are sorted by creation_time in descending order. The
execution_id key will be used to order the executions with the same creation_tim
e.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DEN
IED - if the user is not authorized to read project - INVALID_ARGUMENT - if the
request is malformed - NOT_FOUND - if the containing History does not exist", | 277 "description": "Lists Histories for a given
Project.\n\nThe executions are sorted by creation_time in descending order. The
execution_id key will be used to order the executions with the same creation_tim
e.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DEN
IED - if the user is not authorized to read project - INVALID_ARGUMENT - if the
request is malformed - NOT_FOUND - if the containing History does not exist", |
308 "httpMethod": "GET", | 278 "httpMethod": "GET", |
309 "id": "toolresults.projects.histories.execut
ions.list", | 279 "id": "toolresults.projects.histories.execut
ions.list", |
310 "parameterOrder": [ | 280 "parameterOrder": [ |
311 "projectId", | 281 "projectId", |
312 "historyId" | 282 "historyId" |
313 ], | 283 ], |
314 "parameters": { | 284 "parameters": { |
(...skipping 17 matching lines...) Expand all Loading... |
332 "projectId": { | 302 "projectId": { |
333 "description": "A Project id.\n\nReq
uired.", | 303 "description": "A Project id.\n\nReq
uired.", |
334 "location": "path", | 304 "location": "path", |
335 "required": true, | 305 "required": true, |
336 "type": "string" | 306 "type": "string" |
337 } | 307 } |
338 }, | 308 }, |
339 "path": "{projectId}/histories/{historyId}/e
xecutions", | 309 "path": "{projectId}/histories/{historyId}/e
xecutions", |
340 "response": { | 310 "response": { |
341 "$ref": "ListExecutionsResponse" | 311 "$ref": "ListExecutionsResponse" |
342 }, | 312 } |
343 "scopes": [ | |
344 "https://www.googleapis.com/auth/cloud-p
latform" | |
345 ] | |
346 }, | 313 }, |
347 "patch": { | 314 "patch": { |
348 "description": "Updates an existing Executio
n with the supplied partial entity.\n\nMay return any of the following canonical
error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write to
project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION
- if the requested state transition is illegal - NOT_FOUND - if the containing H
istory does not exist", | 315 "description": "Updates an existing Executio
n with the supplied partial entity.\n\nMay return any of the following canonical
error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write to
project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION
- if the requested state transition is illegal - NOT_FOUND - if the containing H
istory does not exist", |
349 "httpMethod": "PATCH", | 316 "httpMethod": "PATCH", |
350 "id": "toolresults.projects.histories.execut
ions.patch", | 317 "id": "toolresults.projects.histories.execut
ions.patch", |
351 "parameterOrder": [ | 318 "parameterOrder": [ |
352 "projectId", | 319 "projectId", |
353 "historyId", | 320 "historyId", |
354 "executionId" | 321 "executionId" |
355 ], | 322 ], |
(...skipping 21 matching lines...) Expand all Loading... |
377 "location": "query", | 344 "location": "query", |
378 "type": "string" | 345 "type": "string" |
379 } | 346 } |
380 }, | 347 }, |
381 "path": "{projectId}/histories/{historyId}/e
xecutions/{executionId}", | 348 "path": "{projectId}/histories/{historyId}/e
xecutions/{executionId}", |
382 "request": { | 349 "request": { |
383 "$ref": "Execution" | 350 "$ref": "Execution" |
384 }, | 351 }, |
385 "response": { | 352 "response": { |
386 "$ref": "Execution" | 353 "$ref": "Execution" |
387 }, | 354 } |
388 "scopes": [ | |
389 "https://www.googleapis.com/auth/cloud-p
latform" | |
390 ] | |
391 } | 355 } |
392 }, | 356 }, |
393 "resources": { | 357 "resources": { |
394 "steps": { | 358 "steps": { |
395 "methods": { | 359 "methods": { |
396 "create": { | 360 "create": { |
397 "description": "Creates a Step.\n\nT
he returned Step will have the id set.\n\nMay return any of the following canoni
cal error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write
to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITI
ON - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing
Execution does not exist", | 361 "description": "Creates a Step.\n\nT
he returned Step will have the id set.\n\nMay return any of the following canoni
cal error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write
to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITI
ON - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing
Execution does not exist", |
398 "httpMethod": "POST", | 362 "httpMethod": "POST", |
399 "id": "toolresults.projects.historie
s.executions.steps.create", | 363 "id": "toolresults.projects.historie
s.executions.steps.create", |
400 "parameterOrder": [ | 364 "parameterOrder": [ |
(...skipping 25 matching lines...) Expand all Loading... |
426 "location": "query", | 390 "location": "query", |
427 "type": "string" | 391 "type": "string" |
428 } | 392 } |
429 }, | 393 }, |
430 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps", | 394 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps", |
431 "request": { | 395 "request": { |
432 "$ref": "Step" | 396 "$ref": "Step" |
433 }, | 397 }, |
434 "response": { | 398 "response": { |
435 "$ref": "Step" | 399 "$ref": "Step" |
436 }, | 400 } |
437 "scopes": [ | |
438 "https://www.googleapis.com/auth
/cloud-platform" | |
439 ] | |
440 }, | 401 }, |
441 "get": { | 402 "get": { |
442 "description": "Gets a Step.\n\nMay
return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if t
he user is not authorized to read project - INVALID_ARGUMENT - if the request is
malformed - NOT_FOUND - if the Step does not exist", | 403 "description": "Gets a Step.\n\nMay
return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if t
he user is not authorized to read project - INVALID_ARGUMENT - if the request is
malformed - NOT_FOUND - if the Step does not exist", |
443 "httpMethod": "GET", | 404 "httpMethod": "GET", |
444 "id": "toolresults.projects.historie
s.executions.steps.get", | 405 "id": "toolresults.projects.historie
s.executions.steps.get", |
445 "parameterOrder": [ | 406 "parameterOrder": [ |
446 "projectId", | 407 "projectId", |
447 "historyId", | 408 "historyId", |
448 "executionId", | 409 "executionId", |
449 "stepId" | 410 "stepId" |
(...skipping 20 matching lines...) Expand all Loading... |
470 "stepId": { | 431 "stepId": { |
471 "description": "A Step id.\n
\nRequired.", | 432 "description": "A Step id.\n
\nRequired.", |
472 "location": "path", | 433 "location": "path", |
473 "required": true, | 434 "required": true, |
474 "type": "string" | 435 "type": "string" |
475 } | 436 } |
476 }, | 437 }, |
477 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}", | 438 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}", |
478 "response": { | 439 "response": { |
479 "$ref": "Step" | 440 "$ref": "Step" |
480 }, | 441 } |
481 "scopes": [ | |
482 "https://www.googleapis.com/auth
/cloud-platform" | |
483 ] | |
484 }, | 442 }, |
485 "getPerfMetricsSummary": { | 443 "getPerfMetricsSummary": { |
486 "description": "Retrieves a PerfMetr
icsSummary.\n\nMay return any of the following error code(s): - NOT_FOUND - The
specified PerfMetricsSummary does not exist", | 444 "description": "Retrieves a PerfMetr
icsSummary.\n\nMay return any of the following error code(s): - NOT_FOUND - The
specified PerfMetricsSummary does not exist", |
487 "httpMethod": "GET", | 445 "httpMethod": "GET", |
488 "id": "toolresults.projects.historie
s.executions.steps.getPerfMetricsSummary", | 446 "id": "toolresults.projects.historie
s.executions.steps.getPerfMetricsSummary", |
489 "parameterOrder": [ | 447 "parameterOrder": [ |
490 "projectId", | 448 "projectId", |
491 "historyId", | 449 "historyId", |
492 "executionId", | 450 "executionId", |
493 "stepId" | 451 "stepId" |
(...skipping 20 matching lines...) Expand all Loading... |
514 "stepId": { | 472 "stepId": { |
515 "description": "A tool resul
ts step ID.", | 473 "description": "A tool resul
ts step ID.", |
516 "location": "path", | 474 "location": "path", |
517 "required": true, | 475 "required": true, |
518 "type": "string" | 476 "type": "string" |
519 } | 477 } |
520 }, | 478 }, |
521 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary", | 479 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary", |
522 "response": { | 480 "response": { |
523 "$ref": "PerfMetricsSummary" | 481 "$ref": "PerfMetricsSummary" |
524 }, | 482 } |
525 "scopes": [ | |
526 "https://www.googleapis.com/auth
/cloud-platform" | |
527 ] | |
528 }, | 483 }, |
529 "list": { | 484 "list": { |
530 "description": "Lists Steps for a gi
ven Execution.\n\nThe steps are sorted by creation_time in descending order. The
step_id key will be used to order the steps with the same creation_time.\n\nMay
return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if
the user is not authorized to read project - INVALID_ARGUMENT - if the request i
s malformed - FAILED_PRECONDITION - if an argument in the request happens to be
invalid; e.g. if an attempt is made to list the children of a nonexistent Step -
NOT_FOUND - if the containing Execution does not exist", | 485 "description": "Lists Steps for a gi
ven Execution.\n\nThe steps are sorted by creation_time in descending order. The
step_id key will be used to order the steps with the same creation_time.\n\nMay
return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if
the user is not authorized to read project - INVALID_ARGUMENT - if the request i
s malformed - FAILED_PRECONDITION - if an argument in the request happens to be
invalid; e.g. if an attempt is made to list the children of a nonexistent Step -
NOT_FOUND - if the containing Execution does not exist", |
531 "httpMethod": "GET", | 486 "httpMethod": "GET", |
532 "id": "toolresults.projects.historie
s.executions.steps.list", | 487 "id": "toolresults.projects.historie
s.executions.steps.list", |
533 "parameterOrder": [ | 488 "parameterOrder": [ |
534 "projectId", | 489 "projectId", |
535 "historyId", | 490 "historyId", |
536 "executionId" | 491 "executionId" |
537 ], | 492 ], |
(...skipping 24 matching lines...) Expand all Loading... |
562 "projectId": { | 517 "projectId": { |
563 "description": "A Project id
.\n\nRequired.", | 518 "description": "A Project id
.\n\nRequired.", |
564 "location": "path", | 519 "location": "path", |
565 "required": true, | 520 "required": true, |
566 "type": "string" | 521 "type": "string" |
567 } | 522 } |
568 }, | 523 }, |
569 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps", | 524 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps", |
570 "response": { | 525 "response": { |
571 "$ref": "ListStepsResponse" | 526 "$ref": "ListStepsResponse" |
572 }, | 527 } |
573 "scopes": [ | |
574 "https://www.googleapis.com/auth
/cloud-platform" | |
575 ] | |
576 }, | 528 }, |
577 "patch": { | 529 "patch": { |
578 "description": "Updates an existing
Step with the supplied partial entity.\n\nMay return any of the following canoni
cal error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write
project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION
- if the requested state transition is illegal (e.g try to upload a duplicate xm
l file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the
containing Execution does not exist", | 530 "description": "Updates an existing
Step with the supplied partial entity.\n\nMay return any of the following canoni
cal error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write
project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION
- if the requested state transition is illegal (e.g try to upload a duplicate xm
l file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the
containing Execution does not exist", |
579 "httpMethod": "PATCH", | 531 "httpMethod": "PATCH", |
580 "id": "toolresults.projects.historie
s.executions.steps.patch", | 532 "id": "toolresults.projects.historie
s.executions.steps.patch", |
581 "parameterOrder": [ | 533 "parameterOrder": [ |
582 "projectId", | 534 "projectId", |
583 "historyId", | 535 "historyId", |
584 "executionId", | 536 "executionId", |
585 "stepId" | 537 "stepId" |
(...skipping 28 matching lines...) Expand all Loading... |
614 "required": true, | 566 "required": true, |
615 "type": "string" | 567 "type": "string" |
616 } | 568 } |
617 }, | 569 }, |
618 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}", | 570 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}", |
619 "request": { | 571 "request": { |
620 "$ref": "Step" | 572 "$ref": "Step" |
621 }, | 573 }, |
622 "response": { | 574 "response": { |
623 "$ref": "Step" | 575 "$ref": "Step" |
624 }, | 576 } |
625 "scopes": [ | |
626 "https://www.googleapis.com/auth
/cloud-platform" | |
627 ] | |
628 }, | 577 }, |
629 "publishXunitXmlFiles": { | 578 "publishXunitXmlFiles": { |
630 "description": "Publish xml files to
an existing Step.\n\nMay return any of the following canonical error codes:\n\n
- PERMISSION_DENIED - if the user is not authorized to write project - INVALID_A
RGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested s
tate transition is illegal, e.g try to upload a duplicate xml file or a file too
large. - NOT_FOUND - if the containing Execution does not exist", | 579 "description": "Publish xml files to
an existing Step.\n\nMay return any of the following canonical error codes:\n\n
- PERMISSION_DENIED - if the user is not authorized to write project - INVALID_A
RGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested s
tate transition is illegal, e.g try to upload a duplicate xml file or a file too
large. - NOT_FOUND - if the containing Execution does not exist", |
631 "httpMethod": "POST", | 580 "httpMethod": "POST", |
632 "id": "toolresults.projects.historie
s.executions.steps.publishXunitXmlFiles", | 581 "id": "toolresults.projects.historie
s.executions.steps.publishXunitXmlFiles", |
633 "parameterOrder": [ | 582 "parameterOrder": [ |
634 "projectId", | 583 "projectId", |
635 "historyId", | 584 "historyId", |
636 "executionId", | 585 "executionId", |
637 "stepId" | 586 "stepId" |
(...skipping 23 matching lines...) Expand all Loading... |
661 "required": true, | 610 "required": true, |
662 "type": "string" | 611 "type": "string" |
663 } | 612 } |
664 }, | 613 }, |
665 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles", | 614 "path": "{projectId}/histories/{hist
oryId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles", |
666 "request": { | 615 "request": { |
667 "$ref": "PublishXunitXmlFilesReq
uest" | 616 "$ref": "PublishXunitXmlFilesReq
uest" |
668 }, | 617 }, |
669 "response": { | 618 "response": { |
670 "$ref": "Step" | 619 "$ref": "Step" |
671 }, | 620 } |
672 "scopes": [ | |
673 "https://www.googleapis.com/auth
/cloud-platform" | |
674 ] | |
675 } | 621 } |
676 }, | 622 }, |
677 "resources": { | 623 "resources": { |
678 "perfMetricsSummary": { | 624 "perfMetricsSummary": { |
679 "methods": { | 625 "methods": { |
680 "create": { | 626 "create": { |
681 "description": "Creates a Pe
rfMetricsSummary resource.\n\nMay return any of the following error code(s): - A
LREADY_EXISTS - A PerfMetricSummary already exists for the given Step - NOT_FOUN
D - The containing Step does not exist", | 627 "description": "Creates a Pe
rfMetricsSummary resource.\n\nMay return any of the following error code(s): - A
LREADY_EXISTS - A PerfMetricSummary already exists for the given Step - NOT_FOUN
D - The containing Step does not exist", |
682 "httpMethod": "POST", | 628 "httpMethod": "POST", |
683 "id": "toolresults.projects.
histories.executions.steps.perfMetricsSummary.create", | 629 "id": "toolresults.projects.
histories.executions.steps.perfMetricsSummary.create", |
684 "parameterOrder": [ | 630 "parameterOrder": [ |
(...skipping 27 matching lines...) Expand all Loading... |
712 "required": true, | 658 "required": true, |
713 "type": "string" | 659 "type": "string" |
714 } | 660 } |
715 }, | 661 }, |
716 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary", | 662 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary", |
717 "request": { | 663 "request": { |
718 "$ref": "PerfMetricsSumm
ary" | 664 "$ref": "PerfMetricsSumm
ary" |
719 }, | 665 }, |
720 "response": { | 666 "response": { |
721 "$ref": "PerfMetricsSumm
ary" | 667 "$ref": "PerfMetricsSumm
ary" |
722 }, | 668 } |
723 "scopes": [ | |
724 "https://www.googleapis.
com/auth/cloud-platform" | |
725 ] | |
726 } | 669 } |
727 } | 670 } |
728 }, | 671 }, |
729 "perfSampleSeries": { | 672 "perfSampleSeries": { |
730 "methods": { | 673 "methods": { |
731 "create": { | 674 "create": { |
732 "description": "Creates a Pe
rfSampleSeries.\n\nMay return any of the following error code(s): - ALREADY_EXIS
TS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The conta
ining Step does not exist", | 675 "description": "Creates a Pe
rfSampleSeries.\n\nMay return any of the following error code(s): - ALREADY_EXIS
TS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The conta
ining Step does not exist", |
733 "httpMethod": "POST", | 676 "httpMethod": "POST", |
734 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.create", | 677 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.create", |
735 "parameterOrder": [ | 678 "parameterOrder": [ |
(...skipping 27 matching lines...) Expand all Loading... |
763 "required": true, | 706 "required": true, |
764 "type": "string" | 707 "type": "string" |
765 } | 708 } |
766 }, | 709 }, |
767 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries", | 710 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries", |
768 "request": { | 711 "request": { |
769 "$ref": "PerfSampleSerie
s" | 712 "$ref": "PerfSampleSerie
s" |
770 }, | 713 }, |
771 "response": { | 714 "response": { |
772 "$ref": "PerfSampleSerie
s" | 715 "$ref": "PerfSampleSerie
s" |
773 }, | 716 } |
774 "scopes": [ | |
775 "https://www.googleapis.
com/auth/cloud-platform" | |
776 ] | |
777 }, | 717 }, |
778 "get": { | 718 "get": { |
779 "description": "Gets a PerfS
ampleSeries.\n\nMay return any of the following error code(s): - NOT_FOUND - The
specified PerfSampleSeries does not exist", | 719 "description": "Gets a PerfS
ampleSeries.\n\nMay return any of the following error code(s): - NOT_FOUND - The
specified PerfSampleSeries does not exist", |
780 "httpMethod": "GET", | 720 "httpMethod": "GET", |
781 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.get", | 721 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.get", |
782 "parameterOrder": [ | 722 "parameterOrder": [ |
783 "projectId", | 723 "projectId", |
784 "historyId", | 724 "historyId", |
785 "executionId", | 725 "executionId", |
786 "stepId", | 726 "stepId", |
(...skipping 27 matching lines...) Expand all Loading... |
814 "stepId": { | 754 "stepId": { |
815 "description": "A to
ol results step ID.", | 755 "description": "A to
ol results step ID.", |
816 "location": "path", | 756 "location": "path", |
817 "required": true, | 757 "required": true, |
818 "type": "string" | 758 "type": "string" |
819 } | 759 } |
820 }, | 760 }, |
821 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleS
eriesId}", | 761 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleS
eriesId}", |
822 "response": { | 762 "response": { |
823 "$ref": "PerfSampleSerie
s" | 763 "$ref": "PerfSampleSerie
s" |
824 }, | 764 } |
825 "scopes": [ | |
826 "https://www.googleapis.
com/auth/cloud-platform" | |
827 ] | |
828 }, | 765 }, |
829 "list": { | 766 "list": { |
830 "description": "Lists PerfSa
mpleSeries for a given Step.\n\nThe request provides an optional filter which sp
ecifies one or more PerfMetricsType to include in the result; if none returns al
l. The resulting PerfSampleSeries are sorted by ids.\n\nMay return any of the fo
llowing canonical error codes: - NOT_FOUND - The containing Step does not exist"
, | 767 "description": "Lists PerfSa
mpleSeries for a given Step.\n\nThe request provides an optional filter which sp
ecifies one or more PerfMetricsType to include in the result; if none returns al
l. The resulting PerfSampleSeries are sorted by ids.\n\nMay return any of the fo
llowing canonical error codes: - NOT_FOUND - The containing Step does not exist"
, |
831 "httpMethod": "GET", | 768 "httpMethod": "GET", |
832 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.list", | 769 "id": "toolresults.projects.
histories.executions.steps.perfSampleSeries.list", |
833 "parameterOrder": [ | 770 "parameterOrder": [ |
834 "projectId", | 771 "projectId", |
835 "historyId", | 772 "historyId", |
836 "executionId", | 773 "executionId", |
837 "stepId" | 774 "stepId" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 "stepId": { | 815 "stepId": { |
879 "description": "A to
ol results step ID.", | 816 "description": "A to
ol results step ID.", |
880 "location": "path", | 817 "location": "path", |
881 "required": true, | 818 "required": true, |
882 "type": "string" | 819 "type": "string" |
883 } | 820 } |
884 }, | 821 }, |
885 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries", | 822 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries", |
886 "response": { | 823 "response": { |
887 "$ref": "ListPerfSampleS
eriesResponse" | 824 "$ref": "ListPerfSampleS
eriesResponse" |
888 }, | 825 } |
889 "scopes": [ | |
890 "https://www.googleapis.
com/auth/cloud-platform" | |
891 ] | |
892 } | 826 } |
893 }, | 827 }, |
894 "resources": { | 828 "resources": { |
895 "samples": { | 829 "samples": { |
896 "methods": { | 830 "methods": { |
897 "batchCreate": { | 831 "batchCreate": { |
898 "description": "Crea
tes a batch of PerfSamples - a client can submit multiple batches of Perf Sample
s through repeated calls to this method in order to split up a large request pay
load - duplicates and existing timestamp entries will be ignored. - the batch op
eration may partially succeed - the set of elements successfully inserted is ret
urned in the response (omits items which already existed in the database).\n\nMa
y return any of the following canonical error codes: - NOT_FOUND - The containin
g PerfSampleSeries does not exist", | 832 "description": "Crea
tes a batch of PerfSamples - a client can submit multiple batches of Perf Sample
s through repeated calls to this method in order to split up a large request pay
load - duplicates and existing timestamp entries will be ignored. - the batch op
eration may partially succeed - the set of elements successfully inserted is ret
urned in the response (omits items which already existed in the database).\n\nMa
y return any of the following canonical error codes: - NOT_FOUND - The containin
g PerfSampleSeries does not exist", |
899 "httpMethod": "POST"
, | 833 "httpMethod": "POST"
, |
900 "id": "toolresults.p
rojects.histories.executions.steps.perfSampleSeries.samples.batchCreate", | 834 "id": "toolresults.p
rojects.histories.executions.steps.perfSampleSeries.samples.batchCreate", |
901 "parameterOrder": [ | 835 "parameterOrder": [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 "required":
true, | 870 "required":
true, |
937 "type": "str
ing" | 871 "type": "str
ing" |
938 } | 872 } |
939 }, | 873 }, |
940 "path": "{projectId}
/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/
{sampleSeriesId}/samples:batchCreate", | 874 "path": "{projectId}
/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/
{sampleSeriesId}/samples:batchCreate", |
941 "request": { | 875 "request": { |
942 "$ref": "BatchCr
eatePerfSamplesRequest" | 876 "$ref": "BatchCr
eatePerfSamplesRequest" |
943 }, | 877 }, |
944 "response": { | 878 "response": { |
945 "$ref": "BatchCr
eatePerfSamplesResponse" | 879 "$ref": "BatchCr
eatePerfSamplesResponse" |
946 }, | 880 } |
947 "scopes": [ | |
948 "https://www.goo
gleapis.com/auth/cloud-platform" | |
949 ] | |
950 }, | 881 }, |
951 "list": { | 882 "list": { |
952 "description": "List
s the Performance Samples of a given Sample Series - The list results are sorted
by timestamps ascending - The default page size is 500 samples; and maximum siz
e allowed 5000 - The response token indicates the last returned PerfSample times
tamp - When the results size exceeds the page size, submit a subsequent request
including the page token to return the rest of the samples up to the page limit\
n\nMay return any of the following canonical error codes: - OUT_OF_RANGE - The s
pecified request page_token is out of valid range - NOT_FOUND - The containing P
erfSampleSeries does not exist", | 883 "description": "List
s the Performance Samples of a given Sample Series - The list results are sorted
by timestamps ascending - The default page size is 500 samples; and maximum siz
e allowed 5000 - The response token indicates the last returned PerfSample times
tamp - When the results size exceeds the page size, submit a subsequent request
including the page token to return the rest of the samples up to the page limit\
n\nMay return any of the following canonical error codes: - OUT_OF_RANGE - The s
pecified request page_token is out of valid range - NOT_FOUND - The containing P
erfSampleSeries does not exist", |
953 "httpMethod": "GET", | 884 "httpMethod": "GET", |
954 "id": "toolresults.p
rojects.histories.executions.steps.perfSampleSeries.samples.list", | 885 "id": "toolresults.p
rojects.histories.executions.steps.perfSampleSeries.samples.list", |
955 "parameterOrder": [ | 886 "parameterOrder": [ |
956 "projectId", | 887 "projectId", |
957 "historyId", | 888 "historyId", |
958 "executionId", | 889 "executionId", |
959 "stepId", | 890 "stepId", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 "stepId": { | 929 "stepId": { |
999 "description
": "A tool results step ID.", | 930 "description
": "A tool results step ID.", |
1000 "location":
"path", | 931 "location":
"path", |
1001 "required":
true, | 932 "required":
true, |
1002 "type": "str
ing" | 933 "type": "str
ing" |
1003 } | 934 } |
1004 }, | 935 }, |
1005 "path": "{projectId}
/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/
{sampleSeriesId}/samples", | 936 "path": "{projectId}
/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/
{sampleSeriesId}/samples", |
1006 "response": { | 937 "response": { |
1007 "$ref": "ListPer
fSamplesResponse" | 938 "$ref": "ListPer
fSamplesResponse" |
1008 }, | 939 } |
1009 "scopes": [ | |
1010 "https://www.goo
gleapis.com/auth/cloud-platform" | |
1011 ] | |
1012 } | 940 } |
1013 } | 941 } |
1014 } | 942 } |
1015 } | 943 } |
1016 }, | 944 }, |
1017 "thumbnails": { | 945 "thumbnails": { |
1018 "methods": { | 946 "methods": { |
1019 "list": { | 947 "list": { |
1020 "description": "Lists thumbn
ails of images attached to a step.\n\nMay return any of the following canonical
error codes: - PERMISSION_DENIED - if the user is not authorized to read from th
e project, or from any of the images - INVALID_ARGUMENT - if the request is malf
ormed - NOT_FOUND - if the step does not exist, or if any of the images do not e
xist", | 948 "description": "Lists thumbn
ails of images attached to a step.\n\nMay return any of the following canonical
error codes: - PERMISSION_DENIED - if the user is not authorized to read from th
e project, or from any of the images - INVALID_ARGUMENT - if the request is malf
ormed - NOT_FOUND - if the step does not exist, or if any of the images do not e
xist", |
1021 "httpMethod": "GET", | 949 "httpMethod": "GET", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 "stepId": { | 987 "stepId": { |
1060 "description": "A St
ep id.\n\nRequired.", | 988 "description": "A St
ep id.\n\nRequired.", |
1061 "location": "path", | 989 "location": "path", |
1062 "required": true, | 990 "required": true, |
1063 "type": "string" | 991 "type": "string" |
1064 } | 992 } |
1065 }, | 993 }, |
1066 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails", | 994 "path": "{projectId}/histori
es/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails", |
1067 "response": { | 995 "response": { |
1068 "$ref": "ListStepThumbna
ilsResponse" | 996 "$ref": "ListStepThumbna
ilsResponse" |
1069 }, | 997 } |
1070 "scopes": [ | |
1071 "https://www.googleapis.
com/auth/cloud-platform" | |
1072 ] | |
1073 } | 998 } |
1074 } | 999 } |
1075 } | 1000 } |
1076 } | 1001 } |
1077 } | 1002 } |
1078 } | 1003 } |
1079 } | 1004 } |
1080 } | 1005 } |
1081 } | 1006 } |
1082 } | 1007 } |
1083 } | 1008 } |
1084 }, | 1009 }, |
1085 "revision": "20170609", | 1010 "revision": "20170707", |
1086 "rootUrl": "https://www.googleapis.com/", | 1011 "rootUrl": "https://www.googleapis.com/", |
1087 "schemas": { | 1012 "schemas": { |
1088 "Any": { | 1013 "Any": { |
1089 "description": "`Any` contains an arbitrary serialized protocol buff
er message along with a URL that describes the type of the serialized message.\n
\nProtobuf library provides support to pack/unpack Any values in the form of uti
lity functions or additional generated methods of the Any type.\n\nExample 1: Pa
ck and unpack a message in C++.\n\nFoo foo = ...; Any any; any.PackFrom(foo); ..
. if (any.UnpackTo(&foo)) { ... }\n\nExample 2: Pack and unpack a message in Jav
a.\n\nFoo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo =
any.unpack(Foo.class); }\n\nExample 3: Pack and unpack a message in Python.\n\n
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpa
ck(foo) ...\n\nExample 4: Pack and unpack a message in Go\n\nfoo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.Unmars
halAny(any, foo); err != nil { ... }\n\nThe pack methods provided by protobuf li
brary will by default use 'type.googleapis.com/full.type.name' as the type URL a
nd the unpack methods only use the fully qualified type name after the last '/'
in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\".
\n\n\n\nJSON ==== The JSON representation of an `Any` value uses the regular rep
resentation of the deserialized, embedded message, with an additional field `@ty
pe` which contains the type URL. Example:\n\npackage google.profile; message Per
son { string first_name = 1; string last_name = 2; }\n\n{ \"@type\": \"type.goog
leapis.com/google.profile.Person\", \"firstName\": , \"lastName\": }\n\nIf the
embedded message type is well-known and has a custom JSON representation, that r
epresentation will be embedded adding a field `value` which holds the custom JSO
N in addition to the `@type` field. Example (for message [google.protobuf.Durati
on][]):\n\n{ \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"valu
e\": \"1.212s\" }", | 1014 "description": "`Any` contains an arbitrary serialized protocol buff
er message along with a URL that describes the type of the serialized message.\n
\nProtobuf library provides support to pack/unpack Any values in the form of uti
lity functions or additional generated methods of the Any type.\n\nExample 1: Pa
ck and unpack a message in C++.\n\nFoo foo = ...; Any any; any.PackFrom(foo); ..
. if (any.UnpackTo(&foo)) { ... }\n\nExample 2: Pack and unpack a message in Jav
a.\n\nFoo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo =
any.unpack(Foo.class); }\n\nExample 3: Pack and unpack a message in Python.\n\n
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpa
ck(foo) ...\n\nExample 4: Pack and unpack a message in Go\n\nfoo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.Unmars
halAny(any, foo); err != nil { ... }\n\nThe pack methods provided by protobuf li
brary will by default use 'type.googleapis.com/full.type.name' as the type URL a
nd the unpack methods only use the fully qualified type name after the last '/'
in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\".
\n\n\n\nJSON ==== The JSON representation of an `Any` value uses the regular rep
resentation of the deserialized, embedded message, with an additional field `@ty
pe` which contains the type URL. Example:\n\npackage google.profile; message Per
son { string first_name = 1; string last_name = 2; }\n\n{ \"@type\": \"type.goog
leapis.com/google.profile.Person\", \"firstName\": , \"lastName\": }\n\nIf the
embedded message type is well-known and has a custom JSON representation, that r
epresentation will be embedded adding a field `value` which holds the custom JSO
N in addition to the `@type` field. Example (for message [google.protobuf.Durati
on][]):\n\n{ \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"valu
e\": \"1.212s\" }", |
1090 "id": "Any", | 1015 "id": "Any", |
1091 "properties": { | 1016 "properties": { |
1092 "typeUrl": { | 1017 "typeUrl": { |
1093 "description": "A URL/resource name whose content describes
the type of the serialized protocol buffer message.\n\nFor URLs which use the sc
heme `http`, `https`, or no scheme, the following restrictions and interpretatio
ns apply:\n\n* If no scheme is provided, `https` is assumed. * The last segment
of the URL's path must represent the fully qualified name of the type (as in `pa
th/google.protobuf.Duration`). The name should be in a canonical form (e.g., lea
ding \".\" is not accepted). * An HTTP GET on the URL must yield a [google.proto
buf.Type][] value in binary format, or produce an error. * Applications are allo
wed to cache lookup results based on the URL, or have them precompiled into a bi
nary to avoid any lookup. Therefore, binary compatibility needs to be preserved
on changes to types. (Use versioned type names to manage breaking changes.)\n\nS
chemes other than `http`, `https` (or the empty scheme) might be used with imple
mentation specific semantics.", | 1018 "description": "A URL/resource name whose content describes
the type of the serialized protocol buffer message.\n\nFor URLs which use the sc
heme `http`, `https`, or no scheme, the following restrictions and interpretatio
ns apply:\n\n* If no scheme is provided, `https` is assumed. * The last segment
of the URL's path must represent the fully qualified name of the type (as in `pa
th/google.protobuf.Duration`). The name should be in a canonical form (e.g., lea
ding \".\" is not accepted). * An HTTP GET on the URL must yield a [google.proto
buf.Type][] value in binary format, or produce an error. * Applications are allo
wed to cache lookup results based on the URL, or have them precompiled into a bi
nary to avoid any lookup. Therefore, binary compatibility needs to be preserved
on changes to types. (Use versioned type names to manage breaking changes.)\n\nS
chemes other than `http`, `https` (or the empty scheme) might be used with imple
mentation specific semantics.", |
1094 "type": "string" | 1019 "type": "string" |
1095 }, | 1020 }, |
1096 "value": { | 1021 "value": { |
1097 "description": "Must be a valid serialized protocol buffer o
f the above specified type.", | 1022 "description": "Must be a valid serialized protocol buffer o
f the above specified type.", |
1098 "format": "byte", | 1023 "format": "byte", |
1099 "type": "string" | 1024 "type": "string" |
1100 } | 1025 } |
1101 }, | 1026 }, |
1102 "type": "object" | 1027 "type": "object" |
1103 }, | 1028 }, |
| 1029 "AppStartTime": { |
| 1030 "id": "AppStartTime", |
| 1031 "properties": { |
| 1032 "fullyDrawnTime": { |
| 1033 "$ref": "Duration", |
| 1034 "description": "Optional. The time from app start to reachin
g the developer-reported \"fully drawn\" time. This is only stored if the app in
cludes a call to Activity.reportFullyDrawn(). See https://developer.android.com/
topic/performance/launch-time.html#time-full" |
| 1035 }, |
| 1036 "initialDisplayTime": { |
| 1037 "$ref": "Duration", |
| 1038 "description": "The time from app start to the first display
ed activity being drawn, as reported in Logcat. See https://developer.android.co
m/topic/performance/launch-time.html#time-initial" |
| 1039 } |
| 1040 }, |
| 1041 "type": "object" |
| 1042 }, |
1104 "BasicPerfSampleSeries": { | 1043 "BasicPerfSampleSeries": { |
1105 "description": "Encapsulates the metadata for basic sample series re
presented by a line chart", | 1044 "description": "Encapsulates the metadata for basic sample series re
presented by a line chart", |
1106 "id": "BasicPerfSampleSeries", | 1045 "id": "BasicPerfSampleSeries", |
1107 "properties": { | 1046 "properties": { |
1108 "perfMetricType": { | 1047 "perfMetricType": { |
1109 "enum": [ | 1048 "enum": [ |
1110 "cpu", | 1049 "cpu", |
1111 "graphics", | 1050 "graphics", |
1112 "memory", | 1051 "memory", |
1113 "network", | 1052 "network", |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1545 "$ref": "MemoryInfo", | 1484 "$ref": "MemoryInfo", |
1546 "description": "Memory related environment info" | 1485 "description": "Memory related environment info" |
1547 } | 1486 } |
1548 }, | 1487 }, |
1549 "type": "object" | 1488 "type": "object" |
1550 }, | 1489 }, |
1551 "PerfMetricsSummary": { | 1490 "PerfMetricsSummary": { |
1552 "description": "A summary of perf metrics collected and performance
environment info", | 1491 "description": "A summary of perf metrics collected and performance
environment info", |
1553 "id": "PerfMetricsSummary", | 1492 "id": "PerfMetricsSummary", |
1554 "properties": { | 1493 "properties": { |
| 1494 "appStartTime": { |
| 1495 "$ref": "AppStartTime" |
| 1496 }, |
1555 "executionId": { | 1497 "executionId": { |
1556 "description": "A tool results execution ID.", | 1498 "description": "A tool results execution ID.", |
1557 "type": "string" | 1499 "type": "string" |
1558 }, | 1500 }, |
1559 "historyId": { | 1501 "historyId": { |
1560 "description": "A tool results history ID.", | 1502 "description": "A tool results history ID.", |
1561 "type": "string" | 1503 "type": "string" |
1562 }, | 1504 }, |
1563 "perfEnvironment": { | 1505 "perfEnvironment": { |
1564 "$ref": "PerfEnvironment", | 1506 "$ref": "PerfEnvironment", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 "Status": { | 1646 "Status": { |
1705 "description": "The `Status` type defines a logical error model that
is suitable for different programming environments, including REST APIs and RPC
APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe
d to be:\n\n- Simple to use and understand for most users - Flexible enough to m
eet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces
of data: error code, error message, and error details. The error code should be
an enum value of [google.rpc.Code][], but it may accept additional error codes
if needed. The error message should be a developer-facing English message that h
elps developers *understand* and *resolve* the error. If a localized user-facing
error message is needed, put the localized message in the error details or loca
lize it in the client. The optional error details may contain arbitrary informat
ion about the error. There is a predefined set of error detail types in the pack
age `google.rpc` that can be used for common error conditions.\n\n# Language map
ping\n\nThe `Status` message is the logical representation of the error model, b
ut it is not necessarily the actual wire format. When the `Status` message is ex
posed in different client libraries and different wire protocols, it can be mapp
ed differently. For example, it will likely be mapped to some exceptions in Java
, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error
model and the `Status` message can be used in a variety of environments, either
with or without APIs, to provide a consistent developer experience across differ
ent environments.\n\nExample uses of this error model include:\n\n- Partial erro
rs. If a service needs to return partial errors to the client, it may embed the
`Status` in the normal response to indicate the partial errors.\n\n- Workflow er
rors. A typical workflow has multiple steps. Each step may have a `Status` messa
ge for error reporting.\n\n- Batch operations. If a client uses batch request an
d batch response, the `Status` message should be used directly inside batch resp
onse, one for each error sub-response.\n\n- Asynchronous operations. If an API c
all embeds asynchronous operation results in its response, the status of those o
perations should be represented directly using the `Status` message.\n\n- Loggin
g. If some API errors are stored in logs, the message `Status` could be used dir
ectly after any stripping needed for security/privacy reasons.", | 1647 "description": "The `Status` type defines a logical error model that
is suitable for different programming environments, including REST APIs and RPC
APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe
d to be:\n\n- Simple to use and understand for most users - Flexible enough to m
eet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces
of data: error code, error message, and error details. The error code should be
an enum value of [google.rpc.Code][], but it may accept additional error codes
if needed. The error message should be a developer-facing English message that h
elps developers *understand* and *resolve* the error. If a localized user-facing
error message is needed, put the localized message in the error details or loca
lize it in the client. The optional error details may contain arbitrary informat
ion about the error. There is a predefined set of error detail types in the pack
age `google.rpc` that can be used for common error conditions.\n\n# Language map
ping\n\nThe `Status` message is the logical representation of the error model, b
ut it is not necessarily the actual wire format. When the `Status` message is ex
posed in different client libraries and different wire protocols, it can be mapp
ed differently. For example, it will likely be mapped to some exceptions in Java
, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error
model and the `Status` message can be used in a variety of environments, either
with or without APIs, to provide a consistent developer experience across differ
ent environments.\n\nExample uses of this error model include:\n\n- Partial erro
rs. If a service needs to return partial errors to the client, it may embed the
`Status` in the normal response to indicate the partial errors.\n\n- Workflow er
rors. A typical workflow has multiple steps. Each step may have a `Status` messa
ge for error reporting.\n\n- Batch operations. If a client uses batch request an
d batch response, the `Status` message should be used directly inside batch resp
onse, one for each error sub-response.\n\n- Asynchronous operations. If an API c
all embeds asynchronous operation results in its response, the status of those o
perations should be represented directly using the `Status` message.\n\n- Loggin
g. If some API errors are stored in logs, the message `Status` could be used dir
ectly after any stripping needed for security/privacy reasons.", |
1706 "id": "Status", | 1648 "id": "Status", |
1707 "properties": { | 1649 "properties": { |
1708 "code": { | 1650 "code": { |
1709 "description": "The status code, which should be an enum val
ue of [google.rpc.Code][].", | 1651 "description": "The status code, which should be an enum val
ue of [google.rpc.Code][].", |
1710 "format": "int32", | 1652 "format": "int32", |
1711 "type": "integer" | 1653 "type": "integer" |
1712 }, | 1654 }, |
1713 "details": { | 1655 "details": { |
1714 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | 1656 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", |
1715 "items": { | 1657 "items": { |
1716 "$ref": "Any" | 1658 "$ref": "Any" |
1717 }, | 1659 }, |
1718 "type": "array" | 1660 "type": "array" |
1719 }, | 1661 }, |
1720 "message": { | 1662 "message": { |
1721 "description": "A developer-facing error message, which shou
ld be in English. Any user-facing error message should be localized and sent in
the [google.rpc.Status.details][] field, or localized by the client.", | 1663 "description": "A developer-facing error message, which shou
ld be in English. Any user-facing error message should be localized and sent in
the [google.rpc.Status.details][] field, or localized by the client.", |
1722 "type": "string" | 1664 "type": "string" |
1723 } | 1665 } |
1724 }, | 1666 }, |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2059 "description": "A FileReference to an output file.\n\n- In r
esponse: always set - In create/update request: always set" | 2001 "description": "A FileReference to an output file.\n\n- In r
esponse: always set - In create/update request: always set" |
2060 }, | 2002 }, |
2061 "testCase": { | 2003 "testCase": { |
2062 "$ref": "TestCaseReference", | 2004 "$ref": "TestCaseReference", |
2063 "description": "The test case to which this output file belo
ngs.\n\n- In response: present if set by create/update request - In create/updat
e request: optional" | 2005 "description": "The test case to which this output file belo
ngs.\n\n- In response: present if set by create/update request - In create/updat
e request: optional" |
2064 } | 2006 } |
2065 }, | 2007 }, |
2066 "type": "object" | 2008 "type": "object" |
2067 } | 2009 } |
2068 }, | 2010 }, |
2069 "servicePath": "toolresults/v1beta3/projects/", | 2011 "servicePath": "toolresults/v1beta3firstparty/projects/", |
2070 "title": "Cloud Tool Results API", | 2012 "title": "Cloud Tool Results firstparty API", |
2071 "version": "v1beta3" | 2013 "version": "v1beta3firstparty" |
2072 } | 2014 } |
OLD | NEW |