Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Scheduling (v0.59.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) — 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

#strategy=

def strategy=(value) -> ::Google::Cloud::AIPlatform::V1::Scheduling::Strategy
Parameter
Returns

#timeout

def timeout() -> ::Google::Protobuf::Duration
Returns

#timeout=

def timeout=(value) -> ::Google::Protobuf::Duration
Parameter
Returns