Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Scheduling.
All parameters related to queuing and scheduling of custom jobs.
Generated from protobuf message google.cloud.aiplatform.v1.Scheduling
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ timeout |
Google\Protobuf\Duration
The maximum job running time. The default is 7 days. |
↳ restart_job_on_worker_restart |
bool
Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. |
getTimeout
The maximum job running time. The default is 7 days.
Generated from protobuf field .google.protobuf.Duration timeout = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasTimeout
clearTimeout
setTimeout
The maximum job running time. The default is 7 days.
Generated from protobuf field .google.protobuf.Duration timeout = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getRestartJobOnWorkerRestart
Restarts the entire CustomJob if a worker gets restarted.
This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
Generated from protobuf field bool restart_job_on_worker_restart = 3;
Returns | |
---|---|
Type | Description |
bool |
setRestartJobOnWorkerRestart
Restarts the entire CustomJob if a worker gets restarted.
This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
Generated from protobuf field bool restart_job_on_worker_restart = 3;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |