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) — Optional. 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) — Optional. 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) — Optional. 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) — Optional. The maximum job running time. The default is 7 days.
#timeout=
def timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. The maximum job running time. The default is 7 days.
Returns
- (::Google::Protobuf::Duration) — Optional. The maximum job running time. The default is 7 days.