1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="cloudbuild_v1alpha1.html">Cloud Build API</a> . <a href="cloudbuild_v1alpha1.projects.html">projects</a> . <a href="cloudbuild_v1alpha1.projects.workerPools.html">workerPools</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#create">create(parent, body, x__xgafv=None)</a></code></p> 79<p class="firstline">Creates a `WorkerPool` to run the builds, and returns the new worker pool.</p> 80<p class="toc_element"> 81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 82<p class="firstline">Deletes a `WorkerPool` by its project ID and WorkerPool name.</p> 83<p class="toc_element"> 84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 85<p class="firstline">Returns information about a `WorkerPool`.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p> 88<p class="firstline">List project's `WorkerPool`s.</p> 89<p class="toc_element"> 90 <code><a href="#patch">patch(name, body, x__xgafv=None)</a></code></p> 91<p class="firstline">Update a `WorkerPool`.</p> 92<h3>Method Details</h3> 93<div class="method"> 94 <code class="details" id="create">create(parent, body, x__xgafv=None)</code> 95 <pre>Creates a `WorkerPool` to run the builds, and returns the new worker pool. 96 97This API is experimental. 98 99Args: 100 parent: string, ID of the parent project. (required) 101 body: object, The request body. (required) 102 The object takes the form of: 103 104{ # Configuration for a WorkerPool to run the builds. 105 # 106 # Workers are machines that Cloud Build uses to run your builds. By default, 107 # all workers run in a project owned by Cloud Build. To have full control over 108 # the workers that execute your builds -- such as enabling them to access 109 # private resources on your private network -- you can request Cloud Build to 110 # run the workers in your own project by creating a custom workers pool. 111 "status": "A String", # Output only. WorkerPool Status. 112 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 113 # received. 114 "name": "A String", # User-defined name of the `WorkerPool`. 115 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 116 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 117 # If Cloud Build adds a new GCP region in the future, the existing 118 # `WorkerPool` will not be enabled in the new region automatically; 119 # you must add the new region to the `regions` field to enable the 120 # `WorkerPool` in that region. 121 "A String", 122 ], 123 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 124 # the pool. 125 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 126 # See https://cloud.google.com/compute/docs/disks/ 127 # If `0` is specified, Cloud Build will use a standard disk size. 128 # `disk_size` is overridden if you specify a different disk size in 129 # `build_options`. In this case, a VM with a disk size specified in the 130 # `build_options` will be created on demand at build time. For more 131 # information see 132 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 133 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 134 # It is used to identify the Cloud Build workers among other VMs. 135 # The default value for tag is `worker`. 136 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 137 # See https://cloud.google.com/compute/docs/machine-types. 138 # If left blank, Cloud Build will use a standard unspecified machine to 139 # create the worker pool. 140 # `machine_type` is overridden if you specify a different machine type in 141 # `build_options`. In this case, the VM specified in the `build_options` 142 # will be created on demand at build time. For more information see 143 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 144 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 145 # If this section is left empty, the workers will be created in 146 # WorkerPool.project_id on the default network. 147 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 148 # this will be the same as the project_id in which the workers are created. 149 # For a shared VPC, this will be the project sharing the network with the 150 # project_id project in which workers will be created. For custom workers 151 # with no VPC, this will be the same as project_id. 152 "subnetwork": "A String", # Subnetwork on which the workers are created. 153 # "default" subnetwork is used if empty. 154 "network": "A String", # Network on which the workers are created. 155 # "default" network is used if empty. 156 }, 157 }, 158 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 159 # service account must have the Compute Instance Admin (Beta) permission at 160 # the project level. 161 "workerCount": "A String", # Total number of workers to be created across all requested regions. 162 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 163 # received. 164 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 165 # received. 166 } 167 168 x__xgafv: string, V1 error format. 169 Allowed values 170 1 - v1 error format 171 2 - v2 error format 172 173Returns: 174 An object of the form: 175 176 { # Configuration for a WorkerPool to run the builds. 177 # 178 # Workers are machines that Cloud Build uses to run your builds. By default, 179 # all workers run in a project owned by Cloud Build. To have full control over 180 # the workers that execute your builds -- such as enabling them to access 181 # private resources on your private network -- you can request Cloud Build to 182 # run the workers in your own project by creating a custom workers pool. 183 "status": "A String", # Output only. WorkerPool Status. 184 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 185 # received. 186 "name": "A String", # User-defined name of the `WorkerPool`. 187 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 188 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 189 # If Cloud Build adds a new GCP region in the future, the existing 190 # `WorkerPool` will not be enabled in the new region automatically; 191 # you must add the new region to the `regions` field to enable the 192 # `WorkerPool` in that region. 193 "A String", 194 ], 195 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 196 # the pool. 197 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 198 # See https://cloud.google.com/compute/docs/disks/ 199 # If `0` is specified, Cloud Build will use a standard disk size. 200 # `disk_size` is overridden if you specify a different disk size in 201 # `build_options`. In this case, a VM with a disk size specified in the 202 # `build_options` will be created on demand at build time. For more 203 # information see 204 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 205 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 206 # It is used to identify the Cloud Build workers among other VMs. 207 # The default value for tag is `worker`. 208 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 209 # See https://cloud.google.com/compute/docs/machine-types. 210 # If left blank, Cloud Build will use a standard unspecified machine to 211 # create the worker pool. 212 # `machine_type` is overridden if you specify a different machine type in 213 # `build_options`. In this case, the VM specified in the `build_options` 214 # will be created on demand at build time. For more information see 215 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 216 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 217 # If this section is left empty, the workers will be created in 218 # WorkerPool.project_id on the default network. 219 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 220 # this will be the same as the project_id in which the workers are created. 221 # For a shared VPC, this will be the project sharing the network with the 222 # project_id project in which workers will be created. For custom workers 223 # with no VPC, this will be the same as project_id. 224 "subnetwork": "A String", # Subnetwork on which the workers are created. 225 # "default" subnetwork is used if empty. 226 "network": "A String", # Network on which the workers are created. 227 # "default" network is used if empty. 228 }, 229 }, 230 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 231 # service account must have the Compute Instance Admin (Beta) permission at 232 # the project level. 233 "workerCount": "A String", # Total number of workers to be created across all requested regions. 234 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 235 # received. 236 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 237 # received. 238 }</pre> 239</div> 240 241<div class="method"> 242 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 243 <pre>Deletes a `WorkerPool` by its project ID and WorkerPool name. 244 245This API is experimental. 246 247Args: 248 name: string, The field will contain name of the resource requested, for example: 249"projects/project-1/workerPools/workerpool-name" (required) 250 x__xgafv: string, V1 error format. 251 Allowed values 252 1 - v1 error format 253 2 - v2 error format 254 255Returns: 256 An object of the form: 257 258 { # A generic empty message that you can re-use to avoid defining duplicated 259 # empty messages in your APIs. A typical example is to use it as the request 260 # or the response type of an API method. For instance: 261 # 262 # service Foo { 263 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); 264 # } 265 # 266 # The JSON representation for `Empty` is empty JSON object `{}`. 267 }</pre> 268</div> 269 270<div class="method"> 271 <code class="details" id="get">get(name, x__xgafv=None)</code> 272 <pre>Returns information about a `WorkerPool`. 273 274This API is experimental. 275 276Args: 277 name: string, The field will contain name of the resource requested, for example: 278"projects/project-1/workerPools/workerpool-name" (required) 279 x__xgafv: string, V1 error format. 280 Allowed values 281 1 - v1 error format 282 2 - v2 error format 283 284Returns: 285 An object of the form: 286 287 { # Configuration for a WorkerPool to run the builds. 288 # 289 # Workers are machines that Cloud Build uses to run your builds. By default, 290 # all workers run in a project owned by Cloud Build. To have full control over 291 # the workers that execute your builds -- such as enabling them to access 292 # private resources on your private network -- you can request Cloud Build to 293 # run the workers in your own project by creating a custom workers pool. 294 "status": "A String", # Output only. WorkerPool Status. 295 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 296 # received. 297 "name": "A String", # User-defined name of the `WorkerPool`. 298 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 299 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 300 # If Cloud Build adds a new GCP region in the future, the existing 301 # `WorkerPool` will not be enabled in the new region automatically; 302 # you must add the new region to the `regions` field to enable the 303 # `WorkerPool` in that region. 304 "A String", 305 ], 306 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 307 # the pool. 308 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 309 # See https://cloud.google.com/compute/docs/disks/ 310 # If `0` is specified, Cloud Build will use a standard disk size. 311 # `disk_size` is overridden if you specify a different disk size in 312 # `build_options`. In this case, a VM with a disk size specified in the 313 # `build_options` will be created on demand at build time. For more 314 # information see 315 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 316 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 317 # It is used to identify the Cloud Build workers among other VMs. 318 # The default value for tag is `worker`. 319 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 320 # See https://cloud.google.com/compute/docs/machine-types. 321 # If left blank, Cloud Build will use a standard unspecified machine to 322 # create the worker pool. 323 # `machine_type` is overridden if you specify a different machine type in 324 # `build_options`. In this case, the VM specified in the `build_options` 325 # will be created on demand at build time. For more information see 326 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 327 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 328 # If this section is left empty, the workers will be created in 329 # WorkerPool.project_id on the default network. 330 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 331 # this will be the same as the project_id in which the workers are created. 332 # For a shared VPC, this will be the project sharing the network with the 333 # project_id project in which workers will be created. For custom workers 334 # with no VPC, this will be the same as project_id. 335 "subnetwork": "A String", # Subnetwork on which the workers are created. 336 # "default" subnetwork is used if empty. 337 "network": "A String", # Network on which the workers are created. 338 # "default" network is used if empty. 339 }, 340 }, 341 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 342 # service account must have the Compute Instance Admin (Beta) permission at 343 # the project level. 344 "workerCount": "A String", # Total number of workers to be created across all requested regions. 345 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 346 # received. 347 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 348 # received. 349 }</pre> 350</div> 351 352<div class="method"> 353 <code class="details" id="list">list(parent, x__xgafv=None)</code> 354 <pre>List project's `WorkerPool`s. 355 356This API is experimental. 357 358Args: 359 parent: string, ID of the parent project. (required) 360 x__xgafv: string, V1 error format. 361 Allowed values 362 1 - v1 error format 363 2 - v2 error format 364 365Returns: 366 An object of the form: 367 368 { # Response containing existing `WorkerPools`. 369 "workerPools": [ # `WorkerPools` for the project. 370 { # Configuration for a WorkerPool to run the builds. 371 # 372 # Workers are machines that Cloud Build uses to run your builds. By default, 373 # all workers run in a project owned by Cloud Build. To have full control over 374 # the workers that execute your builds -- such as enabling them to access 375 # private resources on your private network -- you can request Cloud Build to 376 # run the workers in your own project by creating a custom workers pool. 377 "status": "A String", # Output only. WorkerPool Status. 378 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 379 # received. 380 "name": "A String", # User-defined name of the `WorkerPool`. 381 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 382 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 383 # If Cloud Build adds a new GCP region in the future, the existing 384 # `WorkerPool` will not be enabled in the new region automatically; 385 # you must add the new region to the `regions` field to enable the 386 # `WorkerPool` in that region. 387 "A String", 388 ], 389 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 390 # the pool. 391 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 392 # See https://cloud.google.com/compute/docs/disks/ 393 # If `0` is specified, Cloud Build will use a standard disk size. 394 # `disk_size` is overridden if you specify a different disk size in 395 # `build_options`. In this case, a VM with a disk size specified in the 396 # `build_options` will be created on demand at build time. For more 397 # information see 398 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 399 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 400 # It is used to identify the Cloud Build workers among other VMs. 401 # The default value for tag is `worker`. 402 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 403 # See https://cloud.google.com/compute/docs/machine-types. 404 # If left blank, Cloud Build will use a standard unspecified machine to 405 # create the worker pool. 406 # `machine_type` is overridden if you specify a different machine type in 407 # `build_options`. In this case, the VM specified in the `build_options` 408 # will be created on demand at build time. For more information see 409 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 410 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 411 # If this section is left empty, the workers will be created in 412 # WorkerPool.project_id on the default network. 413 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 414 # this will be the same as the project_id in which the workers are created. 415 # For a shared VPC, this will be the project sharing the network with the 416 # project_id project in which workers will be created. For custom workers 417 # with no VPC, this will be the same as project_id. 418 "subnetwork": "A String", # Subnetwork on which the workers are created. 419 # "default" subnetwork is used if empty. 420 "network": "A String", # Network on which the workers are created. 421 # "default" network is used if empty. 422 }, 423 }, 424 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 425 # service account must have the Compute Instance Admin (Beta) permission at 426 # the project level. 427 "workerCount": "A String", # Total number of workers to be created across all requested regions. 428 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 429 # received. 430 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 431 # received. 432 }, 433 ], 434 }</pre> 435</div> 436 437<div class="method"> 438 <code class="details" id="patch">patch(name, body, x__xgafv=None)</code> 439 <pre>Update a `WorkerPool`. 440 441This API is experimental. 442 443Args: 444 name: string, The field will contain name of the resource requested, for example: 445"projects/project-1/workerPools/workerpool-name" (required) 446 body: object, The request body. (required) 447 The object takes the form of: 448 449{ # Configuration for a WorkerPool to run the builds. 450 # 451 # Workers are machines that Cloud Build uses to run your builds. By default, 452 # all workers run in a project owned by Cloud Build. To have full control over 453 # the workers that execute your builds -- such as enabling them to access 454 # private resources on your private network -- you can request Cloud Build to 455 # run the workers in your own project by creating a custom workers pool. 456 "status": "A String", # Output only. WorkerPool Status. 457 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 458 # received. 459 "name": "A String", # User-defined name of the `WorkerPool`. 460 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 461 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 462 # If Cloud Build adds a new GCP region in the future, the existing 463 # `WorkerPool` will not be enabled in the new region automatically; 464 # you must add the new region to the `regions` field to enable the 465 # `WorkerPool` in that region. 466 "A String", 467 ], 468 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 469 # the pool. 470 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 471 # See https://cloud.google.com/compute/docs/disks/ 472 # If `0` is specified, Cloud Build will use a standard disk size. 473 # `disk_size` is overridden if you specify a different disk size in 474 # `build_options`. In this case, a VM with a disk size specified in the 475 # `build_options` will be created on demand at build time. For more 476 # information see 477 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 478 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 479 # It is used to identify the Cloud Build workers among other VMs. 480 # The default value for tag is `worker`. 481 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 482 # See https://cloud.google.com/compute/docs/machine-types. 483 # If left blank, Cloud Build will use a standard unspecified machine to 484 # create the worker pool. 485 # `machine_type` is overridden if you specify a different machine type in 486 # `build_options`. In this case, the VM specified in the `build_options` 487 # will be created on demand at build time. For more information see 488 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 489 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 490 # If this section is left empty, the workers will be created in 491 # WorkerPool.project_id on the default network. 492 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 493 # this will be the same as the project_id in which the workers are created. 494 # For a shared VPC, this will be the project sharing the network with the 495 # project_id project in which workers will be created. For custom workers 496 # with no VPC, this will be the same as project_id. 497 "subnetwork": "A String", # Subnetwork on which the workers are created. 498 # "default" subnetwork is used if empty. 499 "network": "A String", # Network on which the workers are created. 500 # "default" network is used if empty. 501 }, 502 }, 503 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 504 # service account must have the Compute Instance Admin (Beta) permission at 505 # the project level. 506 "workerCount": "A String", # Total number of workers to be created across all requested regions. 507 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 508 # received. 509 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 510 # received. 511 } 512 513 x__xgafv: string, V1 error format. 514 Allowed values 515 1 - v1 error format 516 2 - v2 error format 517 518Returns: 519 An object of the form: 520 521 { # Configuration for a WorkerPool to run the builds. 522 # 523 # Workers are machines that Cloud Build uses to run your builds. By default, 524 # all workers run in a project owned by Cloud Build. To have full control over 525 # the workers that execute your builds -- such as enabling them to access 526 # private resources on your private network -- you can request Cloud Build to 527 # run the workers in your own project by creating a custom workers pool. 528 "status": "A String", # Output only. WorkerPool Status. 529 "updateTime": "A String", # Output only. Time at which the request to update the `WorkerPool` was 530 # received. 531 "name": "A String", # User-defined name of the `WorkerPool`. 532 "projectId": "A String", # The project ID of the GCP project for which the `WorkerPool` is created. 533 "regions": [ # List of regions to create the `WorkerPool`. Regions can't be empty. 534 # If Cloud Build adds a new GCP region in the future, the existing 535 # `WorkerPool` will not be enabled in the new region automatically; 536 # you must add the new region to the `regions` field to enable the 537 # `WorkerPool` in that region. 538 "A String", 539 ], 540 "workerConfig": { # WorkerConfig defines the configuration to be used for a creating workers in # Configuration to be used for a creating workers in the `WorkerPool`. 541 # the pool. 542 "diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. 543 # See https://cloud.google.com/compute/docs/disks/ 544 # If `0` is specified, Cloud Build will use a standard disk size. 545 # `disk_size` is overridden if you specify a different disk size in 546 # `build_options`. In this case, a VM with a disk size specified in the 547 # `build_options` will be created on demand at build time. For more 548 # information see 549 # https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions 550 "tag": "A String", # The tag applied to the worker, and the same tag used by the firewall rule. 551 # It is used to identify the Cloud Build workers among other VMs. 552 # The default value for tag is `worker`. 553 "machineType": "A String", # Machine Type of the worker, such as n1-standard-1. 554 # See https://cloud.google.com/compute/docs/machine-types. 555 # If left blank, Cloud Build will use a standard unspecified machine to 556 # create the worker pool. 557 # `machine_type` is overridden if you specify a different machine type in 558 # `build_options`. In this case, the VM specified in the `build_options` 559 # will be created on demand at build time. For more information see 560 # https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes 561 "network": { # Network describes the GCP network used to create workers in. # The network definition used to create the worker. 562 # If this section is left empty, the workers will be created in 563 # WorkerPool.project_id on the default network. 564 "projectId": "A String", # Project id containing the defined network and subnetwork. For a peered VPC, 565 # this will be the same as the project_id in which the workers are created. 566 # For a shared VPC, this will be the project sharing the network with the 567 # project_id project in which workers will be created. For custom workers 568 # with no VPC, this will be the same as project_id. 569 "subnetwork": "A String", # Subnetwork on which the workers are created. 570 # "default" subnetwork is used if empty. 571 "network": "A String", # Network on which the workers are created. 572 # "default" network is used if empty. 573 }, 574 }, 575 "serviceAccountEmail": "A String", # Output only. The service account used to manage the `WorkerPool`. The 576 # service account must have the Compute Instance Admin (Beta) permission at 577 # the project level. 578 "workerCount": "A String", # Total number of workers to be created across all requested regions. 579 "deleteTime": "A String", # Output only. Time at which the request to delete the `WorkerPool` was 580 # received. 581 "createTime": "A String", # Output only. Time at which the request to create the `WorkerPool` was 582 # received. 583 }</pre> 584</div> 585 586</body></html>