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.
createTimeWhen the job was created.endTimeWhen the job processing was completed.errorMessageThe details of a failure or a cancellation.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.jobPositionIt'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.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.startTimeWhen the job processing was started.stateThe detailed state of a job.trainingInputInput parameters to create a training job.trainingOutputThe 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
-
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 → 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