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 1000. If
0
is 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 1000. If
0
is 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 1000. If
0
is specified, Cloud Build will use a standard disk size.
#machine_type
def machine_type() -> ::String
Returns
-
(::String) — 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) — 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) — Machine type of a worker, such as
e2-medium
. See Worker pool config file. If left blank, Cloud Build will use a sensible default.