Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::PrivatePoolV1Config::WorkerConfig.
Defines the configuration to be used for creating workers in the pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disk_size_gb
def disk_size_gb() -> ::Integer Returns 
 -  (::Integer) — Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 4000. If 0is specified, Cloud Build will use a standard disk size.
#disk_size_gb=
def disk_size_gb=(value) -> ::Integer Parameter 
 -  value (::Integer) — Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 4000. If 0is specified, Cloud Build will use a standard disk size.
 Returns 
 -  (::Integer) — Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 4000. If 0is specified, Cloud Build will use a standard disk size.
#enable_nested_virtualization
def enable_nested_virtualization() -> ::Boolean Returns 
 - (::Boolean) — Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
#enable_nested_virtualization=
def enable_nested_virtualization=(value) -> ::Boolean Parameter 
 - value (::Boolean) — Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
 Returns 
 - (::Boolean) — Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
#machine_type
def machine_type() -> ::String Returns 
 -  (::String) — Optional. Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
#machine_type=
def machine_type=(value) -> ::String Parameter 
 -  value (::String) — Optional. Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
 Returns 
 -  (::String) — Optional. Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.