GetJobResult class

Result data returned by getJob.

Constructors

GetJobResult({required String createTime, required String endTime, required String errorMessage, required String etag, required String jobId, required String jobPosition, required Map<String, String> labels, required GoogleCloudMlV1PredictionInputResponse predictionInput, required GoogleCloudMlV1PredictionOutputResponse predictionOutput, required String startTime, required String state, required GoogleCloudMlV1TrainingInputResponse trainingInput, required GoogleCloudMlV1TrainingOutputResponse trainingOutput})
Creates a new GetJobResult. createTime When the job was created. endTime When the job processing was completed. errorMessage The details of a failure or a cancellation. 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. jobPosition It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled. 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. startTime When the job processing was started. state The detailed state of a job. trainingInput Input parameters to create a training job. trainingOutput The current training job result.
const
GetJobResult.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → String
When the job was created.
final
endTime → String
When the job processing was completed.
final
errorMessage → String
The details of a failure or a cancellation.
final
etag → 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 → String
The user-specified id of the job.
final
jobPosition → String
It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
final
labels → 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 → GoogleCloudMlV1PredictionInputResponse
Input parameters to create a prediction job.
final
predictionOutput → GoogleCloudMlV1PredictionOutputResponse
The current prediction job result.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTime → String
When the job processing was started.
final
state → String
The detailed state of a job.
final
trainingInput → GoogleCloudMlV1TrainingInputResponse
Input parameters to create a training job.
final
trainingOutput → GoogleCloudMlV1TrainingOutputResponse
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