JobArgs

data class JobArgs(val etag: Output<String>? = null, val jobId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val predictionInput: Output<GoogleCloudMlV1__PredictionInputArgs>? = null, val predictionOutput: Output<GoogleCloudMlV1__PredictionOutputArgs>? = null, val project: Output<String>? = null, val trainingInput: Output<GoogleCloudMlV1__TrainingInputArgs>? = null, val trainingOutput: Output<GoogleCloudMlV1__TrainingOutputArgs>? = null) : ConvertibleToJava<JobArgs>

Creates a training or a batch prediction job. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun JobArgs(etag: Output<String>? = null, jobId: Output<String>? = null, labels: Output<Map<String, String>>? = null, predictionInput: Output<GoogleCloudMlV1__PredictionInputArgs>? = null, predictionOutput: Output<GoogleCloudMlV1__PredictionOutputArgs>? = null, project: Output<String>? = null, trainingInput: Output<GoogleCloudMlV1__TrainingInputArgs>? = null, trainingOutput: Output<GoogleCloudMlV1__TrainingOutputArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): JobArgs

Properties

Link copied to clipboard
val etag: Output<String>? = null

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.

Link copied to clipboard
val jobId: Output<String>? = null

The user-specified id of the job.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard

Input parameters to create a prediction job.

Link copied to clipboard

The current prediction job result.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

Input parameters to create a training job.

Link copied to clipboard

The current training job result.