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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/cloudbilling__v1.json ('k') | discovery/googleapis/clouddebugger__v2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://cloudbuild.googleapis.com/", 12 "baseUrl": "https://cloudbuild.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud Build", 14 "canonicalName": "Cloud Build",
15 "description": "Builds container images in the cloud.", 15 "description": "Builds container images in the cloud.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/container-builder/docs/", 17 "documentationLink": "https://cloud.google.com/container-builder/docs/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "cloudbuild:v1", 22 "id": "cloudbuild:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "cloudbuild", 24 "name": "cloudbuild",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "bearer_token": { 28 "access_token": {
29 "description": "OAuth bearer token.", 29 "description": "OAuth access token.",
30 "location": "query", 30 "location": "query",
31 "type": "string" 31 "type": "string"
32 }, 32 },
33 "key": {
34 "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.",
35 "location": "query",
36 "type": "string"
37 },
38 "quotaUser": {
39 "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.",
40 "location": "query",
41 "type": "string"
42 },
43 "pp": {
44 "default": "true",
45 "description": "Pretty-print response.",
46 "location": "query",
47 "type": "boolean"
48 },
33 "oauth_token": { 49 "oauth_token": {
34 "description": "OAuth 2.0 token for the current user.", 50 "description": "OAuth 2.0 token for the current user.",
35 "location": "query", 51 "location": "query",
36 "type": "string" 52 "type": "string"
37 }, 53 },
54 "bearer_token": {
55 "description": "OAuth bearer token.",
56 "location": "query",
57 "type": "string"
58 },
38 "upload_protocol": { 59 "upload_protocol": {
39 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
40 "location": "query", 61 "location": "query",
41 "type": "string" 62 "type": "string"
42 }, 63 },
43 "prettyPrint": { 64 "prettyPrint": {
44 "default": "true", 65 "default": "true",
45 "description": "Returns response with indentations and line breaks." , 66 "description": "Returns response with indentations and line breaks." ,
46 "location": "query", 67 "location": "query",
47 "type": "boolean" 68 "type": "boolean"
48 }, 69 },
49 "fields": { 70 "fields": {
50 "description": "Selector specifying which fields to include in a par tial response.", 71 "description": "Selector specifying which fields to include in a par tial response.",
51 "location": "query", 72 "location": "query",
52 "type": "string" 73 "type": "string"
53 }, 74 },
54 "uploadType": { 75 "uploadType": {
55 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 76 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
56 "location": "query", 77 "location": "query",
57 "type": "string" 78 "type": "string"
58 }, 79 },
59 "callback": {
60 "description": "JSONP",
61 "location": "query",
62 "type": "string"
63 },
64 "$.xgafv": { 80 "$.xgafv": {
65 "description": "V1 error format.", 81 "description": "V1 error format.",
66 "enum": [ 82 "enum": [
67 "1", 83 "1",
68 "2" 84 "2"
69 ], 85 ],
70 "enumDescriptions": [ 86 "enumDescriptions": [
71 "v1 error format", 87 "v1 error format",
72 "v2 error format" 88 "v2 error format"
73 ], 89 ],
74 "location": "query", 90 "location": "query",
75 "type": "string" 91 "type": "string"
76 }, 92 },
93 "callback": {
94 "description": "JSONP",
95 "location": "query",
96 "type": "string"
97 },
77 "alt": { 98 "alt": {
78 "default": "json", 99 "default": "json",
79 "description": "Data format for response.", 100 "description": "Data format for response.",
80 "enum": [ 101 "enum": [
81 "json", 102 "json",
82 "media", 103 "media",
83 "proto" 104 "proto"
84 ], 105 ],
85 "enumDescriptions": [ 106 "enumDescriptions": [
86 "Responses with Content-Type of application/json", 107 "Responses with Content-Type of application/json",
87 "Media download with context-dependent Content-Type", 108 "Media download with context-dependent Content-Type",
88 "Responses with Content-Type of application/x-protobuf" 109 "Responses with Content-Type of application/x-protobuf"
89 ], 110 ],
90 "location": "query", 111 "location": "query",
91 "type": "string" 112 "type": "string"
92 },
93 "key": {
94 "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.",
95 "location": "query",
96 "type": "string"
97 },
98 "access_token": {
99 "description": "OAuth access token.",
100 "location": "query",
101 "type": "string"
102 },
103 "quotaUser": {
104 "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.",
105 "location": "query",
106 "type": "string"
107 },
108 "pp": {
109 "default": "true",
110 "description": "Pretty-print response.",
111 "location": "query",
112 "type": "boolean"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "operations": { 117 "operations": {
118 "methods": { 118 "methods": {
119 "cancel": { 119 "cancel": {
120 "description": "Starts asynchronous cancellation on a long-r unning operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it retur ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o r\nother methods to check whether the cancellation succeeded or whether the\nope ration completed despite cancellation. On successful cancellation,\nthe operatio n is not deleted; instead, it becomes an operation with\nan Operation.error valu e with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", 120 "description": "Starts asynchronous cancellation on a long-r unning operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it retur ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o r\nother methods to check whether the cancellation succeeded or whether the\nope ration completed despite cancellation. On successful cancellation,\nthe operatio n is not deleted; instead, it becomes an operation with\nan Operation.error valu e with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
121 "httpMethod": "POST", 121 "httpMethod": "POST",
122 "id": "cloudbuild.operations.cancel", 122 "id": "cloudbuild.operations.cancel",
(...skipping 14 matching lines...) Expand all
137 "$ref": "CancelOperationRequest" 137 "$ref": "CancelOperationRequest"
138 }, 138 },
139 "response": { 139 "response": {
140 "$ref": "Empty" 140 "$ref": "Empty"
141 }, 141 },
142 "scopes": [ 142 "scopes": [
143 "https://www.googleapis.com/auth/cloud-platform" 143 "https://www.googleapis.com/auth/cloud-platform"
144 ] 144 ]
145 }, 145 },
146 "list": { 146 "list": {
147 "description": "Lists operations that match the specified fi lter in the request. If the\nserver doesn't support this method, it returns `UNI MPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override t he binding\nto use different resource name schemes, such as `users/*/operations` .", 147 "description": "Lists operations that match the specified fi lter in the request. If the\nserver doesn't support this method, it returns `UNI MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin ding\nto use different resource name schemes, such as `users/*/operations`. To\n override the binding, API services can add a binding such as\n`\"/v1/{name=users /*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding user s must ensure the name binding\nis the parent resource, without the operations c ollection id.",
148 "httpMethod": "GET", 148 "httpMethod": "GET",
149 "id": "cloudbuild.operations.list", 149 "id": "cloudbuild.operations.list",
150 "parameterOrder": [ 150 "parameterOrder": [
151 "name" 151 "name"
152 ], 152 ],
153 "parameters": { 153 "parameters": {
154 "filter": {
155 "description": "The standard list filter.",
156 "location": "query",
157 "type": "string"
158 },
154 "name": { 159 "name": {
155 "description": "The name of the operation collection .", 160 "description": "The name of the operation's parent r esource.",
156 "location": "path", 161 "location": "path",
157 "pattern": "^operations$", 162 "pattern": "^operations$",
158 "required": true, 163 "required": true,
159 "type": "string" 164 "type": "string"
160 }, 165 },
161 "pageToken": { 166 "pageToken": {
162 "description": "The standard list page token.", 167 "description": "The standard list page token.",
163 "location": "query", 168 "location": "query",
164 "type": "string" 169 "type": "string"
165 }, 170 },
166 "pageSize": { 171 "pageSize": {
167 "description": "The standard list page size.", 172 "description": "The standard list page size.",
168 "format": "int32", 173 "format": "int32",
169 "location": "query", 174 "location": "query",
170 "type": "integer" 175 "type": "integer"
171 },
172 "filter": {
173 "description": "The standard list filter.",
174 "location": "query",
175 "type": "string"
176 } 176 }
177 }, 177 },
178 "path": "v1/{+name}", 178 "path": "v1/{+name}",
179 "response": { 179 "response": {
180 "$ref": "ListOperationsResponse" 180 "$ref": "ListOperationsResponse"
181 }, 181 },
182 "scopes": [ 182 "scopes": [
183 "https://www.googleapis.com/auth/cloud-platform" 183 "https://www.googleapis.com/auth/cloud-platform"
184 ] 184 ]
185 }, 185 },
(...skipping 18 matching lines...) Expand all
204 "$ref": "Operation" 204 "$ref": "Operation"
205 }, 205 },
206 "scopes": [ 206 "scopes": [
207 "https://www.googleapis.com/auth/cloud-platform" 207 "https://www.googleapis.com/auth/cloud-platform"
208 ] 208 ]
209 } 209 }
210 } 210 }
211 }, 211 },
212 "projects": { 212 "projects": {
213 "resources": { 213 "resources": {
214 "builds": { 214 "triggers": {
215 "methods": { 215 "methods": {
216 "cancel": { 216 "create": {
217 "description": "Cancels a requested build in progres s.", 217 "description": "Creates a new BuildTrigger.\n\nThis API is experimental.",
218 "httpMethod": "POST", 218 "httpMethod": "POST",
219 "id": "cloudbuild.projects.builds.cancel", 219 "id": "cloudbuild.projects.triggers.create",
220 "parameterOrder": [ 220 "parameterOrder": [
221 "projectId", 221 "projectId"
222 "id"
223 ], 222 ],
224 "parameters": { 223 "parameters": {
225 "id": {
226 "description": "ID of the build.",
227 "location": "path",
228 "required": true,
229 "type": "string"
230 },
231 "projectId": { 224 "projectId": {
232 "description": "ID of the project.", 225 "description": "ID of the project for which to configure automatic builds.",
233 "location": "path", 226 "location": "path",
234 "required": true, 227 "required": true,
235 "type": "string" 228 "type": "string"
236 } 229 }
237 }, 230 },
238 "path": "v1/projects/{projectId}/builds/{id}:cancel" , 231 "path": "v1/projects/{projectId}/triggers",
239 "request": { 232 "request": {
240 "$ref": "CancelBuildRequest" 233 "$ref": "BuildTrigger"
241 }, 234 },
242 "response": { 235 "response": {
243 "$ref": "Build" 236 "$ref": "BuildTrigger"
244 }, 237 },
245 "scopes": [ 238 "scopes": [
246 "https://www.googleapis.com/auth/cloud-platform" 239 "https://www.googleapis.com/auth/cloud-platform"
247 ] 240 ]
248 }, 241 },
249 "get": {
250 "description": "Returns information about a previous ly requested build.\n\nThe Build that is returned includes its status (e.g., suc cess or failure,\nor in-progress), and timing information.",
251 "httpMethod": "GET",
252 "id": "cloudbuild.projects.builds.get",
253 "parameterOrder": [
254 "projectId",
255 "id"
256 ],
257 "parameters": {
258 "id": {
259 "description": "ID of the build.",
260 "location": "path",
261 "required": true,
262 "type": "string"
263 },
264 "projectId": {
265 "description": "ID of the project.",
266 "location": "path",
267 "required": true,
268 "type": "string"
269 }
270 },
271 "path": "v1/projects/{projectId}/builds/{id}",
272 "response": {
273 "$ref": "Build"
274 },
275 "scopes": [
276 "https://www.googleapis.com/auth/cloud-platform"
277 ]
278 },
279 "list": {
280 "description": "Lists previously requested builds.\n \nPreviously requested builds may still be in-progress, or may have finished\nsu ccessfully or unsuccessfully.",
281 "httpMethod": "GET",
282 "id": "cloudbuild.projects.builds.list",
283 "parameterOrder": [
284 "projectId"
285 ],
286 "parameters": {
287 "filter": {
288 "description": "The raw filter text to const rain the results.",
289 "location": "query",
290 "type": "string"
291 },
292 "pageToken": {
293 "description": "Token to provide to skip to a particular spot in the list.",
294 "location": "query",
295 "type": "string"
296 },
297 "pageSize": {
298 "description": "Number of results to return in the list.",
299 "format": "int32",
300 "location": "query",
301 "type": "integer"
302 },
303 "projectId": {
304 "description": "ID of the project.",
305 "location": "path",
306 "required": true,
307 "type": "string"
308 }
309 },
310 "path": "v1/projects/{projectId}/builds",
311 "response": {
312 "$ref": "ListBuildsResponse"
313 },
314 "scopes": [
315 "https://www.googleapis.com/auth/cloud-platform"
316 ]
317 },
318 "create": {
319 "description": "Starts a build with the specified co nfiguration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e .g.,\nsuccess or failure).",
320 "httpMethod": "POST",
321 "id": "cloudbuild.projects.builds.create",
322 "parameterOrder": [
323 "projectId"
324 ],
325 "parameters": {
326 "projectId": {
327 "description": "ID of the project.",
328 "location": "path",
329 "required": true,
330 "type": "string"
331 }
332 },
333 "path": "v1/projects/{projectId}/builds",
334 "request": {
335 "$ref": "Build"
336 },
337 "response": {
338 "$ref": "Operation"
339 },
340 "scopes": [
341 "https://www.googleapis.com/auth/cloud-platform"
342 ]
343 }
344 }
345 },
346 "triggers": {
347 "methods": {
348 "delete": { 242 "delete": {
349 "description": "Deletes an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.", 243 "description": "Deletes an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.",
350 "httpMethod": "DELETE", 244 "httpMethod": "DELETE",
351 "id": "cloudbuild.projects.triggers.delete", 245 "id": "cloudbuild.projects.triggers.delete",
352 "parameterOrder": [ 246 "parameterOrder": [
353 "projectId", 247 "projectId",
354 "triggerId" 248 "triggerId"
355 ], 249 ],
356 "parameters": { 250 "parameters": {
357 "triggerId": { 251 "triggerId": {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 "path": "v1/projects/{projectId}/triggers/{triggerId }", 347 "path": "v1/projects/{projectId}/triggers/{triggerId }",
454 "request": { 348 "request": {
455 "$ref": "BuildTrigger" 349 "$ref": "BuildTrigger"
456 }, 350 },
457 "response": { 351 "response": {
458 "$ref": "BuildTrigger" 352 "$ref": "BuildTrigger"
459 }, 353 },
460 "scopes": [ 354 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform" 355 "https://www.googleapis.com/auth/cloud-platform"
462 ] 356 ]
357 }
358 }
359 },
360 "builds": {
361 "methods": {
362 "cancel": {
363 "description": "Cancels a requested build in progres s.",
364 "httpMethod": "POST",
365 "id": "cloudbuild.projects.builds.cancel",
366 "parameterOrder": [
367 "projectId",
368 "id"
369 ],
370 "parameters": {
371 "id": {
372 "description": "ID of the build.",
373 "location": "path",
374 "required": true,
375 "type": "string"
376 },
377 "projectId": {
378 "description": "ID of the project.",
379 "location": "path",
380 "required": true,
381 "type": "string"
382 }
383 },
384 "path": "v1/projects/{projectId}/builds/{id}:cancel" ,
385 "request": {
386 "$ref": "CancelBuildRequest"
387 },
388 "response": {
389 "$ref": "Build"
390 },
391 "scopes": [
392 "https://www.googleapis.com/auth/cloud-platform"
393 ]
394 },
395 "get": {
396 "description": "Returns information about a previous ly requested build.\n\nThe Build that is returned includes its status (e.g., suc cess or failure,\nor in-progress), and timing information.",
397 "httpMethod": "GET",
398 "id": "cloudbuild.projects.builds.get",
399 "parameterOrder": [
400 "projectId",
401 "id"
402 ],
403 "parameters": {
404 "id": {
405 "description": "ID of the build.",
406 "location": "path",
407 "required": true,
408 "type": "string"
409 },
410 "projectId": {
411 "description": "ID of the project.",
412 "location": "path",
413 "required": true,
414 "type": "string"
415 }
416 },
417 "path": "v1/projects/{projectId}/builds/{id}",
418 "response": {
419 "$ref": "Build"
420 },
421 "scopes": [
422 "https://www.googleapis.com/auth/cloud-platform"
423 ]
424 },
425 "list": {
426 "description": "Lists previously requested builds.\n \nPreviously requested builds may still be in-progress, or may have finished\nsu ccessfully or unsuccessfully.",
427 "httpMethod": "GET",
428 "id": "cloudbuild.projects.builds.list",
429 "parameterOrder": [
430 "projectId"
431 ],
432 "parameters": {
433 "filter": {
434 "description": "The raw filter text to const rain the results.",
435 "location": "query",
436 "type": "string"
437 },
438 "pageToken": {
439 "description": "Token to provide to skip to a particular spot in the list.",
440 "location": "query",
441 "type": "string"
442 },
443 "pageSize": {
444 "description": "Number of results to return in the list.",
445 "format": "int32",
446 "location": "query",
447 "type": "integer"
448 },
449 "projectId": {
450 "description": "ID of the project.",
451 "location": "path",
452 "required": true,
453 "type": "string"
454 }
455 },
456 "path": "v1/projects/{projectId}/builds",
457 "response": {
458 "$ref": "ListBuildsResponse"
459 },
460 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform"
462 ]
463 }, 463 },
464 "create": { 464 "create": {
465 "description": "Creates a new BuildTrigger.\n\nThis API is experimental.", 465 "description": "Starts a build with the specified co nfiguration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e .g.,\nsuccess or failure).",
466 "httpMethod": "POST", 466 "httpMethod": "POST",
467 "id": "cloudbuild.projects.triggers.create", 467 "id": "cloudbuild.projects.builds.create",
468 "parameterOrder": [ 468 "parameterOrder": [
469 "projectId" 469 "projectId"
470 ], 470 ],
471 "parameters": { 471 "parameters": {
472 "projectId": { 472 "projectId": {
473 "description": "ID of the project for which to configure automatic builds.", 473 "description": "ID of the project.",
474 "location": "path", 474 "location": "path",
475 "required": true, 475 "required": true,
476 "type": "string" 476 "type": "string"
477 } 477 }
478 }, 478 },
479 "path": "v1/projects/{projectId}/triggers", 479 "path": "v1/projects/{projectId}/builds",
480 "request": { 480 "request": {
481 "$ref": "BuildTrigger" 481 "$ref": "Build"
482 }, 482 },
483 "response": { 483 "response": {
484 "$ref": "BuildTrigger" 484 "$ref": "Operation"
485 }, 485 },
486 "scopes": [ 486 "scopes": [
487 "https://www.googleapis.com/auth/cloud-platform" 487 "https://www.googleapis.com/auth/cloud-platform"
488 ] 488 ]
489 } 489 }
490 } 490 }
491 } 491 }
492 } 492 }
493 } 493 }
494 }, 494 },
495 "revision": "20170522", 495 "revision": "20170612",
496 "rootUrl": "https://cloudbuild.googleapis.com/", 496 "rootUrl": "https://cloudbuild.googleapis.com/",
497 "schemas": { 497 "schemas": {
498 "BuildOperationMetadata": {
499 "description": "Metadata for build operations.",
500 "id": "BuildOperationMetadata",
501 "properties": {
502 "build": {
503 "$ref": "Build",
504 "description": "The build that the operation is tracking."
505 }
506 },
507 "type": "object"
508 },
509 "SourceProvenance": {
510 "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.",
511 "id": "SourceProvenance",
512 "properties": {
513 "fileHashes": {
514 "additionalProperties": {
515 "$ref": "FileHashes"
516 },
517 "description": "Hash(es) of the build source, which can be u sed to verify that the original\nsource integrity was maintained in the build. N ote that FileHashes will\nonly be populated if BuildOptions has requested a Sour ceProvenanceHash.\n\nThe keys to this map are file paths used as build source an d the values\ncontain the hash values for those files.\n\nIf the build source ca me in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will b e for the single path to that file.\n@OutputOnly",
518 "type": "object"
519 },
520 "resolvedRepoSource": {
521 "$ref": "RepoSource",
522 "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved."
523 },
524 "resolvedStorageSource": {
525 "$ref": "StorageSource",
526 "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved."
527 }
528 },
529 "type": "object"
530 },
531 "CancelOperationRequest": {
532 "description": "The request message for Operations.CancelOperation." ,
533 "id": "CancelOperationRequest",
534 "properties": {},
535 "type": "object"
536 },
537 "ListBuildTriggersResponse": {
538 "description": "Response containing existing BuildTriggers.",
539 "id": "ListBuildTriggersResponse",
540 "properties": {
541 "triggers": {
542 "description": "BuildTriggers for the project, sorted by cre ate_time descending.",
543 "items": {
544 "$ref": "BuildTrigger"
545 },
546 "type": "array"
547 }
548 },
549 "type": "object"
550 },
551 "Operation": {
552 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
553 "id": "Operation",
554 "properties": {
555 "done": {
556 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
557 "type": "boolean"
558 },
559 "response": {
560 "additionalProperties": {
561 "description": "Properties of the object. Contains field @type with type URL.",
562 "type": "any"
563 },
564 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
565 "type": "object"
566 },
567 "name": {
568 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
569 "type": "string"
570 },
571 "error": {
572 "$ref": "Status",
573 "description": "The error result of the operation in case of failure or cancellation."
574 },
575 "metadata": {
576 "additionalProperties": {
577 "description": "Properties of the object. Contains field @type with type URL.",
578 "type": "any"
579 },
580 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
581 "type": "object"
582 }
583 },
584 "type": "object"
585 },
586 "BuiltImage": {
587 "description": "BuiltImage describes an image built by the pipeline. ",
588 "id": "BuiltImage",
589 "properties": {
590 "name": {
591 "description": "Name used to push the container image to Goo gle Container Registry, as\npresented to `docker push`.",
592 "type": "string"
593 },
594 "digest": {
595 "description": "Docker Registry 2.0 digest.",
596 "type": "string"
597 }
598 },
599 "type": "object"
600 },
601 "BuildStep": { 498 "BuildStep": {
602 "description": "BuildStep describes a step to perform in the build p ipeline.", 499 "description": "BuildStep describes a step to perform in the build p ipeline.",
603 "id": "BuildStep", 500 "id": "BuildStep",
604 "properties": { 501 "properties": {
502 "dir": {
503 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.",
504 "type": "string"
505 },
605 "waitFor": { 506 "waitFor": {
606 "description": "The ID(s) of the step(s) that this build ste p depends on.\nThis build step will not start until all the build steps in wait_ for\nhave completed successfully. If wait_for is empty, this build step will\nst art when all previous build steps in the Build.Steps list have completed\nsucces sfully.", 507 "description": "The ID(s) of the step(s) that this build ste p depends on.\nThis build step will not start until all the build steps in wait_ for\nhave completed successfully. If wait_for is empty, this build step will\nst art when all previous build steps in the Build.Steps list have completed\nsucces sfully.",
607 "items": { 508 "items": {
608 "type": "string" 509 "type": "string"
609 }, 510 },
610 "type": "array" 511 "type": "array"
611 }, 512 },
612 "env": { 513 "env": {
613 "description": "A list of environment variable definitions t o be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".", 514 "description": "A list of environment variable definitions t o be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
614 "items": { 515 "items": {
(...skipping 12 matching lines...) Expand all
627 "description": "The name of the container image that will ru n this particular build step.\n\nIf the image is already available in the host's Docker daemon's cache, it\nwill be run directly. If not, the host will attempt to pull the image\nfirst, using the builder service account's credentials if nec essary.\n\nThe Docker daemon's cache will already have the latest versions of al l of\nthe officially supported build steps\n([https://github.com/GoogleCloudPlat form/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).\nT he Docker daemon will also have cached many of the layers for some popular\nimag es, like \"ubuntu\", \"debian\", but they will be refreshed at the time you\natt empt to use them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.", 528 "description": "The name of the container image that will ru n this particular build step.\n\nIf the image is already available in the host's Docker daemon's cache, it\nwill be run directly. If not, the host will attempt to pull the image\nfirst, using the builder service account's credentials if nec essary.\n\nThe Docker daemon's cache will already have the latest versions of al l of\nthe officially supported build steps\n([https://github.com/GoogleCloudPlat form/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).\nT he Docker daemon will also have cached many of the layers for some popular\nimag es, like \"ubuntu\", \"debian\", but they will be refreshed at the time you\natt empt to use them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.",
628 "type": "string" 529 "type": "string"
629 }, 530 },
630 "entrypoint": { 531 "entrypoint": {
631 "description": "Optional entrypoint to be used instead of th e build step image's default\nIf unset, the image's default will be used.", 532 "description": "Optional entrypoint to be used instead of th e build step image's default\nIf unset, the image's default will be used.",
632 "type": "string" 533 "type": "string"
633 }, 534 },
634 "id": { 535 "id": {
635 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.", 536 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.",
636 "type": "string" 537 "type": "string"
637 },
638 "dir": {
639 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.",
640 "type": "string"
641 } 538 }
642 }, 539 },
643 "type": "object" 540 "type": "object"
644 }, 541 },
645 "RepoSource": { 542 "RepoSource": {
646 "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.", 543 "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.",
647 "id": "RepoSource", 544 "id": "RepoSource",
648 "properties": { 545 "properties": {
649 "tagName": { 546 "tagName": {
650 "description": "Name of the tag to build.", 547 "description": "Name of the tag to build.",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 "Empty": { 634 "Empty": {
738 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", 635 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
739 "id": "Empty", 636 "id": "Empty",
740 "properties": {}, 637 "properties": {},
741 "type": "object" 638 "type": "object"
742 }, 639 },
743 "BuildTrigger": { 640 "BuildTrigger": {
744 "description": "Configuration for an automated build in response to source repository\nchanges.", 641 "description": "Configuration for an automated build in response to source repository\nchanges.",
745 "id": "BuildTrigger", 642 "id": "BuildTrigger",
746 "properties": { 643 "properties": {
644 "disabled": {
645 "description": "If true, the trigger will never result in a build.",
646 "type": "boolean"
647 },
648 "createTime": {
649 "description": "Time when the trigger was created.\n\n@Outpu tOnly",
650 "format": "google-datetime",
651 "type": "string"
652 },
653 "triggerTemplate": {
654 "$ref": "RepoSource",
655 "description": "Template describing the types of source chan ges to trigger a build.\n\nBranch and tag names in trigger templates are interpr eted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build."
656 },
657 "filename": {
658 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.",
659 "type": "string"
660 },
747 "id": { 661 "id": {
748 "description": "Unique identifier of the trigger.\n\n@Output Only", 662 "description": "Unique identifier of the trigger.\n\n@Output Only",
749 "type": "string" 663 "type": "string"
750 }, 664 },
751 "build": { 665 "build": {
752 "$ref": "Build", 666 "$ref": "Build",
753 "description": "Contents of the build template." 667 "description": "Contents of the build template."
754 }, 668 },
755 "substitutions": { 669 "substitutions": {
756 "additionalProperties": { 670 "additionalProperties": {
757 "type": "string" 671 "type": "string"
758 }, 672 },
759 "description": "Substitutions data for Build resource.", 673 "description": "Substitutions data for Build resource.",
760 "type": "object" 674 "type": "object"
761 }, 675 },
762 "description": { 676 "description": {
763 "description": "Human-readable description of this trigger." , 677 "description": "Human-readable description of this trigger." ,
764 "type": "string" 678 "type": "string"
765 },
766 "disabled": {
767 "description": "If true, the trigger will never result in a build.",
768 "type": "boolean"
769 },
770 "createTime": {
771 "description": "Time when the trigger was created.\n\n@Outpu tOnly",
772 "format": "google-datetime",
773 "type": "string"
774 },
775 "filename": {
776 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.",
777 "type": "string"
778 },
779 "triggerTemplate": {
780 "$ref": "RepoSource",
781 "description": "Template describing the types of source chan ges to trigger a build.\n\nBranch and tag names in trigger templates are interpr eted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build."
782 } 679 }
783 }, 680 },
784 "type": "object" 681 "type": "object"
785 }, 682 },
786 "Build": { 683 "Build": {
787 "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (fo r example, the builder image to run on the source), and what tag to\napply to th e built image when it is pushed to Google Container Registry.\n\nFields can incl ude the following variables which will be expanded when the\nbuild is created:\n \n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource .\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the ta g name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA s pecified by RepoSource or\n resolved from the specified branch or tag.", 684 "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (fo r example, the builder image to run on the source), and what tag to\napply to th e built image when it is pushed to Google Container Registry.\n\nFields can incl ude the following variables which will be expanded when the\nbuild is created:\n \n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource .\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the ta g name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA s pecified by RepoSource or\n resolved from the specified branch or tag.",
788 "id": "Build", 685 "id": "Build",
789 "properties": { 686 "properties": {
790 "buildTriggerId": {
791 "description": "The ID of the BuildTrigger that triggered th is build, if it was\ntriggered automatically.\n@OutputOnly",
792 "type": "string"
793 },
794 "tags": {
795 "description": "Tags for annotation of a Build. These are no t docker tags.",
796 "items": {
797 "type": "string"
798 },
799 "type": "array"
800 },
801 "id": {
802 "description": "Unique identifier of the build.\n@OutputOnly ",
803 "type": "string"
804 },
805 "substitutions": {
806 "additionalProperties": {
807 "type": "string"
808 },
809 "description": "Substitutions data for Build resource.",
810 "type": "object"
811 },
812 "startTime": {
813 "description": "Time at which execution of the build was sta rted.\n@OutputOnly",
814 "format": "google-datetime",
815 "type": "string"
816 },
817 "createTime": { 687 "createTime": {
818 "description": "Time at which the request to create the buil d was received.\n@OutputOnly", 688 "description": "Time at which the request to create the buil d was received.\n@OutputOnly",
819 "format": "google-datetime", 689 "format": "google-datetime",
820 "type": "string" 690 "type": "string"
821 }, 691 },
822 "sourceProvenance": { 692 "sourceProvenance": {
823 "$ref": "SourceProvenance", 693 "$ref": "SourceProvenance",
824 "description": "A permanent fixed identifier for source.\n@O utputOnly" 694 "description": "A permanent fixed identifier for source.\n@O utputOnly"
825 }, 695 },
826 "images": { 696 "images": {
827 "description": "A list of images to be pushed upon the succe ssful completion of all build\nsteps.\n\nThe images will be pushed using the bui lder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to b e pushed, the build is marked FAILURE.", 697 "description": "A list of images to be pushed upon the succe ssful completion of all build\nsteps.\n\nThe images will be pushed using the bui lder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to b e pushed, the build is marked FAILURE.",
828 "items": { 698 "items": {
829 "type": "string" 699 "type": "string"
830 }, 700 },
831 "type": "array" 701 "type": "array"
832 }, 702 },
833 "projectId": { 703 "projectId": {
834 "description": "ID of the project.\n@OutputOnly.", 704 "description": "ID of the project.\n@OutputOnly.",
835 "type": "string" 705 "type": "string"
836 }, 706 },
707 "logUrl": {
708 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly",
709 "type": "string"
710 },
837 "finishTime": { 711 "finishTime": {
838 "description": "Time at which execution of the build was fin ished.\n\nThe difference between finish_time and start_time is the duration of t he\nbuild's execution.\n@OutputOnly", 712 "description": "Time at which execution of the build was fin ished.\n\nThe difference between finish_time and start_time is the duration of t he\nbuild's execution.\n@OutputOnly",
839 "format": "google-datetime", 713 "format": "google-datetime",
840 "type": "string" 714 "type": "string"
841 }, 715 },
842 "logUrl": { 716 "options": {
843 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly", 717 "$ref": "BuildOptions",
844 "type": "string" 718 "description": "Special options for this build."
845 }, 719 },
846 "source": { 720 "source": {
847 "$ref": "Source", 721 "$ref": "Source",
848 "description": "Describes where to find the source files to build." 722 "description": "Describes where to find the source files to build."
849 }, 723 },
850 "options": { 724 "timeout": {
851 "$ref": "BuildOptions", 725 "description": "Amount of time that this build should be all owed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.",
852 "description": "Special options for this build." 726 "format": "google-duration",
853 },
854 "statusDetail": {
855 "description": "Customer-readable message about the current status.\n@OutputOnly",
856 "type": "string" 727 "type": "string"
857 }, 728 },
858 "status": { 729 "status": {
859 "description": "Status of the build.\n@OutputOnly", 730 "description": "Status of the build.\n@OutputOnly",
860 "enum": [ 731 "enum": [
861 "STATUS_UNKNOWN", 732 "STATUS_UNKNOWN",
862 "QUEUED", 733 "QUEUED",
863 "WORKING", 734 "WORKING",
864 "SUCCESS", 735 "SUCCESS",
865 "FAILURE", 736 "FAILURE",
866 "INTERNAL_ERROR", 737 "INTERNAL_ERROR",
867 "TIMEOUT", 738 "TIMEOUT",
868 "CANCELLED" 739 "CANCELLED"
869 ], 740 ],
870 "enumDescriptions": [ 741 "enumDescriptions": [
871 "Status of the build is unknown.", 742 "Status of the build is unknown.",
872 "Build is queued; work has not yet begun.", 743 "Build is queued; work has not yet begun.",
873 "Build is being executed.", 744 "Build is being executed.",
874 "Build finished successfully.", 745 "Build finished successfully.",
875 "Build failed to complete successfully.", 746 "Build failed to complete successfully.",
876 "Build failed due to an internal cause.", 747 "Build failed due to an internal cause.",
877 "Build took longer than was allowed.", 748 "Build took longer than was allowed.",
878 "Build was canceled by a user." 749 "Build was canceled by a user."
879 ], 750 ],
880 "type": "string" 751 "type": "string"
881 }, 752 },
882 "timeout": { 753 "statusDetail": {
883 "description": "Amount of time that this build should be all owed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.", 754 "description": "Customer-readable message about the current status.\n@OutputOnly",
884 "format": "google-duration",
885 "type": "string" 755 "type": "string"
886 }, 756 },
887 "results": { 757 "results": {
888 "$ref": "Results", 758 "$ref": "Results",
889 "description": "Results of the build.\n@OutputOnly" 759 "description": "Results of the build.\n@OutputOnly"
890 }, 760 },
891 "logsBucket": { 761 "logsBucket": {
892 "description": "Google Cloud Storage bucket where logs shoul d be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/ docs/bucket-naming#requirements)).\nLogs file names will be of the format `${log s_bucket}/log-${build_id}.txt`.", 762 "description": "Google Cloud Storage bucket where logs shoul d be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/ docs/bucket-naming#requirements)).\nLogs file names will be of the format `${log s_bucket}/log-${build_id}.txt`.",
893 "type": "string" 763 "type": "string"
894 }, 764 },
895 "steps": { 765 "steps": {
896 "description": "Describes the operations to be performed on the workspace.", 766 "description": "Describes the operations to be performed on the workspace.",
897 "items": { 767 "items": {
898 "$ref": "BuildStep" 768 "$ref": "BuildStep"
899 }, 769 },
900 "type": "array" 770 "type": "array"
771 },
772 "buildTriggerId": {
773 "description": "The ID of the BuildTrigger that triggered th is build, if it was\ntriggered automatically.\n@OutputOnly",
774 "type": "string"
775 },
776 "id": {
777 "description": "Unique identifier of the build.\n@OutputOnly ",
778 "type": "string"
779 },
780 "tags": {
781 "description": "Tags for annotation of a Build. These are no t docker tags.",
782 "items": {
783 "type": "string"
784 },
785 "type": "array"
786 },
787 "startTime": {
788 "description": "Time at which execution of the build was sta rted.\n@OutputOnly",
789 "format": "google-datetime",
790 "type": "string"
791 },
792 "substitutions": {
793 "additionalProperties": {
794 "type": "string"
795 },
796 "description": "Substitutions data for Build resource.",
797 "type": "object"
901 } 798 }
902 }, 799 },
903 "type": "object" 800 "type": "object"
904 }, 801 },
905 "CancelBuildRequest": { 802 "CancelBuildRequest": {
906 "description": "Request to cancel an ongoing build.", 803 "description": "Request to cancel an ongoing build.",
907 "id": "CancelBuildRequest", 804 "id": "CancelBuildRequest",
908 "properties": {}, 805 "properties": {},
909 "type": "object" 806 "type": "object"
910 }, 807 },
(...skipping 30 matching lines...) Expand all
941 }, 838 },
942 "type": "array" 839 "type": "array"
943 } 840 }
944 }, 841 },
945 "type": "object" 842 "type": "object"
946 }, 843 },
947 "Source": { 844 "Source": {
948 "description": "Source describes the location of the source in a sup ported storage\nservice.", 845 "description": "Source describes the location of the source in a sup ported storage\nservice.",
949 "id": "Source", 846 "id": "Source",
950 "properties": { 847 "properties": {
848 "repoSource": {
849 "$ref": "RepoSource",
850 "description": "If provided, get source from this location i n a Cloud Repo."
851 },
951 "storageSource": { 852 "storageSource": {
952 "$ref": "StorageSource", 853 "$ref": "StorageSource",
953 "description": "If provided, get the source from this locati on in in Google Cloud\nStorage." 854 "description": "If provided, get the source from this locati on in in Google Cloud\nStorage."
954 },
955 "repoSource": {
956 "$ref": "RepoSource",
957 "description": "If provided, get source from this location i n a Cloud Repo."
958 } 855 }
959 }, 856 },
960 "type": "object" 857 "type": "object"
961 }, 858 },
962 "BuildOptions": { 859 "BuildOptions": {
963 "description": "Optional arguments to enable specific features of bu ilds.", 860 "description": "Optional arguments to enable specific features of bu ilds.",
964 "id": "BuildOptions", 861 "id": "BuildOptions",
965 "properties": { 862 "properties": {
863 "requestedVerifyOption": {
864 "description": "Requested verifiability options.",
865 "enum": [
866 "NOT_VERIFIED",
867 "VERIFIED"
868 ],
869 "enumDescriptions": [
870 "Not a verifiable build. (default)",
871 "Verified build."
872 ],
873 "type": "string"
874 },
966 "sourceProvenanceHash": { 875 "sourceProvenanceHash": {
967 "description": "Requested hash for SourceProvenance.", 876 "description": "Requested hash for SourceProvenance.",
968 "enumDescriptions": [ 877 "enumDescriptions": [
969 "No hash requested.", 878 "No hash requested.",
970 "Use a sha256 hash." 879 "Use a sha256 hash."
971 ], 880 ],
972 "items": { 881 "items": {
973 "enum": [ 882 "enum": [
974 "NONE", 883 "NONE",
975 "SHA256" 884 "SHA256"
976 ], 885 ],
977 "type": "string" 886 "type": "string"
978 }, 887 },
979 "type": "array" 888 "type": "array"
980 },
981 "requestedVerifyOption": {
982 "description": "Requested verifiability options.",
983 "enum": [
984 "NOT_VERIFIED",
985 "VERIFIED"
986 ],
987 "enumDescriptions": [
988 "Not a verifiable build. (default)",
989 "Verified build."
990 ],
991 "type": "string"
992 } 889 }
993 }, 890 },
994 "type": "object" 891 "type": "object"
995 }, 892 },
996 "StorageSource": { 893 "StorageSource": {
997 "description": "StorageSource describes the location of the source i n an archive file in\nGoogle Cloud Storage.", 894 "description": "StorageSource describes the location of the source i n an archive file in\nGoogle Cloud Storage.",
998 "id": "StorageSource", 895 "id": "StorageSource",
999 "properties": { 896 "properties": {
897 "generation": {
898 "description": "Google Cloud Storage generation for the obje ct. If the generation is\nomitted, the latest generation will be used.",
899 "format": "int64",
900 "type": "string"
901 },
1000 "bucket": { 902 "bucket": {
1001 "description": "Google Cloud Storage bucket containing sourc e (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket -naming#requirements)).", 903 "description": "Google Cloud Storage bucket containing sourc e (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket -naming#requirements)).",
1002 "type": "string" 904 "type": "string"
1003 }, 905 },
1004 "object": { 906 "object": {
1005 "description": "Google Cloud Storage object containing sourc e.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\ nbuild.", 907 "description": "Google Cloud Storage object containing sourc e.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\ nbuild.",
1006 "type": "string" 908 "type": "string"
1007 },
1008 "generation": {
1009 "description": "Google Cloud Storage generation for the obje ct. If the generation is\nomitted, the latest generation will be used.",
1010 "format": "int64",
1011 "type": "string"
1012 } 909 }
1013 }, 910 },
1014 "type": "object" 911 "type": "object"
1015 }, 912 },
1016 "Results": { 913 "Results": {
1017 "description": "Results describes the artifacts created by the build pipeline.", 914 "description": "Results describes the artifacts created by the build pipeline.",
1018 "id": "Results", 915 "id": "Results",
1019 "properties": { 916 "properties": {
917 "images": {
918 "description": "Images that were built as a part of the buil d.",
919 "items": {
920 "$ref": "BuiltImage"
921 },
922 "type": "array"
923 },
1020 "buildStepImages": { 924 "buildStepImages": {
1021 "description": "List of build step digests, in order corresp onding to build step indices.", 925 "description": "List of build step digests, in order corresp onding to build step indices.",
1022 "items": { 926 "items": {
1023 "type": "string" 927 "type": "string"
1024 }, 928 },
1025 "type": "array" 929 "type": "array"
930 }
931 },
932 "type": "object"
933 },
934 "BuildOperationMetadata": {
935 "description": "Metadata for build operations.",
936 "id": "BuildOperationMetadata",
937 "properties": {
938 "build": {
939 "$ref": "Build",
940 "description": "The build that the operation is tracking."
941 }
942 },
943 "type": "object"
944 },
945 "SourceProvenance": {
946 "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.",
947 "id": "SourceProvenance",
948 "properties": {
949 "fileHashes": {
950 "additionalProperties": {
951 "$ref": "FileHashes"
952 },
953 "description": "Hash(es) of the build source, which can be u sed to verify that the original\nsource integrity was maintained in the build. N ote that FileHashes will\nonly be populated if BuildOptions has requested a Sour ceProvenanceHash.\n\nThe keys to this map are file paths used as build source an d the values\ncontain the hash values for those files.\n\nIf the build source ca me in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will b e for the single path to that file.\n@OutputOnly",
954 "type": "object"
1026 }, 955 },
1027 "images": { 956 "resolvedRepoSource": {
1028 "description": "Images that were built as a part of the buil d.", 957 "$ref": "RepoSource",
958 "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved."
959 },
960 "resolvedStorageSource": {
961 "$ref": "StorageSource",
962 "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved."
963 }
964 },
965 "type": "object"
966 },
967 "CancelOperationRequest": {
968 "description": "The request message for Operations.CancelOperation." ,
969 "id": "CancelOperationRequest",
970 "properties": {},
971 "type": "object"
972 },
973 "ListBuildTriggersResponse": {
974 "description": "Response containing existing BuildTriggers.",
975 "id": "ListBuildTriggersResponse",
976 "properties": {
977 "triggers": {
978 "description": "BuildTriggers for the project, sorted by cre ate_time descending.",
1029 "items": { 979 "items": {
1030 "$ref": "BuiltImage" 980 "$ref": "BuildTrigger"
1031 }, 981 },
1032 "type": "array" 982 "type": "array"
1033 } 983 }
1034 }, 984 },
1035 "type": "object" 985 "type": "object"
986 },
987 "Operation": {
988 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
989 "id": "Operation",
990 "properties": {
991 "response": {
992 "additionalProperties": {
993 "description": "Properties of the object. Contains field @type with type URL.",
994 "type": "any"
995 },
996 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
997 "type": "object"
998 },
999 "name": {
1000 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
1001 "type": "string"
1002 },
1003 "error": {
1004 "$ref": "Status",
1005 "description": "The error result of the operation in case of failure or cancellation."
1006 },
1007 "metadata": {
1008 "additionalProperties": {
1009 "description": "Properties of the object. Contains field @type with type URL.",
1010 "type": "any"
1011 },
1012 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
1013 "type": "object"
1014 },
1015 "done": {
1016 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
1017 "type": "boolean"
1018 }
1019 },
1020 "type": "object"
1021 },
1022 "BuiltImage": {
1023 "description": "BuiltImage describes an image built by the pipeline. ",
1024 "id": "BuiltImage",
1025 "properties": {
1026 "name": {
1027 "description": "Name used to push the container image to Goo gle Container Registry, as\npresented to `docker push`.",
1028 "type": "string"
1029 },
1030 "digest": {
1031 "description": "Docker Registry 2.0 digest.",
1032 "type": "string"
1033 }
1034 },
1035 "type": "object"
1036 } 1036 }
1037 }, 1037 },
1038 "servicePath": "", 1038 "servicePath": "",
1039 "title": "Google Cloud Container Builder API", 1039 "title": "Google Cloud Container Builder API",
1040 "version": "v1" 1040 "version": "v1"
1041 } 1041 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudbilling__v1.json ('k') | discovery/googleapis/clouddebugger__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698