Google Cloud Ai Platform V1 Client - Class Strategy (1.2.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Strategy.

Optional. This determines which type of scheduling strategy to use. Right now users have two options such as ON_DEMAND which will use regular on demand resources to schedule the job, the other is LOW_COST which would leverage spot resources alongwith regular resources to schedule the job.

Protobuf type google.cloud.aiplatform.v1.Scheduling.Strategy

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Scheduling

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STRATEGY_UNSPECIFIED

Value: 0

Strategy will default to ON_DEMAND.

Generated from protobuf enum STRATEGY_UNSPECIFIED = 0;

ON_DEMAND

Value: 1

Regular on-demand provisioning strategy.

Generated from protobuf enum ON_DEMAND = 1;

LOW_COST

Value: 2

Low cost by making potential use of spot resources.

Generated from protobuf enum LOW_COST = 2;