ModelStatus

@Serializable
data class ModelStatus(val message: String? = null, val modelStage: ModelStage? = null, val retirementTime: Instant? = null)

The status of the underlying model. This is used to indicate the stage of the underlying model and the retirement time if applicable. This data type is not supported in Vertex AI.

Constructors

Link copied to clipboard
constructor(message: String? = null, modelStage: ModelStage? = null, retirementTime: Instant? = null)

Properties

Link copied to clipboard
val message: String? = null

A message explaining the model status.

Link copied to clipboard
val modelStage: ModelStage? = null

The stage of the underlying model.

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

The time at which the model will be retired.