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.
-
#machine_type ⇒ ::String
Machine type of a worker, such as
e2-medium
.
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 2000. If 0
is specified, Cloud Build will use
a standard disk size.
2202 2203 2204 2205 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2202 class WorkerConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_type ⇒ ::String
Returns Machine type of a worker, such as e2-medium
.
See Worker pool config
file.
If left blank, Cloud Build will use a sensible default.
2202 2203 2204 2205 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2202 class WorkerConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |