BatchJob

@Serializable
data class BatchJob(val name: String? = null, val displayName: String? = null, val state: JobState? = null, val error: JobError? = null, val createTime: Instant? = null, val startTime: Instant? = null, val endTime: Instant? = null, val updateTime: Instant? = null, val model: String? = null, val src: BatchJobSource? = null, val dest: BatchJobDestination? = null, val completionStats: CompletionStats? = null, val outputInfo: BatchJobOutputInfo? = null)

Config for batches.create return value.

Constructors

Link copied to clipboard
constructor(name: String? = null, displayName: String? = null, state: JobState? = null, error: JobError? = null, createTime: Instant? = null, startTime: Instant? = null, endTime: Instant? = null, updateTime: Instant? = null, model: String? = null, src: BatchJobSource? = null, dest: BatchJobDestination? = null, completionStats: CompletionStats? = null, outputInfo: BatchJobOutputInfo? = null)

Properties

Link copied to clipboard

Statistics on completed and failed prediction instances. This field is for Gemini Enterprise Agent Platform only.

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val createTime: Instant? = null

The time when the BatchJob was created.

Link copied to clipboard

Configuration for the output data.

Link copied to clipboard
val displayName: String? = null

The display name of the BatchJob.

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val endTime: Instant? = null

The time when the BatchJob was completed. This field is for Gemini Enterprise Agent Platform only.

Link copied to clipboard
val error: JobError? = null

Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

Link copied to clipboard
val model: String? = null

The name of the model that produces the predictions via the BatchJob.

Link copied to clipboard
val name: String? = null

The resource name of the BatchJob. Output only.".

Link copied to clipboard

Information further describing the output of this job. Output only.

Link copied to clipboard
val src: BatchJobSource? = null

Configuration for the input data. This field is for Gemini Enterprise Agent Platform only.

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val startTime: Instant? = null

Output only. Time when the Job for the first time entered the JOB_STATE_RUNNING state.

Link copied to clipboard
val state: JobState? = null

The state of the BatchJob.

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val updateTime: Instant? = null

The time when the BatchJob was last updated.