Google Cloud Ai Platform V1 Client - Class Strategy (1.4.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 STANDARD which will use regular on demand resources to schedule the job, the other is SPOT 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 STANDARD.

Generated from protobuf enum STRATEGY_UNSPECIFIED = 0;

ON_DEMAND

Value: 1

Regular on-demand provisioning strategy.

Generated from protobuf enum ON_DEMAND = 1 [deprecated = true];

LOW_COST

Value: 2

Low cost by making potential use of spot resources.

Generated from protobuf enum LOW_COST = 2 [deprecated = true];

STANDARD

Value: 3

Standard provisioning strategy uses regular on-demand resources.

Generated from protobuf enum STANDARD = 3;

SPOT

Value: 4

Spot provisioning strategy uses spot resources.

Generated from protobuf enum SPOT = 4;