JobQueueJobStateTimeLimitAction constructor
const
JobQueueJobStateTimeLimitAction({})
Creates a new JobQueueJobStateTimeLimitAction.
action The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include "CANCEL"
maxTimeSeconds The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between 600 & 86400
reason The reason to log for the action being taken.
state The state of the job needed to trigger the action. Valid values include "RUNNABLE".
Implementation
const JobQueueJobStateTimeLimitAction({
required this.action,
required this.maxTimeSeconds,
required this.reason,
required this.state,
});