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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/calendar__v3.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 "access_token": { 28 "alt": {
29 "description": "OAuth access token.", 29 "default": "json",
30 "description": "Data format for response.",
31 "enum": [
32 "json",
33 "media",
34 "proto"
35 ],
36 "enumDescriptions": [
37 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf"
40 ],
30 "location": "query", 41 "location": "query",
31 "type": "string" 42 "type": "string"
32 }, 43 },
33 "prettyPrint": {
34 "default": "true",
35 "description": "Returns response with indentations and line breaks." ,
36 "location": "query",
37 "type": "boolean"
38 },
39 "key": { 44 "key": {
40 "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.", 45 "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.",
41 "location": "query", 46 "location": "query",
42 "type": "string" 47 "type": "string"
43 }, 48 },
49 "access_token": {
50 "description": "OAuth access token.",
51 "location": "query",
52 "type": "string"
53 },
44 "quotaUser": { 54 "quotaUser": {
45 "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.", 55 "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.",
46 "location": "query", 56 "location": "query",
47 "type": "string" 57 "type": "string"
48 }, 58 },
49 "pp": { 59 "pp": {
50 "default": "true", 60 "default": "true",
51 "description": "Pretty-print response.", 61 "description": "Pretty-print response.",
52 "location": "query", 62 "location": "query",
53 "type": "boolean" 63 "type": "boolean"
54 }, 64 },
65 "bearer_token": {
66 "description": "OAuth bearer token.",
67 "location": "query",
68 "type": "string"
69 },
70 "oauth_token": {
71 "description": "OAuth 2.0 token for the current user.",
72 "location": "query",
73 "type": "string"
74 },
75 "upload_protocol": {
76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
77 "location": "query",
78 "type": "string"
79 },
80 "prettyPrint": {
81 "default": "true",
82 "description": "Returns response with indentations and line breaks." ,
83 "location": "query",
84 "type": "boolean"
85 },
86 "uploadType": {
87 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
88 "location": "query",
89 "type": "string"
90 },
55 "fields": { 91 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.", 92 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query", 93 "location": "query",
58 "type": "string" 94 "type": "string"
59 }, 95 },
60 "alt": { 96 "callback": {
61 "default": "json", 97 "description": "JSONP",
62 "description": "Data format for response.",
63 "enum": [
64 "json",
65 "media",
66 "proto"
67 ],
68 "enumDescriptions": [
69 "Responses with Content-Type of application/json",
70 "Media download with context-dependent Content-Type",
71 "Responses with Content-Type of application/x-protobuf"
72 ],
73 "location": "query", 98 "location": "query",
74 "type": "string" 99 "type": "string"
75 }, 100 },
76 "$.xgafv": { 101 "$.xgafv": {
77 "description": "V1 error format.", 102 "description": "V1 error format.",
78 "enum": [ 103 "enum": [
79 "1", 104 "1",
80 "2" 105 "2"
81 ], 106 ],
82 "enumDescriptions": [ 107 "enumDescriptions": [
83 "v1 error format", 108 "v1 error format",
84 "v2 error format" 109 "v2 error format"
85 ], 110 ],
86 "location": "query", 111 "location": "query",
87 "type": "string" 112 "type": "string"
88 },
89 "callback": {
90 "description": "JSONP",
91 "location": "query",
92 "type": "string"
93 },
94 "oauth_token": {
95 "description": "OAuth 2.0 token for the current user.",
96 "location": "query",
97 "type": "string"
98 },
99 "uploadType": {
100 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
101 "location": "query",
102 "type": "string"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "upload_protocol": {
110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "projects": { 117 "projects": {
118 "resources": { 118 "resources": {
119 "triggers": { 119 "triggers": {
120 "methods": { 120 "methods": {
121 "create": { 121 "delete": {
122 "description": "Creates a new BuildTrigger.\n\nThis API is experimental.", 122 "description": "Deletes an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.",
123 "httpMethod": "POST", 123 "httpMethod": "DELETE",
124 "id": "cloudbuild.projects.triggers.create", 124 "id": "cloudbuild.projects.triggers.delete",
125 "parameterOrder": [ 125 "parameterOrder": [
126 "projectId" 126 "projectId",
127 "triggerId"
127 ], 128 ],
128 "parameters": { 129 "parameters": {
130 "triggerId": {
131 "description": "ID of the BuildTrigger to de lete.",
132 "location": "path",
133 "required": true,
134 "type": "string"
135 },
129 "projectId": { 136 "projectId": {
130 "description": "ID of the project for which to configure automatic builds.", 137 "description": "ID of the project that owns the trigger.",
131 "location": "path", 138 "location": "path",
132 "required": true, 139 "required": true,
133 "type": "string" 140 "type": "string"
134 } 141 }
135 }, 142 },
136 "path": "v1/projects/{projectId}/triggers", 143 "path": "v1/projects/{projectId}/triggers/{triggerId }",
137 "request": {
138 "$ref": "BuildTrigger"
139 },
140 "response": { 144 "response": {
141 "$ref": "BuildTrigger" 145 "$ref": "Empty"
142 }, 146 },
143 "scopes": [ 147 "scopes": [
144 "https://www.googleapis.com/auth/cloud-platform" 148 "https://www.googleapis.com/auth/cloud-platform"
145 ] 149 ]
146 }, 150 },
147 "get": { 151 "get": {
148 "description": "Gets information about a BuildTrigge r.\n\nThis API is experimental.", 152 "description": "Gets information about a BuildTrigge r.\n\nThis API is experimental.",
149 "httpMethod": "GET", 153 "httpMethod": "GET",
150 "id": "cloudbuild.projects.triggers.get", 154 "id": "cloudbuild.projects.triggers.get",
151 "parameterOrder": [ 155 "parameterOrder": [
152 "projectId", 156 "projectId",
153 "triggerId" 157 "triggerId"
154 ], 158 ],
155 "parameters": { 159 "parameters": {
160 "triggerId": {
161 "description": "ID of the BuildTrigger to ge t.",
162 "location": "path",
163 "required": true,
164 "type": "string"
165 },
156 "projectId": { 166 "projectId": {
157 "description": "ID of the project that owns the trigger.", 167 "description": "ID of the project that owns the trigger.",
158 "location": "path", 168 "location": "path",
159 "required": true, 169 "required": true,
160 "type": "string" 170 "type": "string"
161 },
162 "triggerId": {
163 "description": "ID of the BuildTrigger to ge t.",
164 "location": "path",
165 "required": true,
166 "type": "string"
167 } 171 }
168 }, 172 },
169 "path": "v1/projects/{projectId}/triggers/{triggerId }", 173 "path": "v1/projects/{projectId}/triggers/{triggerId }",
170 "response": { 174 "response": {
171 "$ref": "BuildTrigger" 175 "$ref": "BuildTrigger"
172 }, 176 },
173 "scopes": [ 177 "scopes": [
174 "https://www.googleapis.com/auth/cloud-platform" 178 "https://www.googleapis.com/auth/cloud-platform"
175 ] 179 ]
176 }, 180 },
(...skipping 13 matching lines...) Expand all
190 } 194 }
191 }, 195 },
192 "path": "v1/projects/{projectId}/triggers", 196 "path": "v1/projects/{projectId}/triggers",
193 "response": { 197 "response": {
194 "$ref": "ListBuildTriggersResponse" 198 "$ref": "ListBuildTriggersResponse"
195 }, 199 },
196 "scopes": [ 200 "scopes": [
197 "https://www.googleapis.com/auth/cloud-platform" 201 "https://www.googleapis.com/auth/cloud-platform"
198 ] 202 ]
199 }, 203 },
200 "delete": {
201 "description": "Deletes an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.",
202 "httpMethod": "DELETE",
203 "id": "cloudbuild.projects.triggers.delete",
204 "parameterOrder": [
205 "projectId",
206 "triggerId"
207 ],
208 "parameters": {
209 "projectId": {
210 "description": "ID of the project that owns the trigger.",
211 "location": "path",
212 "required": true,
213 "type": "string"
214 },
215 "triggerId": {
216 "description": "ID of the BuildTrigger to de lete.",
217 "location": "path",
218 "required": true,
219 "type": "string"
220 }
221 },
222 "path": "v1/projects/{projectId}/triggers/{triggerId }",
223 "response": {
224 "$ref": "Empty"
225 },
226 "scopes": [
227 "https://www.googleapis.com/auth/cloud-platform"
228 ]
229 },
230 "patch": { 204 "patch": {
231 "description": "Updates an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.", 205 "description": "Updates an BuildTrigger by its proje ct ID and trigger ID.\n\nThis API is experimental.",
232 "httpMethod": "PATCH", 206 "httpMethod": "PATCH",
233 "id": "cloudbuild.projects.triggers.patch", 207 "id": "cloudbuild.projects.triggers.patch",
234 "parameterOrder": [ 208 "parameterOrder": [
235 "projectId", 209 "projectId",
236 "triggerId" 210 "triggerId"
237 ], 211 ],
238 "parameters": { 212 "parameters": {
239 "projectId": { 213 "triggerId": {
240 "description": "ID of the project that owns the trigger.", 214 "description": "ID of the BuildTrigger to up date.",
241 "location": "path", 215 "location": "path",
242 "required": true, 216 "required": true,
243 "type": "string" 217 "type": "string"
244 }, 218 },
245 "triggerId": { 219 "projectId": {
246 "description": "ID of the BuildTrigger to up date.", 220 "description": "ID of the project that owns the trigger.",
247 "location": "path", 221 "location": "path",
248 "required": true, 222 "required": true,
249 "type": "string" 223 "type": "string"
250 } 224 }
251 }, 225 },
252 "path": "v1/projects/{projectId}/triggers/{triggerId }", 226 "path": "v1/projects/{projectId}/triggers/{triggerId }",
253 "request": { 227 "request": {
254 "$ref": "BuildTrigger" 228 "$ref": "BuildTrigger"
255 }, 229 },
230 "response": {
231 "$ref": "BuildTrigger"
232 },
233 "scopes": [
234 "https://www.googleapis.com/auth/cloud-platform"
235 ]
236 },
237 "create": {
238 "description": "Creates a new BuildTrigger.\n\nThis API is experimental.",
239 "httpMethod": "POST",
240 "id": "cloudbuild.projects.triggers.create",
241 "parameterOrder": [
242 "projectId"
243 ],
244 "parameters": {
245 "projectId": {
246 "description": "ID of the project for which to configure automatic builds.",
247 "location": "path",
248 "required": true,
249 "type": "string"
250 }
251 },
252 "path": "v1/projects/{projectId}/triggers",
253 "request": {
254 "$ref": "BuildTrigger"
255 },
256 "response": { 256 "response": {
257 "$ref": "BuildTrigger" 257 "$ref": "BuildTrigger"
258 }, 258 },
259 "scopes": [ 259 "scopes": [
260 "https://www.googleapis.com/auth/cloud-platform" 260 "https://www.googleapis.com/auth/cloud-platform"
261 ] 261 ]
262 } 262 }
263 } 263 }
264 }, 264 },
265 "builds": { 265 "builds": {
(...skipping 17 matching lines...) Expand all
283 "request": { 283 "request": {
284 "$ref": "Build" 284 "$ref": "Build"
285 }, 285 },
286 "response": { 286 "response": {
287 "$ref": "Operation" 287 "$ref": "Operation"
288 }, 288 },
289 "scopes": [ 289 "scopes": [
290 "https://www.googleapis.com/auth/cloud-platform" 290 "https://www.googleapis.com/auth/cloud-platform"
291 ] 291 ]
292 }, 292 },
293 "get": { 293 "cancel": {
294 "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.", 294 "description": "Cancels a requested build in progres s.",
295 "httpMethod": "GET", 295 "httpMethod": "POST",
296 "id": "cloudbuild.projects.builds.get", 296 "id": "cloudbuild.projects.builds.cancel",
297 "parameterOrder": [ 297 "parameterOrder": [
298 "projectId", 298 "projectId",
299 "id" 299 "id"
300 ], 300 ],
301 "parameters": { 301 "parameters": {
302 "projectId": { 302 "projectId": {
303 "description": "ID of the project.", 303 "description": "ID of the project.",
304 "location": "path", 304 "location": "path",
305 "required": true, 305 "required": true,
306 "type": "string" 306 "type": "string"
307 }, 307 },
308 "id": { 308 "id": {
309 "description": "ID of the build.", 309 "description": "ID of the build.",
310 "location": "path", 310 "location": "path",
311 "required": true, 311 "required": true,
312 "type": "string" 312 "type": "string"
313 } 313 }
314 }, 314 },
315 "path": "v1/projects/{projectId}/builds/{id}", 315 "path": "v1/projects/{projectId}/builds/{id}:cancel" ,
316 "request": {
317 "$ref": "CancelBuildRequest"
318 },
316 "response": { 319 "response": {
317 "$ref": "Build" 320 "$ref": "Build"
318 }, 321 },
319 "scopes": [ 322 "scopes": [
320 "https://www.googleapis.com/auth/cloud-platform" 323 "https://www.googleapis.com/auth/cloud-platform"
321 ] 324 ]
322 }, 325 },
323 "list": { 326 "get": {
324 "description": "Lists previously requested builds.\n \nPreviously requested builds may still be in-progress, or may have finished\nsu ccessfully or unsuccessfully.", 327 "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.",
325 "httpMethod": "GET", 328 "httpMethod": "GET",
326 "id": "cloudbuild.projects.builds.list", 329 "id": "cloudbuild.projects.builds.get",
327 "parameterOrder": [ 330 "parameterOrder": [
328 "projectId" 331 "projectId",
332 "id"
329 ], 333 ],
330 "parameters": { 334 "parameters": {
331 "pageSize": { 335 "id": {
332 "description": "Number of results to return in the list.", 336 "description": "ID of the build.",
333 "format": "int32", 337 "location": "path",
334 "location": "query", 338 "required": true,
335 "type": "integer"
336 },
337 "filter": {
338 "description": "The raw filter text to const rain the results.",
339 "location": "query",
340 "type": "string" 339 "type": "string"
341 }, 340 },
342 "projectId": { 341 "projectId": {
343 "description": "ID of the project.", 342 "description": "ID of the project.",
344 "location": "path", 343 "location": "path",
345 "required": true, 344 "required": true,
346 "type": "string" 345 "type": "string"
347 },
348 "pageToken": {
349 "description": "Token to provide to skip to a particular spot in the list.",
350 "location": "query",
351 "type": "string"
352 } 346 }
353 }, 347 },
354 "path": "v1/projects/{projectId}/builds", 348 "path": "v1/projects/{projectId}/builds/{id}",
355 "response": { 349 "response": {
356 "$ref": "ListBuildsResponse" 350 "$ref": "Build"
357 }, 351 },
358 "scopes": [ 352 "scopes": [
359 "https://www.googleapis.com/auth/cloud-platform" 353 "https://www.googleapis.com/auth/cloud-platform"
360 ] 354 ]
361 }, 355 },
362 "cancel": { 356 "list": {
363 "description": "Cancels a requested build in progres s.", 357 "description": "Lists previously requested builds.\n \nPreviously requested builds may still be in-progress, or may have finished\nsu ccessfully or unsuccessfully.",
364 "httpMethod": "POST", 358 "httpMethod": "GET",
365 "id": "cloudbuild.projects.builds.cancel", 359 "id": "cloudbuild.projects.builds.list",
366 "parameterOrder": [ 360 "parameterOrder": [
367 "projectId", 361 "projectId"
368 "id"
369 ], 362 ],
370 "parameters": { 363 "parameters": {
371 "projectId": { 364 "projectId": {
372 "description": "ID of the project.", 365 "description": "ID of the project.",
373 "location": "path", 366 "location": "path",
374 "required": true, 367 "required": true,
375 "type": "string" 368 "type": "string"
376 }, 369 },
377 "id": { 370 "filter": {
378 "description": "ID of the build.", 371 "description": "The raw filter text to const rain the results.",
379 "location": "path", 372 "location": "query",
380 "required": true,
381 "type": "string" 373 "type": "string"
374 },
375 "pageToken": {
376 "description": "Token to provide to skip to a particular spot in the list.",
377 "location": "query",
378 "type": "string"
379 },
380 "pageSize": {
381 "description": "Number of results to return in the list.",
382 "format": "int32",
383 "location": "query",
384 "type": "integer"
382 } 385 }
383 }, 386 },
384 "path": "v1/projects/{projectId}/builds/{id}:cancel" , 387 "path": "v1/projects/{projectId}/builds",
385 "request": {
386 "$ref": "CancelBuildRequest"
387 },
388 "response": { 388 "response": {
389 "$ref": "Build" 389 "$ref": "ListBuildsResponse"
390 }, 390 },
391 "scopes": [ 391 "scopes": [
392 "https://www.googleapis.com/auth/cloud-platform" 392 "https://www.googleapis.com/auth/cloud-platform"
393 ] 393 ]
394 } 394 }
395 } 395 }
396 } 396 }
397 } 397 }
398 }, 398 },
399 "operations": { 399 "operations": {
400 "methods": { 400 "methods": {
401 "get": { 401 "cancel": {
402 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.", 402 "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`.",
403 "httpMethod": "GET", 403 "httpMethod": "POST",
404 "id": "cloudbuild.operations.get", 404 "id": "cloudbuild.operations.cancel",
405 "parameterOrder": [ 405 "parameterOrder": [
406 "name" 406 "name"
407 ], 407 ],
408 "parameters": { 408 "parameters": {
409 "name": { 409 "name": {
410 "description": "The name of the operation resource." , 410 "description": "The name of the operation resource t o be cancelled.",
411 "location": "path", 411 "location": "path",
412 "pattern": "^operations/.+$", 412 "pattern": "^operations/.+$",
413 "required": true, 413 "required": true,
414 "type": "string" 414 "type": "string"
415 } 415 }
416 }, 416 },
417 "path": "v1/{+name}", 417 "path": "v1/{+name}:cancel",
418 "request": {
419 "$ref": "CancelOperationRequest"
420 },
418 "response": { 421 "response": {
419 "$ref": "Operation" 422 "$ref": "Empty"
420 }, 423 },
421 "scopes": [ 424 "scopes": [
422 "https://www.googleapis.com/auth/cloud-platform" 425 "https://www.googleapis.com/auth/cloud-platform"
423 ] 426 ]
424 }, 427 },
425 "list": { 428 "list": {
426 "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` .", 429 "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` .",
427 "httpMethod": "GET", 430 "httpMethod": "GET",
428 "id": "cloudbuild.operations.list", 431 "id": "cloudbuild.operations.list",
429 "parameterOrder": [ 432 "parameterOrder": [
430 "name" 433 "name"
431 ], 434 ],
432 "parameters": { 435 "parameters": {
433 "pageSize": {
434 "description": "The standard list page size.",
435 "format": "int32",
436 "location": "query",
437 "type": "integer"
438 },
439 "filter": { 436 "filter": {
440 "description": "The standard list filter.", 437 "description": "The standard list filter.",
441 "location": "query", 438 "location": "query",
442 "type": "string" 439 "type": "string"
443 }, 440 },
444 "name": { 441 "name": {
445 "description": "The name of the operation collection .", 442 "description": "The name of the operation collection .",
446 "location": "path", 443 "location": "path",
447 "pattern": "^operations$", 444 "pattern": "^operations$",
448 "required": true, 445 "required": true,
449 "type": "string" 446 "type": "string"
450 }, 447 },
451 "pageToken": { 448 "pageToken": {
452 "description": "The standard list page token.", 449 "description": "The standard list page token.",
453 "location": "query", 450 "location": "query",
454 "type": "string" 451 "type": "string"
452 },
453 "pageSize": {
454 "description": "The standard list page size.",
455 "format": "int32",
456 "location": "query",
457 "type": "integer"
455 } 458 }
456 }, 459 },
457 "path": "v1/{+name}", 460 "path": "v1/{+name}",
458 "response": { 461 "response": {
459 "$ref": "ListOperationsResponse" 462 "$ref": "ListOperationsResponse"
460 }, 463 },
461 "scopes": [ 464 "scopes": [
462 "https://www.googleapis.com/auth/cloud-platform" 465 "https://www.googleapis.com/auth/cloud-platform"
463 ] 466 ]
464 }, 467 },
465 "cancel": { 468 "get": {
466 "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`.", 469 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
467 "httpMethod": "POST", 470 "httpMethod": "GET",
468 "id": "cloudbuild.operations.cancel", 471 "id": "cloudbuild.operations.get",
469 "parameterOrder": [ 472 "parameterOrder": [
470 "name" 473 "name"
471 ], 474 ],
472 "parameters": { 475 "parameters": {
473 "name": { 476 "name": {
474 "description": "The name of the operation resource t o be cancelled.", 477 "description": "The name of the operation resource." ,
475 "location": "path", 478 "location": "path",
476 "pattern": "^operations/.+$", 479 "pattern": "^operations/.+$",
477 "required": true, 480 "required": true,
478 "type": "string" 481 "type": "string"
479 } 482 }
480 }, 483 },
481 "path": "v1/{+name}:cancel", 484 "path": "v1/{+name}",
482 "request": {
483 "$ref": "CancelOperationRequest"
484 },
485 "response": { 485 "response": {
486 "$ref": "Empty" 486 "$ref": "Operation"
487 }, 487 },
488 "scopes": [ 488 "scopes": [
489 "https://www.googleapis.com/auth/cloud-platform" 489 "https://www.googleapis.com/auth/cloud-platform"
490 ] 490 ]
491 } 491 }
492 } 492 }
493 } 493 }
494 }, 494 },
495 "revision": "20170119", 495 "revision": "20170207",
496 "rootUrl": "https://cloudbuild.googleapis.com/", 496 "rootUrl": "https://cloudbuild.googleapis.com/",
497 "schemas": { 497 "schemas": {
498 "Status": { 498 "StorageSource": {
499 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin 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\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.", 499 "description": "StorageSource describes the location of the source i n an archive file in\nGoogle Cloud Storage.",
500 "id": "Status", 500 "id": "StorageSource",
501 "properties": { 501 "properties": {
502 "code": { 502 "generation": {
503 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 503 "description": "Google Cloud Storage generation for the obje ct. If the generation is\nomitted, the latest generation will be used.",
504 "format": "int32", 504 "format": "int64",
505 "type": "integer" 505 "type": "string"
506 }, 506 },
507 "details": { 507 "bucket": {
508 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 508 "description": "Google Cloud Storage bucket containing sourc e (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket -naming#requirements)).",
509 "items": { 509 "type": "string"
510 "additionalProperties": {
511 "description": "Properties of the object. Contains f ield @type with type URL.",
512 "type": "any"
513 },
514 "type": "object"
515 },
516 "type": "array"
517 }, 510 },
518 "message": { 511 "object": {
519 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", 512 "description": "Google Cloud Storage object containing sourc e.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\ nbuild.",
520 "type": "string" 513 "type": "string"
521 } 514 }
522 }, 515 },
523 "type": "object" 516 "type": "object"
517 },
518 "Results": {
519 "description": "Results describes the artifacts created by the build pipeline.",
520 "id": "Results",
521 "properties": {
522 "buildStepImages": {
523 "description": "List of build step digests, in order corresp onding to build step indices.",
524 "items": {
525 "type": "string"
526 },
527 "type": "array"
528 },
529 "images": {
530 "description": "Images that were built as a part of the buil d.",
531 "items": {
532 "$ref": "BuiltImage"
533 },
534 "type": "array"
535 }
536 },
537 "type": "object"
524 }, 538 },
525 "BuildOperationMetadata": { 539 "BuildOperationMetadata": {
526 "description": "Metadata for build operations.", 540 "description": "Metadata for build operations.",
527 "id": "BuildOperationMetadata", 541 "id": "BuildOperationMetadata",
528 "properties": { 542 "properties": {
529 "build": { 543 "build": {
530 "$ref": "Build", 544 "$ref": "Build",
531 "description": "The build that the operation is tracking." 545 "description": "The build that the operation is tracking."
532 } 546 }
533 }, 547 },
534 "type": "object" 548 "type": "object"
535 }, 549 },
536 "Source": {
537 "description": "Source describes the location of the source in a sup ported storage\nservice.",
538 "id": "Source",
539 "properties": {
540 "storageSource": {
541 "$ref": "StorageSource",
542 "description": "If provided, get the source from this locati on in in Google Cloud\nStorage."
543 },
544 "repoSource": {
545 "$ref": "RepoSource",
546 "description": "If provided, get source from this location i n a Cloud Repo."
547 }
548 },
549 "type": "object"
550 },
551 "SourceProvenance": { 550 "SourceProvenance": {
552 "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.", 551 "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.",
553 "id": "SourceProvenance", 552 "id": "SourceProvenance",
554 "properties": { 553 "properties": {
555 "resolvedRepoSource": { 554 "resolvedRepoSource": {
556 "$ref": "RepoSource", 555 "$ref": "RepoSource",
557 "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved." 556 "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved."
558 }, 557 },
559 "resolvedStorageSource": { 558 "resolvedStorageSource": {
560 "$ref": "StorageSource", 559 "$ref": "StorageSource",
561 "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved." 560 "description": "A copy of the build's source.storage_source, if exists, with any\ngenerations resolved."
562 }, 561 },
563 "fileHashes": { 562 "fileHashes": {
564 "additionalProperties": { 563 "additionalProperties": {
565 "$ref": "FileHashes" 564 "$ref": "FileHashes"
566 }, 565 },
567 "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", 566 "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",
568 "type": "object" 567 "type": "object"
569 } 568 }
570 }, 569 },
571 "type": "object" 570 "type": "object"
572 }, 571 },
572 "CancelOperationRequest": {
573 "description": "The request message for Operations.CancelOperation." ,
574 "id": "CancelOperationRequest",
575 "properties": {},
576 "type": "object"
577 },
573 "Operation": { 578 "Operation": {
574 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 579 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
575 "id": "Operation", 580 "id": "Operation",
576 "properties": { 581 "properties": {
577 "error": {
578 "$ref": "Status",
579 "description": "The error result of the operation in case of failure or cancellation."
580 },
581 "done": { 582 "done": {
582 "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.", 583 "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.",
583 "type": "boolean" 584 "type": "boolean"
584 }, 585 },
585 "metadata": {
586 "additionalProperties": {
587 "description": "Properties of the object. Contains field @type with type URL.",
588 "type": "any"
589 },
590 "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. ",
591 "type": "object"
592 },
593 "response": { 586 "response": {
594 "additionalProperties": { 587 "additionalProperties": {
595 "description": "Properties of the object. Contains field @type with type URL.", 588 "description": "Properties of the object. Contains field @type with type URL.",
596 "type": "any" 589 "type": "any"
597 }, 590 },
598 "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`.", 591 "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`.",
599 "type": "object" 592 "type": "object"
600 }, 593 },
601 "name": { 594 "name": {
602 "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` .", 595 "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` .",
603 "type": "string" 596 "type": "string"
597 },
598 "error": {
599 "$ref": "Status",
600 "description": "The error result of the operation in case of failure or cancellation."
601 },
602 "metadata": {
603 "additionalProperties": {
604 "description": "Properties of the object. Contains field @type with type URL.",
605 "type": "any"
606 },
607 "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. ",
608 "type": "object"
604 } 609 }
605 }, 610 },
606 "type": "object" 611 "type": "object"
607 }, 612 },
608 "BuildTrigger": { 613 "ListBuildTriggersResponse": {
609 "description": "Configuration for an automated build in response to source repository\nchanges.", 614 "description": "Response containing existing BuildTriggers.",
610 "id": "BuildTrigger", 615 "id": "ListBuildTriggersResponse",
611 "properties": { 616 "properties": {
612 "id": { 617 "triggers": {
613 "description": "Unique identifier of the trigger.\n\n@Output Only", 618 "description": "BuildTriggers for the project, sorted by cre ate_time descending.",
614 "type": "string" 619 "items": {
615 }, 620 "$ref": "BuildTrigger"
616 "description": { 621 },
617 "description": "Human-readable description of this trigger." , 622 "type": "array"
618 "type": "string"
619 },
620 "triggerTemplate": {
621 "$ref": "RepoSource",
622 "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."
623 },
624 "disabled": {
625 "description": "If true, the trigger will never result in a build.",
626 "type": "boolean"
627 },
628 "createTime": {
629 "description": "Time when the trigger was created.\n\n@Outpu tOnly",
630 "format": "google-datetime",
631 "type": "string"
632 },
633 "filename": {
634 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.",
635 "type": "string"
636 },
637 "build": {
638 "$ref": "Build",
639 "description": "Contents of the build template."
640 } 623 }
641 }, 624 },
642 "type": "object" 625 "type": "object"
643 }, 626 },
644 "BuiltImage": { 627 "BuiltImage": {
645 "description": "BuiltImage describes an image built by the pipeline. ", 628 "description": "BuiltImage describes an image built by the pipeline. ",
646 "id": "BuiltImage", 629 "id": "BuiltImage",
647 "properties": { 630 "properties": {
648 "digest": { 631 "digest": {
649 "description": "Docker Registry 2.0 digest.", 632 "description": "Docker Registry 2.0 digest.",
650 "type": "string" 633 "type": "string"
651 }, 634 },
652 "name": { 635 "name": {
653 "description": "Name used to push the container image to Goo gle Container Registry, as\npresented to `docker push`.", 636 "description": "Name used to push the container image to Goo gle Container Registry, as\npresented to `docker push`.",
654 "type": "string" 637 "type": "string"
655 } 638 }
656 }, 639 },
657 "type": "object" 640 "type": "object"
658 }, 641 },
642 "BuildStep": {
643 "description": "BuildStep describes a step to perform in the build p ipeline.",
644 "id": "BuildStep",
645 "properties": {
646 "name": {
647 "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/GoogleCloudPlatf orm/cloud-builders). The Docker daemon\nwill also have cached many of the layers for some popular images, like\n\"ubuntu\", \"debian\", but they will be refresh ed at the time you attempt to\nuse 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 availa ble to use as the name for a\nlater build step.",
648 "type": "string"
649 },
650 "entrypoint": {
651 "description": "Optional entrypoint to be used instead of th e build step image's default\nIf unset, the image's default will be used.",
652 "type": "string"
653 },
654 "id": {
655 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.",
656 "type": "string"
657 },
658 "dir": {
659 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.",
660 "type": "string"
661 },
662 "waitFor": {
663 "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.",
664 "items": {
665 "type": "string"
666 },
667 "type": "array"
668 },
669 "env": {
670 "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\".",
671 "items": {
672 "type": "string"
673 },
674 "type": "array"
675 },
676 "args": {
677 "description": "A list of arguments that will be presented t o the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.",
678 "items": {
679 "type": "string"
680 },
681 "type": "array"
682 }
683 },
684 "type": "object"
685 },
659 "Hash": { 686 "Hash": {
660 "description": "Container message for hash values.", 687 "description": "Container message for hash values.",
661 "id": "Hash", 688 "id": "Hash",
662 "properties": { 689 "properties": {
663 "value": {
664 "description": "The hash value.",
665 "format": "byte",
666 "type": "string"
667 },
668 "type": { 690 "type": {
669 "description": "The type of hash that was performed.", 691 "description": "The type of hash that was performed.",
670 "enum": [ 692 "enum": [
671 "NONE", 693 "NONE",
672 "SHA256" 694 "SHA256"
673 ], 695 ],
674 "enumDescriptions": [ 696 "enumDescriptions": [
675 "No hash requested.", 697 "No hash requested.",
676 "Use a sha256 hash." 698 "Use a sha256 hash."
677 ], 699 ],
678 "type": "string" 700 "type": "string"
701 },
702 "value": {
703 "description": "The hash value.",
704 "format": "byte",
705 "type": "string"
679 } 706 }
680 }, 707 },
681 "type": "object" 708 "type": "object"
682 }, 709 },
683 "CancelOperationRequest": { 710 "RepoSource": {
684 "description": "The request message for Operations.CancelOperation." , 711 "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.",
685 "id": "CancelOperationRequest", 712 "id": "RepoSource",
686 "properties": {},
687 "type": "object"
688 },
689 "StorageSource": {
690 "description": "StorageSource describes the location of the source i n an archive file in\nGoogle Cloud Storage.",
691 "id": "StorageSource",
692 "properties": { 713 "properties": {
693 "bucket": { 714 "projectId": {
694 "description": "Google Cloud Storage bucket containing sourc e (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket -naming#requirements)).", 715 "description": "ID of the project that owns the repo. If omi tted, the project ID requesting\nthe build is assumed.",
695 "type": "string" 716 "type": "string"
696 }, 717 },
697 "generation": { 718 "repoName": {
698 "description": "Google Cloud Storage generation for the obje ct. If the generation is\nomitted, the latest generation will be used.", 719 "description": "Name of the repo. If omitted, the name \"def ault\" is assumed.",
699 "format": "int64",
700 "type": "string" 720 "type": "string"
701 }, 721 },
702 "object": { 722 "branchName": {
703 "description": "Google Cloud Storage object containing sourc e.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\ nbuild.", 723 "description": "Name of the branch to build.",
724 "type": "string"
725 },
726 "tagName": {
727 "description": "Name of the tag to build.",
728 "type": "string"
729 },
730 "commitSha": {
731 "description": "Explicit commit SHA to build.",
704 "type": "string" 732 "type": "string"
705 } 733 }
706 }, 734 },
707 "type": "object" 735 "type": "object"
708 }, 736 },
709 "Results": { 737 "FileHashes": {
710 "description": "Results describes the artifacts created by the build pipeline.", 738 "description": "Container message for hashes of byte content of file s, used in\nSourceProvenance messages to verify integrity of source input to the build.",
711 "id": "Results", 739 "id": "FileHashes",
712 "properties": { 740 "properties": {
713 "images": { 741 "fileHash": {
714 "description": "Images that were built as a part of the buil d.", 742 "description": "Collection of file hashes.",
715 "items": { 743 "items": {
716 "$ref": "BuiltImage" 744 "$ref": "Hash"
717 }, 745 },
718 "type": "array" 746 "type": "array"
747 }
748 },
749 "type": "object"
750 },
751 "Status": {
752 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin 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\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
753 "id": "Status",
754 "properties": {
755 "code": {
756 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
757 "format": "int32",
758 "type": "integer"
719 }, 759 },
720 "buildStepImages": { 760 "message": {
721 "description": "List of build step digests, in order corresp onding to build step indices.", 761 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
762 "type": "string"
763 },
764 "details": {
765 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
722 "items": { 766 "items": {
767 "additionalProperties": {
768 "description": "Properties of the object. Contains f ield @type with type URL.",
769 "type": "any"
770 },
771 "type": "object"
772 },
773 "type": "array"
774 }
775 },
776 "type": "object"
777 },
778 "Empty": {
779 "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 `{}`.",
780 "id": "Empty",
781 "properties": {},
782 "type": "object"
783 },
784 "BuildTrigger": {
785 "description": "Configuration for an automated build in response to source repository\nchanges.",
786 "id": "BuildTrigger",
787 "properties": {
788 "filename": {
789 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.",
790 "type": "string"
791 },
792 "triggerTemplate": {
793 "$ref": "RepoSource",
794 "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."
795 },
796 "id": {
797 "description": "Unique identifier of the trigger.\n\n@Output Only",
798 "type": "string"
799 },
800 "build": {
801 "$ref": "Build",
802 "description": "Contents of the build template."
803 },
804 "substitutions": {
805 "additionalProperties": {
723 "type": "string" 806 "type": "string"
724 }, 807 },
725 "type": "array" 808 "description": "Substitutions data for Build resource.",
809 "type": "object"
810 },
811 "description": {
812 "description": "Human-readable description of this trigger." ,
813 "type": "string"
814 },
815 "createTime": {
816 "description": "Time when the trigger was created.\n\n@Outpu tOnly",
817 "format": "google-datetime",
818 "type": "string"
819 },
820 "disabled": {
821 "description": "If true, the trigger will never result in a build.",
822 "type": "boolean"
726 } 823 }
727 }, 824 },
728 "type": "object" 825 "type": "object"
729 }, 826 },
730 "Build": { 827 "Build": {
731 "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.", 828 "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.",
732 "id": "Build", 829 "id": "Build",
733 "properties": { 830 "properties": {
734 "id": { 831 "createTime": {
735 "description": "Unique identifier of the build.\n@OutputOnly ", 832 "description": "Time at which the request to create the buil d was received.\n@OutputOnly",
833 "format": "google-datetime",
736 "type": "string" 834 "type": "string"
737 }, 835 },
738 "sourceProvenance": { 836 "sourceProvenance": {
739 "$ref": "SourceProvenance", 837 "$ref": "SourceProvenance",
740 "description": "A permanent fixed identifier for source.\n@O utputOnly" 838 "description": "A permanent fixed identifier for source.\n@O utputOnly"
741 }, 839 },
742 "results": { 840 "images": {
743 "$ref": "Results", 841 "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.",
744 "description": "Results of the build.\n@OutputOnly" 842 "items": {
843 "type": "string"
844 },
845 "type": "array"
846 },
847 "projectId": {
848 "description": "ID of the project.\n@OutputOnly.",
849 "type": "string"
850 },
851 "logUrl": {
852 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly",
853 "type": "string"
854 },
855 "finishTime": {
856 "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",
857 "format": "google-datetime",
858 "type": "string"
859 },
860 "options": {
861 "$ref": "BuildOptions",
862 "description": "Special options for this build."
863 },
864 "source": {
865 "$ref": "Source",
866 "description": "Describes where to find the source files to build."
867 },
868 "timeout": {
869 "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.",
870 "format": "google-duration",
871 "type": "string"
745 }, 872 },
746 "status": { 873 "status": {
747 "description": "Status of the build.\n@OutputOnly", 874 "description": "Status of the build.\n@OutputOnly",
748 "enum": [ 875 "enum": [
749 "STATUS_UNKNOWN", 876 "STATUS_UNKNOWN",
750 "QUEUED", 877 "QUEUED",
751 "WORKING", 878 "WORKING",
752 "SUCCESS", 879 "SUCCESS",
753 "FAILURE", 880 "FAILURE",
754 "INTERNAL_ERROR", 881 "INTERNAL_ERROR",
755 "TIMEOUT", 882 "TIMEOUT",
756 "CANCELLED" 883 "CANCELLED"
757 ], 884 ],
758 "enumDescriptions": [ 885 "enumDescriptions": [
759 "Status of the build is unknown.", 886 "Status of the build is unknown.",
760 "Build is queued; work has not yet begun.", 887 "Build is queued; work has not yet begun.",
761 "Build is being executed.", 888 "Build is being executed.",
762 "Build finished successfully.", 889 "Build finished successfully.",
763 "Build failed to complete successfully.", 890 "Build failed to complete successfully.",
764 "Build failed due to an internal cause.", 891 "Build failed due to an internal cause.",
765 "Build took longer than was allowed.", 892 "Build took longer than was allowed.",
766 "Build was canceled by a user." 893 "Build was canceled by a user."
767 ], 894 ],
768 "type": "string" 895 "type": "string"
769 }, 896 },
770 "options": { 897 "statusDetail": {
771 "$ref": "BuildOptions", 898 "description": "Customer-readable message about the current status.\n@OutputOnly",
772 "description": "Special options for this build."
773 },
774 "finishTime": {
775 "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",
776 "format": "google-datetime",
777 "type": "string" 899 "type": "string"
778 }, 900 },
779 "timeout": { 901 "results": {
780 "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.", 902 "$ref": "Results",
781 "format": "google-duration", 903 "description": "Results of the build.\n@OutputOnly"
904 },
905 "logsBucket": {
906 "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`.",
782 "type": "string" 907 "type": "string"
783 }, 908 },
784 "steps": { 909 "steps": {
785 "description": "Describes the operations to be performed on the workspace.", 910 "description": "Describes the operations to be performed on the workspace.",
786 "items": { 911 "items": {
787 "$ref": "BuildStep" 912 "$ref": "BuildStep"
788 }, 913 },
789 "type": "array" 914 "type": "array"
790 }, 915 },
791 "source": { 916 "buildTriggerId": {
792 "$ref": "Source", 917 "description": "The ID of the BuildTrigger that triggered th is build, if it was\ntriggered automatically.\n@OutputOnly",
793 "description": "Describes where to find the source files to build."
794 },
795 "createTime": {
796 "description": "Time at which the request to create the buil d was received.\n@OutputOnly",
797 "format": "google-datetime",
798 "type": "string" 918 "type": "string"
799 }, 919 },
800 "logUrl": { 920 "id": {
801 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly", 921 "description": "Unique identifier of the build.\n@OutputOnly ",
802 "type": "string" 922 "type": "string"
803 }, 923 },
804 "statusDetail": {
805 "description": "Customer-readable message about the current status.\n@OutputOnly",
806 "type": "string"
807 },
808 "images": {
809 "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.",
810 "items": {
811 "type": "string"
812 },
813 "type": "array"
814 },
815 "startTime": { 924 "startTime": {
816 "description": "Time at which execution of the build was sta rted.\n@OutputOnly", 925 "description": "Time at which execution of the build was sta rted.\n@OutputOnly",
817 "format": "google-datetime", 926 "format": "google-datetime",
818 "type": "string" 927 "type": "string"
819 }, 928 },
820 "buildTriggerId": { 929 "substitutions": {
821 "description": "The ID of the BuildTrigger that triggered th is build, if it was\ntriggered automatically.\n@OutputOnly", 930 "additionalProperties": {
822 "type": "string" 931 "type": "string"
823 }, 932 },
824 "logsBucket": { 933 "description": "Substitutions data for Build resource.",
825 "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`.", 934 "type": "object"
826 "type": "string"
827 },
828 "projectId": {
829 "description": "ID of the project.\n@OutputOnly.",
830 "type": "string"
831 } 935 }
832 }, 936 },
833 "type": "object" 937 "type": "object"
834 },
835 "ListBuildTriggersResponse": {
836 "description": "Response containing existing BuildTriggers.",
837 "id": "ListBuildTriggersResponse",
838 "properties": {
839 "triggers": {
840 "description": "BuildTriggers for the project, sorted by cre ate_time descending.",
841 "items": {
842 "$ref": "BuildTrigger"
843 },
844 "type": "array"
845 }
846 },
847 "type": "object"
848 }, 938 },
849 "CancelBuildRequest": { 939 "CancelBuildRequest": {
850 "description": "Request to cancel an ongoing build.", 940 "description": "Request to cancel an ongoing build.",
851 "id": "CancelBuildRequest", 941 "id": "CancelBuildRequest",
852 "properties": {}, 942 "properties": {},
853 "type": "object" 943 "type": "object"
854 }, 944 },
945 "ListBuildsResponse": {
946 "description": "Response including listed builds.",
947 "id": "ListBuildsResponse",
948 "properties": {
949 "nextPageToken": {
950 "description": "Token to receive the next page of results.",
951 "type": "string"
952 },
953 "builds": {
954 "description": "Builds will be sorted by create_time, descen ding.",
955 "items": {
956 "$ref": "Build"
957 },
958 "type": "array"
959 }
960 },
961 "type": "object"
962 },
855 "ListOperationsResponse": { 963 "ListOperationsResponse": {
856 "description": "The response message for Operations.ListOperations." , 964 "description": "The response message for Operations.ListOperations." ,
857 "id": "ListOperationsResponse", 965 "id": "ListOperationsResponse",
858 "properties": { 966 "properties": {
859 "nextPageToken": {
860 "description": "The standard List next-page token.",
861 "type": "string"
862 },
863 "operations": { 967 "operations": {
864 "description": "A list of operations that matches the specif ied filter in the request.", 968 "description": "A list of operations that matches the specif ied filter in the request.",
865 "items": { 969 "items": {
866 "$ref": "Operation" 970 "$ref": "Operation"
867 }, 971 },
868 "type": "array" 972 "type": "array"
869 }
870 },
871 "type": "object"
872 },
873 "FileHashes": {
874 "description": "Container message for hashes of byte content of file s, used in\nSourceProvenance messages to verify integrity of source input to the build.",
875 "id": "FileHashes",
876 "properties": {
877 "fileHash": {
878 "description": "Collection of file hashes.",
879 "items": {
880 "$ref": "Hash"
881 },
882 "type": "array"
883 }
884 },
885 "type": "object"
886 },
887 "RepoSource": {
888 "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.",
889 "id": "RepoSource",
890 "properties": {
891 "repoName": {
892 "description": "Name of the repo. If omitted, the name \"def ault\" is assumed.",
893 "type": "string"
894 }, 973 },
895 "tagName": { 974 "nextPageToken": {
896 "description": "Name of the tag to build.", 975 "description": "The standard List next-page token.",
897 "type": "string"
898 },
899 "projectId": {
900 "description": "ID of the project that owns the repo. If omi tted, the project ID requesting\nthe build is assumed.",
901 "type": "string"
902 },
903 "branchName": {
904 "description": "Name of the branch to build.",
905 "type": "string"
906 },
907 "commitSha": {
908 "description": "Explicit commit SHA to build.",
909 "type": "string" 976 "type": "string"
910 } 977 }
911 }, 978 },
912 "type": "object" 979 "type": "object"
913 }, 980 },
914 "BuildStep": { 981 "Source": {
915 "description": "BuildStep describes a step to perform in the build p ipeline.", 982 "description": "Source describes the location of the source in a sup ported storage\nservice.",
916 "id": "BuildStep", 983 "id": "Source",
917 "properties": { 984 "properties": {
918 "id": { 985 "repoSource": {
919 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.", 986 "$ref": "RepoSource",
920 "type": "string" 987 "description": "If provided, get source from this location i n a Cloud Repo."
921 }, 988 },
922 "env": { 989 "storageSource": {
923 "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\".", 990 "$ref": "StorageSource",
924 "items": { 991 "description": "If provided, get the source from this locati on in in Google Cloud\nStorage."
925 "type": "string"
926 },
927 "type": "array"
928 },
929 "waitFor": {
930 "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.",
931 "items": {
932 "type": "string"
933 },
934 "type": "array"
935 },
936 "args": {
937 "description": "A list of arguments that will be presented t o the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.",
938 "items": {
939 "type": "string"
940 },
941 "type": "array"
942 },
943 "entrypoint": {
944 "description": "Optional entrypoint to be used instead of th e build step image's default\nIf unset, the image's default will be used.",
945 "type": "string"
946 },
947 "name": {
948 "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/GoogleCloudPlatf orm/cloud-builders). The Docker daemon\nwill also have cached many of the layers for some popular images, like\n\"ubuntu\", \"debian\", but they will be refresh ed at the time you attempt to\nuse 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 availa ble to use as the name for a\nlater build step.",
949 "type": "string"
950 },
951 "dir": {
952 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.",
953 "type": "string"
954 } 992 }
955 }, 993 },
956 "type": "object" 994 "type": "object"
957 }, 995 },
958 "Empty": {
959 "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 `{}`.",
960 "id": "Empty",
961 "properties": {},
962 "type": "object"
963 },
964 "BuildOptions": { 996 "BuildOptions": {
965 "description": "Optional arguments to enable specific features of bu ilds.", 997 "description": "Optional arguments to enable specific features of bu ilds.",
966 "id": "BuildOptions", 998 "id": "BuildOptions",
967 "properties": { 999 "properties": {
968 "sourceProvenanceHash": { 1000 "sourceProvenanceHash": {
969 "description": "Requested hash for SourceProvenance.", 1001 "description": "Requested hash for SourceProvenance.",
970 "enumDescriptions": [ 1002 "enumDescriptions": [
971 "No hash requested.", 1003 "No hash requested.",
972 "Use a sha256 hash." 1004 "Use a sha256 hash."
973 ], 1005 ],
(...skipping 13 matching lines...) Expand all
987 "VERIFIED" 1019 "VERIFIED"
988 ], 1020 ],
989 "enumDescriptions": [ 1021 "enumDescriptions": [
990 "Not a verifiable build. (default)", 1022 "Not a verifiable build. (default)",
991 "Verified build." 1023 "Verified build."
992 ], 1024 ],
993 "type": "string" 1025 "type": "string"
994 } 1026 }
995 }, 1027 },
996 "type": "object" 1028 "type": "object"
997 },
998 "ListBuildsResponse": {
999 "description": "Response including listed builds.",
1000 "id": "ListBuildsResponse",
1001 "properties": {
1002 "nextPageToken": {
1003 "description": "Token to receive the next page of results.",
1004 "type": "string"
1005 },
1006 "builds": {
1007 "description": "Builds will be sorted by create_time, descen ding.",
1008 "items": {
1009 "$ref": "Build"
1010 },
1011 "type": "array"
1012 }
1013 },
1014 "type": "object"
1015 } 1029 }
1016 }, 1030 },
1017 "servicePath": "", 1031 "servicePath": "",
1018 "title": "Google Cloud Container Builder API", 1032 "title": "Google Cloud Container Builder API",
1019 "version": "v1" 1033 "version": "v1"
1020 } 1034 }
OLDNEW
« no previous file with comments | « discovery/googleapis/calendar__v3.json ('k') | discovery/googleapis/clouddebugger__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698