Reference documentation and code samples for the Compute V1 Client class WorkloadType.
The workload type of the instances that will target this reservation.
Protobuf type google.cloud.compute.v1.AllocationAggregateReservation.WorkloadType
Namespace
Google \ Cloud \ Compute \ V1 \ AllocationAggregateReservationMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_WORKLOAD_TYPE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_WORKLOAD_TYPE = 0;
BATCH
Value: 62971674
Reserved resources will be optimized for BATCH workloads, such as ML training.
Generated from protobuf enum BATCH = 62971674;
SERVING
Value: 17781740
Reserved resources will be optimized for SERVING workloads, such as ML inference.
Generated from protobuf enum SERVING = 17781740;
UNSPECIFIED
Value: 526786327
Generated from protobuf enum UNSPECIFIED = 526786327;