- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Scheduling.
All parameters related to queuing and scheduling of custom jobs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disable_retries
def disable_retries() -> ::Boolean
Returns
-
(::Boolean) — Optional. Indicates if the job should retry for internal errors after the
job starts running. If true, overrides
Scheduling.restart_job_on_worker_restart
to false.
#disable_retries=
def disable_retries=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. Indicates if the job should retry for internal errors after the
job starts running. If true, overrides
Scheduling.restart_job_on_worker_restart
to false.
Returns
-
(::Boolean) — Optional. Indicates if the job should retry for internal errors after the
job starts running. If true, overrides
Scheduling.restart_job_on_worker_restart
to false.
#max_wait_duration
def max_wait_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
#max_wait_duration=
def max_wait_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
Returns
- (::Google::Protobuf::Duration) — Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
#restart_job_on_worker_restart
def restart_job_on_worker_restart() -> ::Boolean
Returns
- (::Boolean) — 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.
#restart_job_on_worker_restart=
def restart_job_on_worker_restart=(value) -> ::Boolean
Parameter
- value (::Boolean) — 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.
Returns
- (::Boolean) — 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.
#strategy
def strategy() -> ::Google::Cloud::AIPlatform::V1::Scheduling::Strategy
Returns
- (::Google::Cloud::AIPlatform::V1::Scheduling::Strategy) — Optional. This determines which type of scheduling strategy to use.
#strategy=
def strategy=(value) -> ::Google::Cloud::AIPlatform::V1::Scheduling::Strategy
Parameter
- value (::Google::Cloud::AIPlatform::V1::Scheduling::Strategy) — Optional. This determines which type of scheduling strategy to use.
Returns
- (::Google::Cloud::AIPlatform::V1::Scheduling::Strategy) — Optional. This determines which type of scheduling strategy to use.
#timeout
def timeout() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The maximum job running time. The default is 7 days.
#timeout=
def timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The maximum job running time. The default is 7 days.
Returns
- (::Google::Protobuf::Duration) — The maximum job running time. The default is 7 days.