Skip to content

Commit 185c73c

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add option to enable nested virtualization if available
docs: Update comments for `machine_type` and `disk_size_gb` PiperOrigin-RevId: 795519165
1 parent b1e61e0 commit 185c73c

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

google/devtools/cloudbuild/v1/cloudbuild.proto

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,18 +2698,23 @@ message PrivatePoolV1Config {
26982698
// Defines the configuration to be used for creating workers in
26992699
// the pool.
27002700
message WorkerConfig {
2701-
// Machine type of a worker, such as `e2-medium`.
2701+
// Optional. Machine type of a worker, such as `e2-medium`.
27022702
// See [Worker pool config
27032703
// file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema).
27042704
// If left blank, Cloud Build will use a sensible default.
2705-
string machine_type = 1;
2705+
string machine_type = 1 [(google.api.field_behavior) = OPTIONAL];
27062706

27072707
// Size of the disk attached to the worker, in GB.
27082708
// See [Worker pool config
27092709
// file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema).
2710-
// Specify a value of up to 2000. If `0` is specified, Cloud Build will use
2710+
// Specify a value of up to 4000. If `0` is specified, Cloud Build will use
27112711
// a standard disk size.
27122712
int64 disk_size_gb = 2;
2713+
2714+
// Optional. Enable nested virtualization on the worker, if supported by the
2715+
// machine type. By default, nested virtualization is disabled.
2716+
optional bool enable_nested_virtualization = 3
2717+
[(google.api.field_behavior) = OPTIONAL];
27132718
}
27142719

27152720
// Defines the network configuration for the pool.

0 commit comments

Comments
 (0)