|
306 | 306 | } |
307 | 307 | } |
308 | 308 | }, |
309 | | - "revision": "20210613", |
| 309 | + "revision": "20210701", |
310 | 310 | "rootUrl": "https://cloudbuild.googleapis.com/", |
311 | 311 | "schemas": { |
312 | 312 | "ArtifactObjects": { |
|
628 | 628 | ], |
629 | 629 | "type": "string" |
630 | 630 | }, |
| 631 | + "pool": { |
| 632 | + "$ref": "PoolOption", |
| 633 | + "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information." |
| 634 | + }, |
631 | 635 | "requestedVerifyOption": { |
632 | 636 | "description": "Requested verifiability options.", |
633 | 637 | "enum": [ |
|
684 | 688 | "type": "array" |
685 | 689 | }, |
686 | 690 | "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.", |
| 691 | + "description": "This field deprecated; please use `pool.name` instead.", |
688 | 692 | "type": "string" |
689 | 693 | } |
690 | 694 | }, |
|
816 | 820 | "properties": {}, |
817 | 821 | "type": "object" |
818 | 822 | }, |
| 823 | + "CreateWorkerPoolOperationMetadata": { |
| 824 | + "description": "Metadata for the `CreateWorkerPool` operation.", |
| 825 | + "id": "CreateWorkerPoolOperationMetadata", |
| 826 | + "properties": { |
| 827 | + "completeTime": { |
| 828 | + "description": "Time the operation was completed.", |
| 829 | + "format": "google-datetime", |
| 830 | + "type": "string" |
| 831 | + }, |
| 832 | + "createTime": { |
| 833 | + "description": "Time the operation was created.", |
| 834 | + "format": "google-datetime", |
| 835 | + "type": "string" |
| 836 | + }, |
| 837 | + "workerPool": { |
| 838 | + "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", |
| 839 | + "type": "string" |
| 840 | + } |
| 841 | + }, |
| 842 | + "type": "object" |
| 843 | + }, |
| 844 | + "DeleteWorkerPoolOperationMetadata": { |
| 845 | + "description": "Metadata for the `DeleteWorkerPool` operation.", |
| 846 | + "id": "DeleteWorkerPoolOperationMetadata", |
| 847 | + "properties": { |
| 848 | + "completeTime": { |
| 849 | + "description": "Time the operation was completed.", |
| 850 | + "format": "google-datetime", |
| 851 | + "type": "string" |
| 852 | + }, |
| 853 | + "createTime": { |
| 854 | + "description": "Time the operation was created.", |
| 855 | + "format": "google-datetime", |
| 856 | + "type": "string" |
| 857 | + }, |
| 858 | + "workerPool": { |
| 859 | + "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", |
| 860 | + "type": "string" |
| 861 | + } |
| 862 | + }, |
| 863 | + "type": "object" |
| 864 | + }, |
819 | 865 | "Empty": { |
820 | 866 | "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 | 867 | "id": "Empty", |
|
1073 | 1119 | }, |
1074 | 1120 | "type": "object" |
1075 | 1121 | }, |
| 1122 | + "PoolOption": { |
| 1123 | + "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a custom worker pool](https://cloud.google.com/build/docs/custom-workers/run-builds-in-custom-worker-pool) for more information.", |
| 1124 | + "id": "PoolOption", |
| 1125 | + "properties": { |
| 1126 | + "name": { |
| 1127 | + "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", |
| 1128 | + "type": "string" |
| 1129 | + } |
| 1130 | + }, |
| 1131 | + "type": "object" |
| 1132 | + }, |
1076 | 1133 | "RepoSource": { |
1077 | 1134 | "description": "Location of the source in a Google Cloud Source Repository.", |
1078 | 1135 | "id": "RepoSource", |
|
1271 | 1328 | }, |
1272 | 1329 | "storageSourceManifest": { |
1273 | 1330 | "$ref": "StorageSourceManifest", |
1274 | | - "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview." |
| 1331 | + "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." |
1275 | 1332 | } |
1276 | 1333 | }, |
1277 | 1334 | "type": "object" |
|
1351 | 1408 | "type": "object" |
1352 | 1409 | }, |
1353 | 1410 | "StorageSourceManifest": { |
1354 | | - "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview.", |
| 1411 | + "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", |
1355 | 1412 | "id": "StorageSourceManifest", |
1356 | 1413 | "properties": { |
1357 | 1414 | "bucket": { |
|
1387 | 1444 | }, |
1388 | 1445 | "type": "object" |
1389 | 1446 | }, |
| 1447 | + "UpdateWorkerPoolOperationMetadata": { |
| 1448 | + "description": "Metadata for the `UpdateWorkerPool` operation.", |
| 1449 | + "id": "UpdateWorkerPoolOperationMetadata", |
| 1450 | + "properties": { |
| 1451 | + "completeTime": { |
| 1452 | + "description": "Time the operation was completed.", |
| 1453 | + "format": "google-datetime", |
| 1454 | + "type": "string" |
| 1455 | + }, |
| 1456 | + "createTime": { |
| 1457 | + "description": "Time the operation was created.", |
| 1458 | + "format": "google-datetime", |
| 1459 | + "type": "string" |
| 1460 | + }, |
| 1461 | + "workerPool": { |
| 1462 | + "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", |
| 1463 | + "type": "string" |
| 1464 | + } |
| 1465 | + }, |
| 1466 | + "type": "object" |
| 1467 | + }, |
1390 | 1468 | "Volume": { |
1391 | 1469 | "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", |
1392 | 1470 | "id": "Volume", |
|
0 commit comments