JobArgs class

The set of arguments for Job. The set of arguments for Job.

Constructors

JobArgs({Input<String>? etag, required Input<String> jobId, Input<Map<String, String>>? labels, Input<GoogleCloudMlV1PredictionInput>? predictionInput, Input<GoogleCloudMlV1PredictionOutput>? predictionOutput, Input<String>? project, Input<GoogleCloudMlV1TrainingInput>? trainingInput, 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.
const
JobArgs.fromMap(Map<String, dynamic> map)
factory

Properties

etag → Input<String>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
jobId → Input<String>
The user-specified id of the job.
final
labels → Input<Map<String, String>>?
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.
final
predictionInput → Input<GoogleCloudMlV1PredictionInput>?
Input parameters to create a prediction job.
final
predictionOutput → Input<GoogleCloudMlV1PredictionOutput>?
The current prediction job result.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trainingInput → Input<GoogleCloudMlV1TrainingInput>?
Input parameters to create a training job.
final
trainingOutput → Input<GoogleCloudMlV1TrainingOutput>?
The current training job result.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited