WorkerConfig class

Defines the configuration to be used for creating workers in the pool.

Constructors

WorkerConfig({Input<String>? diskSizeGb, Input<String>? machineType})
Creates a new WorkerConfig. diskSizeGb 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. machineType Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.
const
WorkerConfig.fromMap(Map<String, dynamic> map)
factory

Properties

diskSizeGb → Input<String>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
machineType → Input<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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited