JobArgs constructor

const JobArgs({
  1. Input<String>? etag,
  2. required Input<String> jobId,
  3. Input<Map<String, String>>? labels,
  4. Input<GoogleCloudMlV1PredictionInput>? predictionInput,
  5. Input<GoogleCloudMlV1PredictionOutput>? predictionOutput,
  6. Input<String>? project,
  7. Input<GoogleCloudMlV1TrainingInput>? trainingInput,
  8. Input<GoogleCloudMlV1TrainingOutput>? trainingOutput,
})

Creates a new JobArgs. etag etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform job updates in order to avoid race conditions: An etag is returned in the response to GetJob, and systems are expected to put that etag in the request to UpdateJob to ensure that their change will be applied to the same version of the job. jobId The user-specified id of the job. labels Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels. predictionInput Input parameters to create a prediction job. predictionOutput The current prediction job result. project Optional. trainingInput Input parameters to create a training job. trainingOutput The current training job result.

Implementation

const JobArgs({
  this.etag,
  required this.jobId,
  this.labels,
  this.predictionInput,
  this.predictionOutput,
  this.project,
  this.trainingInput,
  this.trainingOutput,
});