View Source GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_Job (google_api_machine_learning v0.28.1)

Represents a training or prediction job.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. When the job was created.
  • endTime (type: DateTime.t, default: nil) - Output only. When the job processing was completed.
  • errorMessage (type: String.t, default: nil) - Output only. The details of a failure or a cancellation.
  • etag (type: String.t, default: nil) - 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 (type: String.t, default: nil) - Required. The user-specified id of the job.
  • jobPosition (type: String.t, default: nil) - Output only. 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 (type: map(), default: nil) - 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 (type: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_PredictionInput.t, default: nil) - Input parameters to create a prediction job.
  • predictionOutput (type: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_PredictionOutput.t, default: nil) - The current prediction job result.
  • startTime (type: DateTime.t, default: nil) - Output only. When the job processing was started.
  • state (type: String.t, default: nil) - Output only. The detailed state of a job.
  • trainingInput (type: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_TrainingInput.t, default: nil) - Input parameters to create a training job.
  • trainingOutput (type: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_TrainingOutput.t, default: nil) - The current training job result.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_Job{
  createTime: DateTime.t() | nil,
  endTime: DateTime.t() | nil,
  errorMessage: String.t() | nil,
  etag: String.t() | nil,
  jobId: String.t() | nil,
  jobPosition: String.t() | nil,
  labels: map() | nil,
  predictionInput:
    GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_PredictionInput.t() | nil,
  predictionOutput:
    GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_PredictionOutput.t()
    | nil,
  startTime: DateTime.t() | nil,
  state: String.t() | nil,
  trainingInput:
    GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_TrainingInput.t() | nil,
  trainingOutput:
    GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_TrainingOutput.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.