Class: Google::Cloud::Build::V1::PrivatePoolV1Config::WorkerConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::PrivatePoolV1Config::WorkerConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Defines the configuration to be used for creating workers in the pool.
Instance Attribute Summary collapse
-
#disk_size_gb ⇒ ::Integer
Size of the disk attached to the worker, in GB.
-
#enable_nested_virtualization ⇒ ::Boolean
Optional.
-
#machine_type ⇒ ::String
Optional.
Instance Attribute Details
#disk_size_gb ⇒ ::Integer
Returns Size of the disk attached to the worker, in GB.
See Worker pool config
file.
Specify a value of up to 4000. If 0 is specified, Cloud Build will use
a standard disk size.
2424 2425 2426 2427 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2424 class WorkerConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#enable_nested_virtualization ⇒ ::Boolean
Returns Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
2424 2425 2426 2427 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2424 class WorkerConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_type ⇒ ::String
Returns 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.
2424 2425 2426 2427 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2424 class WorkerConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |