google_api_machine_learning v0.3.0 GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1Job View Source
Represents a training or prediction job.
Attributes
- createTime (DateTime.t): Output only. When the job was created. Defaults to:
null
. - endTime (DateTime.t): Output only. When the job processing was completed. Defaults to:
null
. - errorMessage (String.t): Output only. The details of a failure or a cancellation. Defaults to:
null
. - etag (binary()): `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. Defaults to:
null
. - jobId (String.t): Required. The user-specified id of the job. Defaults to:
null
. - labels (%{optional(String.t) => String.t}): 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 <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>. Defaults to:
null
. - predictionInput (GoogleCloudMlV1PredictionInput): Input parameters to create a prediction job. Defaults to:
null
. - predictionOutput (GoogleCloudMlV1PredictionOutput): The current prediction job result. Defaults to:
null
. - startTime (DateTime.t): Output only. When the job processing was started. Defaults to:
null
. state (String.t): Output only. The detailed state of a job. Defaults to:
null
.- Enum - one of [STATE_UNSPECIFIED, QUEUED, PREPARING, RUNNING, SUCCEEDED, FAILED, CANCELLING, CANCELLED]
- trainingInput (GoogleCloudMlV1TrainingInput): Input parameters to create a training job. Defaults to:
null
. - trainingOutput (GoogleCloudMlV1TrainingOutput): The current training job result. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1Job{
createTime: DateTime.t(),
endTime: DateTime.t(),
errorMessage: any(),
etag: any(),
jobId: any(),
labels: map(),
predictionInput:
GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1PredictionInput.t(),
predictionOutput:
GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1PredictionOutput.t(),
startTime: DateTime.t(),
state: any(),
trainingInput:
GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1TrainingInput.t(),
trainingOutput:
GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1TrainingOutput.t()
}
t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1Job{ createTime: DateTime.t(), endTime: DateTime.t(), errorMessage: any(), etag: any(), jobId: any(), labels: map(), predictionInput: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1PredictionInput.t(), predictionOutput: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1PredictionOutput.t(), startTime: DateTime.t(), state: any(), trainingInput: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1TrainingInput.t(), trainingOutput: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1TrainingOutput.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.