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< ? labels, Input<String, String> >GoogleCloudMlV1PredictionInput> ? predictionInput, Input<GoogleCloudMlV1PredictionOutput> ? predictionOutput, Input<String> ? project, Input<GoogleCloudMlV1TrainingInput> ? trainingInput, Input<GoogleCloudMlV1TrainingOutput> ? trainingOutput}) -
Creates a new JobArgs.
etagetagis 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 theetagin the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetagis returned in the response toGetJob, and systems are expected to put that etag in the request toUpdateJobto ensure that their change will be applied to the same version of the job.jobIdThe user-specified id of the job.labelsOptional. 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.predictionInputInput parameters to create a prediction job.predictionOutputThe current prediction job result.projectOptional.trainingInputInput parameters to create a training job.trainingOutputThe current training job result.const -
JobArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
etag
→ Input<
String> ? -
etagis 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 theetagin the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetagis returned in the response toGetJob, and systems are expected to put that etag in the request toUpdateJobto 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