Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1 | { |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 2 | "auth": { |
| 3 | "oauth2": { |
| 4 | "scopes": { |
| 5 | "https://www.googleapis.com/auth/cloud-platform": { |
| 6 | "description": "See, edit, configure, and delete your Google Cloud Platform data" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 7 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 8 | } |
| 9 | } |
| 10 | }, |
| 11 | "basePath": "", |
| 12 | "baseUrl": "https://cloudbuild.googleapis.com/", |
| 13 | "batchPath": "batch", |
| 14 | "canonicalName": "Cloud Build", |
| 15 | "description": "Creates and manages builds on Google Cloud Platform.", |
| 16 | "discoveryVersion": "v1", |
| 17 | "documentationLink": "https://cloud.google.com/cloud-build/docs/", |
| 18 | "fullyEncodeReservedExpansion": true, |
| 19 | "icons": { |
| 20 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 | }, |
| 23 | "id": "cloudbuild:v1alpha1", |
| 24 | "kind": "discovery#restDescription", |
| 25 | "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", |
| 26 | "name": "cloudbuild", |
| 27 | "ownerDomain": "google.com", |
| 28 | "ownerName": "Google", |
| 29 | "parameters": { |
| 30 | "$.xgafv": { |
| 31 | "description": "V1 error format.", |
| 32 | "enum": [ |
| 33 | "1", |
| 34 | "2" |
| 35 | ], |
| 36 | "enumDescriptions": [ |
| 37 | "v1 error format", |
| 38 | "v2 error format" |
| 39 | ], |
| 40 | "location": "query", |
| 41 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 42 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 43 | "access_token": { |
| 44 | "description": "OAuth access token.", |
| 45 | "location": "query", |
| 46 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 47 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 48 | "alt": { |
| 49 | "default": "json", |
| 50 | "description": "Data format for response.", |
| 51 | "enum": [ |
| 52 | "json", |
| 53 | "media", |
| 54 | "proto" |
| 55 | ], |
| 56 | "enumDescriptions": [ |
| 57 | "Responses with Content-Type of application/json", |
| 58 | "Media download with context-dependent Content-Type", |
| 59 | "Responses with Content-Type of application/x-protobuf" |
| 60 | ], |
| 61 | "location": "query", |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "callback": { |
| 65 | "description": "JSONP", |
| 66 | "location": "query", |
| 67 | "type": "string" |
| 68 | }, |
| 69 | "fields": { |
| 70 | "description": "Selector specifying which fields to include in a partial response.", |
| 71 | "location": "query", |
| 72 | "type": "string" |
| 73 | }, |
| 74 | "key": { |
| 75 | "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 76 | "location": "query", |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "oauth_token": { |
| 80 | "description": "OAuth 2.0 token for the current user.", |
| 81 | "location": "query", |
| 82 | "type": "string" |
| 83 | }, |
| 84 | "prettyPrint": { |
| 85 | "default": "true", |
| 86 | "description": "Returns response with indentations and line breaks.", |
| 87 | "location": "query", |
| 88 | "type": "boolean" |
| 89 | }, |
| 90 | "quotaUser": { |
| 91 | "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 92 | "location": "query", |
| 93 | "type": "string" |
| 94 | }, |
| 95 | "uploadType": { |
| 96 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 | "location": "query", |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "upload_protocol": { |
| 101 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 | "location": "query", |
| 103 | "type": "string" |
| 104 | } |
| 105 | }, |
| 106 | "protocol": "rest", |
| 107 | "resources": { |
| 108 | "projects": { |
| 109 | "resources": { |
| 110 | "locations": { |
| 111 | "resources": { |
| 112 | "operations": { |
| 113 | "methods": { |
| 114 | "cancel": { |
| 115 | "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| 116 | "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", |
| 117 | "httpMethod": "POST", |
| 118 | "id": "cloudbuild.projects.locations.operations.cancel", |
| 119 | "parameterOrder": [ |
| 120 | "name" |
| 121 | ], |
| 122 | "parameters": { |
| 123 | "name": { |
| 124 | "description": "The name of the operation resource to be cancelled.", |
| 125 | "location": "path", |
| 126 | "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", |
| 127 | "required": true, |
| 128 | "type": "string" |
| 129 | } |
| 130 | }, |
| 131 | "path": "v1alpha1/{+name}:cancel", |
| 132 | "request": { |
| 133 | "$ref": "CancelOperationRequest" |
| 134 | }, |
| 135 | "response": { |
| 136 | "$ref": "Empty" |
| 137 | }, |
| 138 | "scopes": [ |
| 139 | "https://www.googleapis.com/auth/cloud-platform" |
| 140 | ] |
| 141 | }, |
| 142 | "get": { |
| 143 | "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", |
| 144 | "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", |
| 145 | "httpMethod": "GET", |
| 146 | "id": "cloudbuild.projects.locations.operations.get", |
| 147 | "parameterOrder": [ |
| 148 | "name" |
| 149 | ], |
| 150 | "parameters": { |
| 151 | "name": { |
| 152 | "description": "The name of the operation resource.", |
| 153 | "location": "path", |
| 154 | "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", |
| 155 | "required": true, |
| 156 | "type": "string" |
| 157 | } |
| 158 | }, |
| 159 | "path": "v1alpha1/{+name}", |
| 160 | "response": { |
| 161 | "$ref": "Operation" |
| 162 | }, |
| 163 | "scopes": [ |
| 164 | "https://www.googleapis.com/auth/cloud-platform" |
| 165 | ] |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | }, |
| 171 | "workerPools": { |
| 172 | "methods": { |
| 173 | "create": { |
| 174 | "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.", |
| 175 | "flatPath": "v1alpha1/projects/{projectsId}/workerPools", |
| 176 | "httpMethod": "POST", |
| 177 | "id": "cloudbuild.projects.workerPools.create", |
| 178 | "parameterOrder": [ |
| 179 | "parent" |
| 180 | ], |
| 181 | "parameters": { |
| 182 | "parent": { |
| 183 | "description": "ID of the parent project.", |
| 184 | "location": "path", |
| 185 | "pattern": "^projects/[^/]+$", |
| 186 | "required": true, |
| 187 | "type": "string" |
| 188 | } |
| 189 | }, |
| 190 | "path": "v1alpha1/{+parent}/workerPools", |
| 191 | "request": { |
| 192 | "$ref": "WorkerPool" |
| 193 | }, |
| 194 | "response": { |
| 195 | "$ref": "WorkerPool" |
| 196 | }, |
| 197 | "scopes": [ |
| 198 | "https://www.googleapis.com/auth/cloud-platform" |
| 199 | ] |
| 200 | }, |
| 201 | "delete": { |
| 202 | "description": "Deletes a `WorkerPool` by its project ID and WorkerPool name.", |
| 203 | "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", |
| 204 | "httpMethod": "DELETE", |
| 205 | "id": "cloudbuild.projects.workerPools.delete", |
| 206 | "parameterOrder": [ |
| 207 | "name" |
| 208 | ], |
| 209 | "parameters": { |
| 210 | "name": { |
| 211 | "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", |
| 212 | "location": "path", |
| 213 | "pattern": "^projects/[^/]+/workerPools/[^/]+$", |
| 214 | "required": true, |
| 215 | "type": "string" |
| 216 | } |
| 217 | }, |
| 218 | "path": "v1alpha1/{+name}", |
| 219 | "response": { |
| 220 | "$ref": "Empty" |
| 221 | }, |
| 222 | "scopes": [ |
| 223 | "https://www.googleapis.com/auth/cloud-platform" |
| 224 | ] |
| 225 | }, |
| 226 | "get": { |
| 227 | "description": "Returns information about a `WorkerPool`.", |
| 228 | "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", |
| 229 | "httpMethod": "GET", |
| 230 | "id": "cloudbuild.projects.workerPools.get", |
| 231 | "parameterOrder": [ |
| 232 | "name" |
| 233 | ], |
| 234 | "parameters": { |
| 235 | "name": { |
| 236 | "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", |
| 237 | "location": "path", |
| 238 | "pattern": "^projects/[^/]+/workerPools/[^/]+$", |
| 239 | "required": true, |
| 240 | "type": "string" |
| 241 | } |
| 242 | }, |
| 243 | "path": "v1alpha1/{+name}", |
| 244 | "response": { |
| 245 | "$ref": "WorkerPool" |
| 246 | }, |
| 247 | "scopes": [ |
| 248 | "https://www.googleapis.com/auth/cloud-platform" |
| 249 | ] |
| 250 | }, |
| 251 | "list": { |
| 252 | "description": "List project's `WorkerPool`s.", |
| 253 | "flatPath": "v1alpha1/projects/{projectsId}/workerPools", |
| 254 | "httpMethod": "GET", |
| 255 | "id": "cloudbuild.projects.workerPools.list", |
| 256 | "parameterOrder": [ |
| 257 | "parent" |
| 258 | ], |
| 259 | "parameters": { |
| 260 | "parent": { |
| 261 | "description": "ID of the parent project.", |
| 262 | "location": "path", |
| 263 | "pattern": "^projects/[^/]+$", |
| 264 | "required": true, |
| 265 | "type": "string" |
| 266 | } |
| 267 | }, |
| 268 | "path": "v1alpha1/{+parent}/workerPools", |
| 269 | "response": { |
| 270 | "$ref": "ListWorkerPoolsResponse" |
| 271 | }, |
| 272 | "scopes": [ |
| 273 | "https://www.googleapis.com/auth/cloud-platform" |
| 274 | ] |
| 275 | }, |
| 276 | "patch": { |
| 277 | "description": "Update a `WorkerPool`.", |
| 278 | "flatPath": "v1alpha1/projects/{projectsId}/workerPools/{workerPoolsId}", |
| 279 | "httpMethod": "PATCH", |
| 280 | "id": "cloudbuild.projects.workerPools.patch", |
| 281 | "parameterOrder": [ |
| 282 | "name" |
| 283 | ], |
| 284 | "parameters": { |
| 285 | "name": { |
| 286 | "description": "The field will contain name of the resource requested, for example: \"projects/project-1/workerPools/workerpool-name\"", |
| 287 | "location": "path", |
| 288 | "pattern": "^projects/[^/]+/workerPools/[^/]+$", |
| 289 | "required": true, |
| 290 | "type": "string" |
| 291 | } |
| 292 | }, |
| 293 | "path": "v1alpha1/{+name}", |
| 294 | "request": { |
| 295 | "$ref": "WorkerPool" |
| 296 | }, |
| 297 | "response": { |
| 298 | "$ref": "WorkerPool" |
| 299 | }, |
| 300 | "scopes": [ |
| 301 | "https://www.googleapis.com/auth/cloud-platform" |
| 302 | ] |
| 303 | } |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | }, |
yoshi-code-bot | 7700bbf | 2021-05-20 04:44:03 -0700 | [diff] [blame] | 309 | "revision": "20210514", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 310 | "rootUrl": "https://cloudbuild.googleapis.com/", |
| 311 | "schemas": { |
| 312 | "ArtifactObjects": { |
| 313 | "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", |
| 314 | "id": "ArtifactObjects", |
| 315 | "properties": { |
| 316 | "location": { |
| 317 | "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", |
| 318 | "type": "string" |
| 319 | }, |
| 320 | "paths": { |
| 321 | "description": "Path globs used to match files in the build's workspace.", |
| 322 | "items": { |
| 323 | "type": "string" |
| 324 | }, |
| 325 | "type": "array" |
| 326 | }, |
| 327 | "timing": { |
| 328 | "$ref": "TimeSpan", |
| 329 | "description": "Output only. Stores timing information for pushing all artifact objects.", |
| 330 | "readOnly": true |
| 331 | } |
| 332 | }, |
| 333 | "type": "object" |
| 334 | }, |
| 335 | "ArtifactResult": { |
| 336 | "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", |
| 337 | "id": "ArtifactResult", |
| 338 | "properties": { |
| 339 | "fileHash": { |
| 340 | "description": "The file hash of the artifact.", |
| 341 | "items": { |
| 342 | "$ref": "FileHashes" |
| 343 | }, |
| 344 | "type": "array" |
| 345 | }, |
| 346 | "location": { |
| 347 | "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", |
| 348 | "type": "string" |
| 349 | } |
| 350 | }, |
| 351 | "type": "object" |
| 352 | }, |
| 353 | "Artifacts": { |
| 354 | "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", |
| 355 | "id": "Artifacts", |
| 356 | "properties": { |
| 357 | "images": { |
| 358 | "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", |
| 359 | "items": { |
| 360 | "type": "string" |
| 361 | }, |
| 362 | "type": "array" |
| 363 | }, |
| 364 | "objects": { |
| 365 | "$ref": "ArtifactObjects", |
| 366 | "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." |
| 367 | } |
| 368 | }, |
| 369 | "type": "object" |
| 370 | }, |
| 371 | "Build": { |
| 372 | "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", |
| 373 | "id": "Build", |
| 374 | "properties": { |
| 375 | "artifacts": { |
| 376 | "$ref": "Artifacts", |
| 377 | "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." |
| 378 | }, |
| 379 | "availableSecrets": { |
| 380 | "$ref": "Secrets", |
| 381 | "description": "Secrets and secret environment variables." |
| 382 | }, |
| 383 | "buildTriggerId": { |
| 384 | "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", |
| 385 | "readOnly": true, |
| 386 | "type": "string" |
| 387 | }, |
| 388 | "createTime": { |
| 389 | "description": "Output only. Time at which the request to create the build was received.", |
| 390 | "format": "google-datetime", |
| 391 | "readOnly": true, |
| 392 | "type": "string" |
| 393 | }, |
| 394 | "finishTime": { |
| 395 | "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", |
| 396 | "format": "google-datetime", |
| 397 | "readOnly": true, |
| 398 | "type": "string" |
| 399 | }, |
| 400 | "id": { |
| 401 | "description": "Output only. Unique identifier of the build.", |
| 402 | "readOnly": true, |
| 403 | "type": "string" |
| 404 | }, |
| 405 | "images": { |
| 406 | "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", |
| 407 | "items": { |
| 408 | "type": "string" |
| 409 | }, |
| 410 | "type": "array" |
| 411 | }, |
| 412 | "logUrl": { |
| 413 | "description": "Output only. URL to logs for this build in Google Cloud Console.", |
| 414 | "readOnly": true, |
| 415 | "type": "string" |
| 416 | }, |
| 417 | "logsBucket": { |
| 418 | "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", |
| 419 | "type": "string" |
| 420 | }, |
| 421 | "name": { |
| 422 | "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", |
| 423 | "readOnly": true, |
| 424 | "type": "string" |
| 425 | }, |
| 426 | "options": { |
| 427 | "$ref": "BuildOptions", |
| 428 | "description": "Special options for this build." |
| 429 | }, |
| 430 | "projectId": { |
| 431 | "description": "Output only. ID of the project.", |
| 432 | "readOnly": true, |
| 433 | "type": "string" |
| 434 | }, |
| 435 | "queueTtl": { |
| 436 | "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", |
| 437 | "format": "google-duration", |
| 438 | "type": "string" |
| 439 | }, |
| 440 | "results": { |
| 441 | "$ref": "Results", |
| 442 | "description": "Output only. Results of the build.", |
| 443 | "readOnly": true |
| 444 | }, |
| 445 | "secrets": { |
| 446 | "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", |
| 447 | "items": { |
| 448 | "$ref": "Secret" |
| 449 | }, |
| 450 | "type": "array" |
| 451 | }, |
| 452 | "serviceAccount": { |
| 453 | "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", |
| 454 | "type": "string" |
| 455 | }, |
| 456 | "source": { |
| 457 | "$ref": "Source", |
| 458 | "description": "The location of the source files to build." |
| 459 | }, |
| 460 | "sourceProvenance": { |
| 461 | "$ref": "SourceProvenance", |
| 462 | "description": "Output only. A permanent fixed identifier for source.", |
| 463 | "readOnly": true |
| 464 | }, |
| 465 | "startTime": { |
| 466 | "description": "Output only. Time at which execution of the build was started.", |
| 467 | "format": "google-datetime", |
| 468 | "readOnly": true, |
| 469 | "type": "string" |
| 470 | }, |
| 471 | "status": { |
| 472 | "description": "Output only. Status of the build.", |
| 473 | "enum": [ |
| 474 | "STATUS_UNKNOWN", |
| 475 | "QUEUED", |
| 476 | "WORKING", |
| 477 | "SUCCESS", |
| 478 | "FAILURE", |
| 479 | "INTERNAL_ERROR", |
| 480 | "TIMEOUT", |
| 481 | "CANCELLED", |
| 482 | "EXPIRED" |
| 483 | ], |
| 484 | "enumDescriptions": [ |
| 485 | "Status of the build is unknown.", |
| 486 | "Build or step is queued; work has not yet begun.", |
| 487 | "Build or step is being executed.", |
| 488 | "Build or step finished successfully.", |
| 489 | "Build or step failed to complete successfully.", |
| 490 | "Build or step failed due to an internal cause.", |
| 491 | "Build or step took longer than was allowed.", |
| 492 | "Build or step was canceled by a user.", |
| 493 | "Build was enqueued for longer than the value of `queue_ttl`." |
| 494 | ], |
| 495 | "readOnly": true, |
| 496 | "type": "string" |
| 497 | }, |
| 498 | "statusDetail": { |
| 499 | "description": "Output only. Customer-readable message about the current status.", |
| 500 | "readOnly": true, |
| 501 | "type": "string" |
| 502 | }, |
| 503 | "steps": { |
| 504 | "description": "Required. The operations to be performed on the workspace.", |
| 505 | "items": { |
| 506 | "$ref": "BuildStep" |
| 507 | }, |
| 508 | "type": "array" |
| 509 | }, |
| 510 | "substitutions": { |
| 511 | "additionalProperties": { |
| 512 | "type": "string" |
| 513 | }, |
| 514 | "description": "Substitutions data for `Build` resource.", |
| 515 | "type": "object" |
| 516 | }, |
| 517 | "tags": { |
| 518 | "description": "Tags for annotation of a `Build`. These are not docker tags.", |
| 519 | "items": { |
| 520 | "type": "string" |
| 521 | }, |
| 522 | "type": "array" |
| 523 | }, |
| 524 | "timeout": { |
| 525 | "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", |
| 526 | "format": "google-duration", |
| 527 | "type": "string" |
| 528 | }, |
| 529 | "timing": { |
| 530 | "additionalProperties": { |
| 531 | "$ref": "TimeSpan" |
| 532 | }, |
| 533 | "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. If the build does not specify source or images, these keys will not be included.", |
| 534 | "readOnly": true, |
| 535 | "type": "object" |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 536 | }, |
| 537 | "warnings": { |
| 538 | "description": "Output only. Non-fatal problems encountered during the execution of the build.", |
| 539 | "items": { |
| 540 | "$ref": "Warning" |
| 541 | }, |
| 542 | "readOnly": true, |
| 543 | "type": "array" |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 544 | } |
| 545 | }, |
| 546 | "type": "object" |
| 547 | }, |
| 548 | "BuildOperationMetadata": { |
| 549 | "description": "Metadata for build operations.", |
| 550 | "id": "BuildOperationMetadata", |
| 551 | "properties": { |
| 552 | "build": { |
| 553 | "$ref": "Build", |
| 554 | "description": "The build that the operation is tracking." |
| 555 | } |
| 556 | }, |
| 557 | "type": "object" |
| 558 | }, |
| 559 | "BuildOptions": { |
| 560 | "description": "Optional arguments to enable specific features of builds.", |
| 561 | "id": "BuildOptions", |
| 562 | "properties": { |
| 563 | "diskSizeGb": { |
| 564 | "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.", |
| 565 | "format": "int64", |
| 566 | "type": "string" |
| 567 | }, |
| 568 | "dynamicSubstitutions": { |
| 569 | "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", |
| 570 | "type": "boolean" |
| 571 | }, |
| 572 | "env": { |
| 573 | "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", |
| 574 | "items": { |
| 575 | "type": "string" |
| 576 | }, |
| 577 | "type": "array" |
| 578 | }, |
| 579 | "logStreamingOption": { |
| 580 | "description": "Option to define build log streaming behavior to Google Cloud Storage.", |
| 581 | "enum": [ |
| 582 | "STREAM_DEFAULT", |
| 583 | "STREAM_ON", |
| 584 | "STREAM_OFF" |
| 585 | ], |
| 586 | "enumDescriptions": [ |
| 587 | "Service may automatically determine build log streaming behavior.", |
| 588 | "Build logs should be streamed to Google Cloud Storage.", |
| 589 | "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." |
| 590 | ], |
| 591 | "type": "string" |
| 592 | }, |
| 593 | "logging": { |
| 594 | "description": "Option to specify the logging mode, which determines if and where build logs are stored.", |
| 595 | "enum": [ |
| 596 | "LOGGING_UNSPECIFIED", |
| 597 | "LEGACY", |
| 598 | "GCS_ONLY", |
| 599 | "STACKDRIVER_ONLY", |
| 600 | "CLOUD_LOGGING_ONLY", |
| 601 | "NONE" |
| 602 | ], |
| 603 | "enumDescriptions": [ |
| 604 | "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", |
| 605 | "Cloud Logging and Cloud Storage logging are enabled.", |
| 606 | "Only Cloud Storage logging is enabled.", |
| 607 | "This option is the same as CLOUD_LOGGING_ONLY.", |
| 608 | "Only Cloud Logging is enabled. Note that logs for both the Cloud Console UI and Cloud SDK are based on Cloud Storage logs, so neither will provide logs if this option is chosen.", |
| 609 | "Turn off all logging. No build logs will be captured." |
| 610 | ], |
| 611 | "type": "string" |
| 612 | }, |
| 613 | "machineType": { |
| 614 | "description": "Compute Engine machine type on which to run the build.", |
| 615 | "enum": [ |
| 616 | "UNSPECIFIED", |
| 617 | "N1_HIGHCPU_8", |
| 618 | "N1_HIGHCPU_32", |
| 619 | "E2_HIGHCPU_8", |
| 620 | "E2_HIGHCPU_32" |
| 621 | ], |
| 622 | "enumDescriptions": [ |
| 623 | "Standard machine type.", |
| 624 | "Highcpu machine with 8 CPUs.", |
| 625 | "Highcpu machine with 32 CPUs.", |
| 626 | "Highcpu e2 machine with 8 CPUs.", |
| 627 | "Highcpu e2 machine with 32 CPUs." |
| 628 | ], |
| 629 | "type": "string" |
| 630 | }, |
| 631 | "requestedVerifyOption": { |
| 632 | "description": "Requested verifiability options.", |
| 633 | "enum": [ |
| 634 | "NOT_VERIFIED", |
| 635 | "VERIFIED" |
| 636 | ], |
| 637 | "enumDescriptions": [ |
| 638 | "Not a verifiable build. (default)", |
| 639 | "Verified build." |
| 640 | ], |
| 641 | "type": "string" |
| 642 | }, |
| 643 | "secretEnv": { |
| 644 | "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", |
| 645 | "items": { |
| 646 | "type": "string" |
| 647 | }, |
| 648 | "type": "array" |
| 649 | }, |
| 650 | "sourceProvenanceHash": { |
| 651 | "description": "Requested hash for SourceProvenance.", |
| 652 | "items": { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 653 | "enum": [ |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 654 | "NONE", |
| 655 | "SHA256", |
| 656 | "MD5" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 657 | ], |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 658 | "enumDescriptions": [ |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 659 | "No hash requested.", |
| 660 | "Use a sha256 hash.", |
| 661 | "Use a md5 hash." |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 662 | ], |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 663 | "type": "string" |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 664 | }, |
| 665 | "type": "array" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 666 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 667 | "substitutionOption": { |
| 668 | "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", |
| 669 | "enum": [ |
| 670 | "MUST_MATCH", |
| 671 | "ALLOW_LOOSE" |
| 672 | ], |
| 673 | "enumDescriptions": [ |
| 674 | "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", |
| 675 | "Do not fail the build if error in substitutions checks." |
| 676 | ], |
| 677 | "type": "string" |
| 678 | }, |
| 679 | "volumes": { |
| 680 | "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", |
| 681 | "items": { |
| 682 | "$ref": "Volume" |
| 683 | }, |
| 684 | "type": "array" |
| 685 | }, |
| 686 | "workerPool": { |
| 687 | "description": "Option to specify a `WorkerPool` for the build. Format: projects/{project}/locations/{location}/workerPools/{workerPool} This field is in beta and is available only to restricted users.", |
| 688 | "type": "string" |
| 689 | } |
| 690 | }, |
| 691 | "type": "object" |
| 692 | }, |
| 693 | "BuildStep": { |
| 694 | "description": "A step in the build pipeline.", |
| 695 | "id": "BuildStep", |
| 696 | "properties": { |
| 697 | "args": { |
| 698 | "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", |
| 699 | "items": { |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 700 | "type": "string" |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 701 | }, |
| 702 | "type": "array" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 703 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 704 | "dir": { |
| 705 | "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", |
| 706 | "type": "string" |
| 707 | }, |
| 708 | "entrypoint": { |
| 709 | "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", |
| 710 | "type": "string" |
| 711 | }, |
| 712 | "env": { |
| 713 | "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", |
| 714 | "items": { |
| 715 | "type": "string" |
| 716 | }, |
| 717 | "type": "array" |
| 718 | }, |
| 719 | "id": { |
| 720 | "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", |
| 721 | "type": "string" |
| 722 | }, |
| 723 | "name": { |
| 724 | "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", |
| 725 | "type": "string" |
| 726 | }, |
| 727 | "pullTiming": { |
| 728 | "$ref": "TimeSpan", |
| 729 | "description": "Output only. Stores timing information for pulling this build step's builder image only.", |
| 730 | "readOnly": true |
| 731 | }, |
| 732 | "secretEnv": { |
| 733 | "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", |
| 734 | "items": { |
| 735 | "type": "string" |
| 736 | }, |
| 737 | "type": "array" |
| 738 | }, |
| 739 | "status": { |
| 740 | "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", |
| 741 | "enum": [ |
| 742 | "STATUS_UNKNOWN", |
| 743 | "QUEUED", |
| 744 | "WORKING", |
| 745 | "SUCCESS", |
| 746 | "FAILURE", |
| 747 | "INTERNAL_ERROR", |
| 748 | "TIMEOUT", |
| 749 | "CANCELLED", |
| 750 | "EXPIRED" |
| 751 | ], |
| 752 | "enumDescriptions": [ |
| 753 | "Status of the build is unknown.", |
| 754 | "Build or step is queued; work has not yet begun.", |
| 755 | "Build or step is being executed.", |
| 756 | "Build or step finished successfully.", |
| 757 | "Build or step failed to complete successfully.", |
| 758 | "Build or step failed due to an internal cause.", |
| 759 | "Build or step took longer than was allowed.", |
| 760 | "Build or step was canceled by a user.", |
| 761 | "Build was enqueued for longer than the value of `queue_ttl`." |
| 762 | ], |
| 763 | "readOnly": true, |
| 764 | "type": "string" |
| 765 | }, |
| 766 | "timeout": { |
| 767 | "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", |
| 768 | "format": "google-duration", |
| 769 | "type": "string" |
| 770 | }, |
| 771 | "timing": { |
| 772 | "$ref": "TimeSpan", |
| 773 | "description": "Output only. Stores timing information for executing this build step.", |
| 774 | "readOnly": true |
| 775 | }, |
| 776 | "volumes": { |
| 777 | "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", |
| 778 | "items": { |
| 779 | "$ref": "Volume" |
| 780 | }, |
| 781 | "type": "array" |
| 782 | }, |
| 783 | "waitFor": { |
| 784 | "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", |
| 785 | "items": { |
| 786 | "type": "string" |
| 787 | }, |
| 788 | "type": "array" |
| 789 | } |
| 790 | }, |
| 791 | "type": "object" |
| 792 | }, |
| 793 | "BuiltImage": { |
| 794 | "description": "An image built by the pipeline.", |
| 795 | "id": "BuiltImage", |
| 796 | "properties": { |
| 797 | "digest": { |
| 798 | "description": "Docker Registry 2.0 digest.", |
| 799 | "type": "string" |
| 800 | }, |
| 801 | "name": { |
| 802 | "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", |
| 803 | "type": "string" |
| 804 | }, |
| 805 | "pushTiming": { |
| 806 | "$ref": "TimeSpan", |
| 807 | "description": "Output only. Stores timing information for pushing the specified image.", |
| 808 | "readOnly": true |
| 809 | } |
| 810 | }, |
| 811 | "type": "object" |
| 812 | }, |
| 813 | "CancelOperationRequest": { |
| 814 | "description": "The request message for Operations.CancelOperation.", |
| 815 | "id": "CancelOperationRequest", |
| 816 | "properties": {}, |
| 817 | "type": "object" |
| 818 | }, |
| 819 | "Empty": { |
| 820 | "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| 821 | "id": "Empty", |
| 822 | "properties": {}, |
| 823 | "type": "object" |
| 824 | }, |
| 825 | "FileHashes": { |
| 826 | "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", |
| 827 | "id": "FileHashes", |
| 828 | "properties": { |
| 829 | "fileHash": { |
| 830 | "description": "Collection of file hashes.", |
| 831 | "items": { |
| 832 | "$ref": "Hash" |
| 833 | }, |
| 834 | "type": "array" |
| 835 | } |
| 836 | }, |
| 837 | "type": "object" |
| 838 | }, |
| 839 | "HTTPDelivery": { |
| 840 | "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", |
| 841 | "id": "HTTPDelivery", |
| 842 | "properties": { |
| 843 | "uri": { |
| 844 | "description": "The URI to which JSON-containing HTTP POST requests should be sent.", |
| 845 | "type": "string" |
| 846 | } |
| 847 | }, |
| 848 | "type": "object" |
| 849 | }, |
| 850 | "Hash": { |
| 851 | "description": "Container message for hash values.", |
| 852 | "id": "Hash", |
| 853 | "properties": { |
| 854 | "type": { |
| 855 | "description": "The type of hash that was performed.", |
| 856 | "enum": [ |
| 857 | "NONE", |
| 858 | "SHA256", |
| 859 | "MD5" |
| 860 | ], |
| 861 | "enumDescriptions": [ |
| 862 | "No hash requested.", |
| 863 | "Use a sha256 hash.", |
| 864 | "Use a md5 hash." |
| 865 | ], |
| 866 | "type": "string" |
| 867 | }, |
| 868 | "value": { |
| 869 | "description": "The hash value.", |
| 870 | "format": "byte", |
| 871 | "type": "string" |
| 872 | } |
| 873 | }, |
| 874 | "type": "object" |
| 875 | }, |
| 876 | "InlineSecret": { |
| 877 | "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", |
| 878 | "id": "InlineSecret", |
| 879 | "properties": { |
| 880 | "envMap": { |
| 881 | "additionalProperties": { |
| 882 | "format": "byte", |
| 883 | "type": "string" |
| 884 | }, |
| 885 | "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", |
| 886 | "type": "object" |
| 887 | }, |
| 888 | "kmsKeyName": { |
| 889 | "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", |
| 890 | "type": "string" |
| 891 | } |
| 892 | }, |
| 893 | "type": "object" |
| 894 | }, |
| 895 | "ListWorkerPoolsResponse": { |
| 896 | "description": "Response containing existing `WorkerPools`.", |
| 897 | "id": "ListWorkerPoolsResponse", |
| 898 | "properties": { |
| 899 | "workerPools": { |
| 900 | "description": "`WorkerPools` for the project.", |
| 901 | "items": { |
| 902 | "$ref": "WorkerPool" |
| 903 | }, |
| 904 | "type": "array" |
| 905 | } |
| 906 | }, |
| 907 | "type": "object" |
| 908 | }, |
| 909 | "Network": { |
| 910 | "description": "Network describes the GCP network used to create workers in.", |
| 911 | "id": "Network", |
| 912 | "properties": { |
| 913 | "network": { |
| 914 | "description": "Network on which the workers are created. \"default\" network is used if empty.", |
| 915 | "type": "string" |
| 916 | }, |
| 917 | "projectId": { |
| 918 | "description": "Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.", |
| 919 | "type": "string" |
| 920 | }, |
| 921 | "subnetwork": { |
| 922 | "description": "Subnetwork on which the workers are created. \"default\" subnetwork is used if empty.", |
| 923 | "type": "string" |
| 924 | } |
| 925 | }, |
| 926 | "type": "object" |
| 927 | }, |
| 928 | "Notification": { |
| 929 | "description": "Notification is the container which holds the data that is relevant to this particular notification.", |
| 930 | "id": "Notification", |
| 931 | "properties": { |
| 932 | "filter": { |
| 933 | "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", |
| 934 | "type": "string" |
| 935 | }, |
| 936 | "httpDelivery": { |
| 937 | "$ref": "HTTPDelivery", |
| 938 | "description": "Configuration for HTTP delivery." |
| 939 | }, |
| 940 | "slackDelivery": { |
| 941 | "$ref": "SlackDelivery", |
| 942 | "description": "Configuration for Slack delivery." |
| 943 | }, |
| 944 | "smtpDelivery": { |
| 945 | "$ref": "SMTPDelivery", |
| 946 | "description": "Configuration for SMTP (email) delivery." |
| 947 | }, |
| 948 | "structDelivery": { |
| 949 | "additionalProperties": { |
| 950 | "description": "Properties of the object.", |
| 951 | "type": "any" |
| 952 | }, |
| 953 | "description": "Escape hatch for users to supply custom delivery configs.", |
| 954 | "type": "object" |
| 955 | } |
| 956 | }, |
| 957 | "type": "object" |
| 958 | }, |
| 959 | "NotifierConfig": { |
| 960 | "description": "NotifierConfig is the top-level configuration message.", |
| 961 | "id": "NotifierConfig", |
| 962 | "properties": { |
| 963 | "apiVersion": { |
| 964 | "description": "The API version of this configuration format.", |
| 965 | "type": "string" |
| 966 | }, |
| 967 | "kind": { |
| 968 | "description": "The type of notifier to use (e.g. SMTPNotifier).", |
| 969 | "type": "string" |
| 970 | }, |
| 971 | "metadata": { |
| 972 | "$ref": "NotifierMetadata", |
| 973 | "description": "Metadata for referring to/handling/deploying this notifier." |
| 974 | }, |
| 975 | "spec": { |
| 976 | "$ref": "NotifierSpec", |
| 977 | "description": "The actual configuration for this notifier." |
| 978 | } |
| 979 | }, |
| 980 | "type": "object" |
| 981 | }, |
| 982 | "NotifierMetadata": { |
| 983 | "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", |
| 984 | "id": "NotifierMetadata", |
| 985 | "properties": { |
| 986 | "name": { |
| 987 | "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", |
| 988 | "type": "string" |
| 989 | }, |
| 990 | "notifier": { |
| 991 | "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", |
| 992 | "type": "string" |
| 993 | } |
| 994 | }, |
| 995 | "type": "object" |
| 996 | }, |
| 997 | "NotifierSecret": { |
| 998 | "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", |
| 999 | "id": "NotifierSecret", |
| 1000 | "properties": { |
| 1001 | "name": { |
| 1002 | "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", |
| 1003 | "type": "string" |
| 1004 | }, |
| 1005 | "value": { |
| 1006 | "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", |
| 1007 | "type": "string" |
| 1008 | } |
| 1009 | }, |
| 1010 | "type": "object" |
| 1011 | }, |
| 1012 | "NotifierSecretRef": { |
| 1013 | "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", |
| 1014 | "id": "NotifierSecretRef", |
| 1015 | "properties": { |
| 1016 | "secretRef": { |
| 1017 | "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", |
| 1018 | "type": "string" |
| 1019 | } |
| 1020 | }, |
| 1021 | "type": "object" |
| 1022 | }, |
| 1023 | "NotifierSpec": { |
| 1024 | "description": "NotifierSpec is the configuration container for notifications.", |
| 1025 | "id": "NotifierSpec", |
| 1026 | "properties": { |
| 1027 | "notification": { |
| 1028 | "$ref": "Notification", |
| 1029 | "description": "The configuration of this particular notifier." |
| 1030 | }, |
| 1031 | "secrets": { |
| 1032 | "description": "Configurations for secret resources used by this particular notifier.", |
| 1033 | "items": { |
| 1034 | "$ref": "NotifierSecret" |
| 1035 | }, |
| 1036 | "type": "array" |
| 1037 | } |
| 1038 | }, |
| 1039 | "type": "object" |
| 1040 | }, |
| 1041 | "Operation": { |
| 1042 | "description": "This resource represents a long-running operation that is the result of a network API call.", |
| 1043 | "id": "Operation", |
| 1044 | "properties": { |
| 1045 | "done": { |
| 1046 | "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", |
| 1047 | "type": "boolean" |
| 1048 | }, |
| 1049 | "error": { |
| 1050 | "$ref": "Status", |
| 1051 | "description": "The error result of the operation in case of failure or cancellation." |
| 1052 | }, |
| 1053 | "metadata": { |
| 1054 | "additionalProperties": { |
| 1055 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1056 | "type": "any" |
| 1057 | }, |
| 1058 | "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
| 1059 | "type": "object" |
| 1060 | }, |
| 1061 | "name": { |
| 1062 | "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", |
| 1063 | "type": "string" |
| 1064 | }, |
| 1065 | "response": { |
| 1066 | "additionalProperties": { |
| 1067 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1068 | "type": "any" |
| 1069 | }, |
| 1070 | "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", |
| 1071 | "type": "object" |
| 1072 | } |
| 1073 | }, |
| 1074 | "type": "object" |
| 1075 | }, |
| 1076 | "RepoSource": { |
| 1077 | "description": "Location of the source in a Google Cloud Source Repository.", |
| 1078 | "id": "RepoSource", |
| 1079 | "properties": { |
| 1080 | "branchName": { |
| 1081 | "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", |
| 1082 | "type": "string" |
| 1083 | }, |
| 1084 | "commitSha": { |
| 1085 | "description": "Explicit commit SHA to build.", |
| 1086 | "type": "string" |
| 1087 | }, |
| 1088 | "dir": { |
| 1089 | "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", |
| 1090 | "type": "string" |
| 1091 | }, |
| 1092 | "invertRegex": { |
| 1093 | "description": "Only trigger a build if the revision regex does NOT match the revision regex.", |
| 1094 | "type": "boolean" |
| 1095 | }, |
| 1096 | "projectId": { |
| 1097 | "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", |
| 1098 | "type": "string" |
| 1099 | }, |
| 1100 | "repoName": { |
| 1101 | "description": "Name of the Cloud Source Repository.", |
| 1102 | "type": "string" |
| 1103 | }, |
| 1104 | "substitutions": { |
| 1105 | "additionalProperties": { |
| 1106 | "type": "string" |
| 1107 | }, |
| 1108 | "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", |
| 1109 | "type": "object" |
| 1110 | }, |
| 1111 | "tagName": { |
| 1112 | "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", |
| 1113 | "type": "string" |
| 1114 | } |
| 1115 | }, |
| 1116 | "type": "object" |
| 1117 | }, |
| 1118 | "Results": { |
| 1119 | "description": "Artifacts created by the build pipeline.", |
| 1120 | "id": "Results", |
| 1121 | "properties": { |
| 1122 | "artifactManifest": { |
| 1123 | "description": "Path to the artifact manifest. Only populated when artifacts are uploaded.", |
| 1124 | "type": "string" |
| 1125 | }, |
| 1126 | "artifactTiming": { |
| 1127 | "$ref": "TimeSpan", |
| 1128 | "description": "Time to push all non-container artifacts." |
| 1129 | }, |
| 1130 | "buildStepImages": { |
| 1131 | "description": "List of build step digests, in the order corresponding to build step indices.", |
| 1132 | "items": { |
| 1133 | "type": "string" |
| 1134 | }, |
| 1135 | "type": "array" |
| 1136 | }, |
| 1137 | "buildStepOutputs": { |
| 1138 | "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", |
| 1139 | "items": { |
| 1140 | "format": "byte", |
| 1141 | "type": "string" |
| 1142 | }, |
| 1143 | "type": "array" |
| 1144 | }, |
| 1145 | "images": { |
| 1146 | "description": "Container images that were built as a part of the build.", |
| 1147 | "items": { |
| 1148 | "$ref": "BuiltImage" |
| 1149 | }, |
| 1150 | "type": "array" |
| 1151 | }, |
| 1152 | "numArtifacts": { |
| 1153 | "description": "Number of artifacts uploaded. Only populated when artifacts are uploaded.", |
| 1154 | "format": "int64", |
| 1155 | "type": "string" |
| 1156 | } |
| 1157 | }, |
| 1158 | "type": "object" |
| 1159 | }, |
| 1160 | "SMTPDelivery": { |
| 1161 | "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", |
| 1162 | "id": "SMTPDelivery", |
| 1163 | "properties": { |
| 1164 | "fromAddress": { |
| 1165 | "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", |
| 1166 | "type": "string" |
| 1167 | }, |
| 1168 | "password": { |
| 1169 | "$ref": "NotifierSecretRef", |
| 1170 | "description": "The SMTP sender's password." |
| 1171 | }, |
| 1172 | "port": { |
| 1173 | "description": "The SMTP port of the server.", |
| 1174 | "type": "string" |
| 1175 | }, |
| 1176 | "recipientAddresses": { |
| 1177 | "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", |
| 1178 | "items": { |
| 1179 | "type": "string" |
| 1180 | }, |
| 1181 | "type": "array" |
| 1182 | }, |
| 1183 | "senderAddress": { |
| 1184 | "description": "This is the SMTP account/email that is used to send the message.", |
| 1185 | "type": "string" |
| 1186 | }, |
| 1187 | "server": { |
| 1188 | "description": "The address of the SMTP server.", |
| 1189 | "type": "string" |
| 1190 | } |
| 1191 | }, |
| 1192 | "type": "object" |
| 1193 | }, |
| 1194 | "Secret": { |
| 1195 | "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", |
| 1196 | "id": "Secret", |
| 1197 | "properties": { |
| 1198 | "kmsKeyName": { |
| 1199 | "description": "Cloud KMS key name to use to decrypt these envs.", |
| 1200 | "type": "string" |
| 1201 | }, |
| 1202 | "secretEnv": { |
| 1203 | "additionalProperties": { |
| 1204 | "format": "byte", |
| 1205 | "type": "string" |
| 1206 | }, |
| 1207 | "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", |
| 1208 | "type": "object" |
| 1209 | } |
| 1210 | }, |
| 1211 | "type": "object" |
| 1212 | }, |
| 1213 | "SecretManagerSecret": { |
| 1214 | "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", |
| 1215 | "id": "SecretManagerSecret", |
| 1216 | "properties": { |
| 1217 | "env": { |
| 1218 | "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", |
| 1219 | "type": "string" |
| 1220 | }, |
| 1221 | "versionName": { |
| 1222 | "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", |
| 1223 | "type": "string" |
| 1224 | } |
| 1225 | }, |
| 1226 | "type": "object" |
| 1227 | }, |
| 1228 | "Secrets": { |
| 1229 | "description": "Secrets and secret environment variables.", |
| 1230 | "id": "Secrets", |
| 1231 | "properties": { |
| 1232 | "inline": { |
| 1233 | "description": "Secrets encrypted with KMS key and the associated secret environment variable.", |
| 1234 | "items": { |
| 1235 | "$ref": "InlineSecret" |
| 1236 | }, |
| 1237 | "type": "array" |
| 1238 | }, |
| 1239 | "secretManager": { |
| 1240 | "description": "Secrets in Secret Manager and associated secret environment variable.", |
| 1241 | "items": { |
| 1242 | "$ref": "SecretManagerSecret" |
| 1243 | }, |
| 1244 | "type": "array" |
| 1245 | } |
| 1246 | }, |
| 1247 | "type": "object" |
| 1248 | }, |
| 1249 | "SlackDelivery": { |
| 1250 | "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", |
| 1251 | "id": "SlackDelivery", |
| 1252 | "properties": { |
| 1253 | "webhookUri": { |
| 1254 | "$ref": "NotifierSecretRef", |
| 1255 | "description": "The secret reference for the Slack webhook URI for sending messages to a channel." |
| 1256 | } |
| 1257 | }, |
| 1258 | "type": "object" |
| 1259 | }, |
| 1260 | "Source": { |
| 1261 | "description": "Location of the source in a supported storage service.", |
| 1262 | "id": "Source", |
| 1263 | "properties": { |
| 1264 | "repoSource": { |
| 1265 | "$ref": "RepoSource", |
| 1266 | "description": "If provided, get the source from this location in a Cloud Source Repository." |
| 1267 | }, |
| 1268 | "storageSource": { |
| 1269 | "$ref": "StorageSource", |
| 1270 | "description": "If provided, get the source from this location in Google Cloud Storage." |
| 1271 | }, |
| 1272 | "storageSourceManifest": { |
| 1273 | "$ref": "StorageSourceManifest", |
| 1274 | "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview." |
| 1275 | } |
| 1276 | }, |
| 1277 | "type": "object" |
| 1278 | }, |
| 1279 | "SourceProvenance": { |
| 1280 | "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", |
| 1281 | "id": "SourceProvenance", |
| 1282 | "properties": { |
| 1283 | "fileHashes": { |
| 1284 | "additionalProperties": { |
| 1285 | "$ref": "FileHashes" |
| 1286 | }, |
| 1287 | "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", |
| 1288 | "readOnly": true, |
| 1289 | "type": "object" |
| 1290 | }, |
| 1291 | "resolvedRepoSource": { |
| 1292 | "$ref": "RepoSource", |
| 1293 | "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." |
| 1294 | }, |
| 1295 | "resolvedStorageSource": { |
| 1296 | "$ref": "StorageSource", |
| 1297 | "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." |
| 1298 | }, |
| 1299 | "resolvedStorageSourceManifest": { |
| 1300 | "$ref": "StorageSourceManifest", |
| 1301 | "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." |
| 1302 | } |
| 1303 | }, |
| 1304 | "type": "object" |
| 1305 | }, |
| 1306 | "Status": { |
| 1307 | "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
| 1308 | "id": "Status", |
| 1309 | "properties": { |
| 1310 | "code": { |
| 1311 | "description": "The status code, which should be an enum value of google.rpc.Code.", |
| 1312 | "format": "int32", |
| 1313 | "type": "integer" |
| 1314 | }, |
| 1315 | "details": { |
| 1316 | "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
| 1317 | "items": { |
| 1318 | "additionalProperties": { |
| 1319 | "description": "Properties of the object. Contains field @type with type URL.", |
| 1320 | "type": "any" |
| 1321 | }, |
| 1322 | "type": "object" |
| 1323 | }, |
| 1324 | "type": "array" |
| 1325 | }, |
| 1326 | "message": { |
| 1327 | "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
| 1328 | "type": "string" |
| 1329 | } |
| 1330 | }, |
| 1331 | "type": "object" |
| 1332 | }, |
| 1333 | "StorageSource": { |
| 1334 | "description": "Location of the source in an archive file in Google Cloud Storage.", |
| 1335 | "id": "StorageSource", |
| 1336 | "properties": { |
| 1337 | "bucket": { |
| 1338 | "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", |
| 1339 | "type": "string" |
| 1340 | }, |
| 1341 | "generation": { |
| 1342 | "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", |
| 1343 | "format": "int64", |
| 1344 | "type": "string" |
| 1345 | }, |
| 1346 | "object": { |
| 1347 | "description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.", |
| 1348 | "type": "string" |
| 1349 | } |
| 1350 | }, |
| 1351 | "type": "object" |
| 1352 | }, |
| 1353 | "StorageSourceManifest": { |
| 1354 | "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview.", |
| 1355 | "id": "StorageSourceManifest", |
| 1356 | "properties": { |
| 1357 | "bucket": { |
| 1358 | "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", |
| 1359 | "type": "string" |
| 1360 | }, |
| 1361 | "generation": { |
| 1362 | "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", |
| 1363 | "format": "int64", |
| 1364 | "type": "string" |
| 1365 | }, |
| 1366 | "object": { |
| 1367 | "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", |
| 1368 | "type": "string" |
| 1369 | } |
| 1370 | }, |
| 1371 | "type": "object" |
| 1372 | }, |
| 1373 | "TimeSpan": { |
| 1374 | "description": "Start and end times for a build execution phase.", |
| 1375 | "id": "TimeSpan", |
| 1376 | "properties": { |
| 1377 | "endTime": { |
| 1378 | "description": "End of time span.", |
| 1379 | "format": "google-datetime", |
| 1380 | "type": "string" |
| 1381 | }, |
| 1382 | "startTime": { |
| 1383 | "description": "Start of time span.", |
| 1384 | "format": "google-datetime", |
| 1385 | "type": "string" |
| 1386 | } |
| 1387 | }, |
| 1388 | "type": "object" |
| 1389 | }, |
| 1390 | "Volume": { |
| 1391 | "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", |
| 1392 | "id": "Volume", |
| 1393 | "properties": { |
| 1394 | "name": { |
| 1395 | "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", |
| 1396 | "type": "string" |
| 1397 | }, |
| 1398 | "path": { |
| 1399 | "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", |
| 1400 | "type": "string" |
| 1401 | } |
| 1402 | }, |
| 1403 | "type": "object" |
| 1404 | }, |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 1405 | "Warning": { |
| 1406 | "description": "A non-fatal problem encountered during the execution of the build.", |
| 1407 | "id": "Warning", |
| 1408 | "properties": { |
| 1409 | "priority": { |
| 1410 | "description": "The priority for this warning.", |
| 1411 | "enum": [ |
| 1412 | "PRIORITY_UNSPECIFIED", |
| 1413 | "INFO", |
| 1414 | "WARNING", |
| 1415 | "ALERT" |
| 1416 | ], |
| 1417 | "enumDescriptions": [ |
| 1418 | "Should not be used.", |
| 1419 | "e.g. deprecation warnings and alternative feature highlights.", |
| 1420 | "e.g. automated detection of possible issues with the build.", |
| 1421 | "e.g. alerts that a feature used in the build is pending removal" |
| 1422 | ], |
| 1423 | "type": "string" |
| 1424 | }, |
| 1425 | "text": { |
| 1426 | "description": "Explanation of the warning generated.", |
| 1427 | "type": "string" |
| 1428 | } |
| 1429 | }, |
| 1430 | "type": "object" |
| 1431 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1432 | "WorkerConfig": { |
| 1433 | "description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.", |
| 1434 | "id": "WorkerConfig", |
| 1435 | "properties": { |
| 1436 | "diskSizeGb": { |
| 1437 | "description": "Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. `disk_size` is overridden if you specify a different disk size in `build_options`. In this case, a VM with a disk size specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions", |
| 1438 | "format": "int64", |
| 1439 | "type": "string" |
| 1440 | }, |
| 1441 | "machineType": { |
| 1442 | "description": "Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool. `machine_type` is overridden if you specify a different machine type in `build_options`. In this case, the VM specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes", |
| 1443 | "type": "string" |
| 1444 | }, |
| 1445 | "network": { |
| 1446 | "$ref": "Network", |
| 1447 | "description": "The network definition used to create the worker. If this section is left empty, the workers will be created in WorkerPool.project_id on the default network." |
| 1448 | }, |
| 1449 | "tag": { |
| 1450 | "description": "The tag applied to the worker, and the same tag used by the firewall rule. It is used to identify the Cloud Build workers among other VMs. The default value for tag is `worker`.", |
| 1451 | "type": "string" |
| 1452 | } |
| 1453 | }, |
| 1454 | "type": "object" |
| 1455 | }, |
| 1456 | "WorkerPool": { |
| 1457 | "description": "Configuration for a WorkerPool to run the builds. Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.", |
| 1458 | "id": "WorkerPool", |
| 1459 | "properties": { |
| 1460 | "createTime": { |
| 1461 | "description": "Output only. Time at which the request to create the `WorkerPool` was received.", |
| 1462 | "format": "google-datetime", |
| 1463 | "type": "string" |
| 1464 | }, |
| 1465 | "deleteTime": { |
| 1466 | "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", |
| 1467 | "format": "google-datetime", |
| 1468 | "type": "string" |
| 1469 | }, |
| 1470 | "name": { |
| 1471 | "description": "User-defined name of the `WorkerPool`.", |
| 1472 | "type": "string" |
| 1473 | }, |
| 1474 | "projectId": { |
| 1475 | "description": "The project ID of the GCP project for which the `WorkerPool` is created.", |
| 1476 | "type": "string" |
| 1477 | }, |
| 1478 | "regions": { |
| 1479 | "description": "List of regions to create the `WorkerPool`. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing `WorkerPool` will not be enabled in the new region automatically; you must add the new region to the `regions` field to enable the `WorkerPool` in that region.", |
| 1480 | "items": { |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1481 | "enum": [ |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1482 | "REGION_UNSPECIFIED", |
| 1483 | "us-central1", |
| 1484 | "us-west1", |
| 1485 | "us-east1", |
| 1486 | "us-east4" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1487 | ], |
| 1488 | "enumDescriptions": [ |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1489 | "no region", |
| 1490 | "us-central1 region", |
| 1491 | "us-west1 region", |
| 1492 | "us-east1 region", |
| 1493 | "us-east4 region" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1494 | ], |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1495 | "type": "string" |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1496 | }, |
| 1497 | "type": "array" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1498 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1499 | "serviceAccountEmail": { |
| 1500 | "description": "Output only. The service account used to manage the `WorkerPool`. The service account must have the Compute Instance Admin (Beta) permission at the project level.", |
| 1501 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1502 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1503 | "status": { |
| 1504 | "description": "Output only. WorkerPool Status.", |
| 1505 | "enum": [ |
| 1506 | "STATUS_UNSPECIFIED", |
| 1507 | "CREATING", |
| 1508 | "RUNNING", |
| 1509 | "DELETING", |
| 1510 | "DELETED" |
| 1511 | ], |
| 1512 | "enumDescriptions": [ |
| 1513 | "Status of the `WorkerPool` is unknown.", |
| 1514 | "`WorkerPool` is being created.", |
| 1515 | "`WorkerPool` is running.", |
| 1516 | "`WorkerPool` is being deleted: cancelling builds and draining workers.", |
| 1517 | "`WorkerPool` is deleted." |
| 1518 | ], |
| 1519 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1520 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1521 | "updateTime": { |
| 1522 | "description": "Output only. Time at which the request to update the `WorkerPool` was received.", |
| 1523 | "format": "google-datetime", |
| 1524 | "type": "string" |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1525 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1526 | "workerConfig": { |
| 1527 | "$ref": "WorkerConfig", |
| 1528 | "description": "Configuration to be used for a creating workers in the `WorkerPool`." |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1529 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1530 | "workerCount": { |
| 1531 | "description": "Total number of workers to be created across all requested regions.", |
| 1532 | "format": "int64", |
| 1533 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1534 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1535 | }, |
| 1536 | "type": "object" |
| 1537 | } |
| 1538 | }, |
| 1539 | "servicePath": "", |
| 1540 | "title": "Cloud Build API", |
| 1541 | "version": "v1alpha1", |
| 1542 | "version_module": true |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 1543 | } |