Send feedback
Interface PrivatePoolV1Config.WorkerConfigOrBuilder (3.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static interface PrivatePoolV1Config.WorkerConfigOrBuilder extends MessageOrBuilder
Methods
getDiskSizeGb()
public abstract long getDiskSizeGb()
Size of the disk attached to the worker, in GB.
See Worker pool config
file .
Specify a value of up to 1000. If 0
is specified, Cloud Build will use
a standard disk size.
int64 disk_size_gb = 2;
Returns
Type Description long
The diskSizeGb.
getMachineType()
public abstract String getMachineType()
Machine type of a worker, such as e2-medium
.
See Worker pool config
file .
If left blank, Cloud Build will use a sensible default.
string machine_type = 1;
Returns
Type Description String
The machineType.
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()
Machine type of a worker, such as e2-medium
.
See Worker pool config
file .
If left blank, Cloud Build will use a sensible default.
string machine_type = 1;
Returns
Type Description ByteString
The bytes for machineType.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-18 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?