WorkerConfigResponseCloudbuildV1alpha2 class
WorkerConfig defines the configuration to be used for a creating workers in the pool.
Constructors
-
WorkerConfigResponseCloudbuildV1alpha2({required Input<
String> diskSizeGb, required Input<String> machineType}) -
Creates a new WorkerConfigResponseCloudbuildV1alpha2.
diskSizeGbSize of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If0is specified, Cloud Build will use a standard disk size.machineTypeMachine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool.const -
WorkerConfigResponseCloudbuildV1alpha2.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
diskSizeGb
→ Input<
String> -
Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If
0is 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 the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool.
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