TaskSpec constructor

TaskSpec({
  1. ComputeResource? computeResource,
  2. Environment? environment,
  3. Map<String, String>? environments,
  4. List<LifecyclePolicy>? lifecyclePolicies,
  5. int? maxRetryCount,
  6. String? maxRunDuration,
  7. List<Runnable>? runnables,
  8. List<Volume>? volumes,
})

Implementation

TaskSpec({
  this.computeResource,
  this.environment,
  this.environments,
  this.lifecyclePolicies,
  this.maxRetryCount,
  this.maxRunDuration,
  this.runnables,
  this.volumes,
});