get

suspend fun get(name: String, config: GetTuningJobConfig? = null): TuningJob

Gets a tuning job.

Return

A TuningJob object.

Parameters

name

The resource name of the tuning job. For Gemini Enterprise Agent Platform, this is the full resource name. For Gemini API, this is tunedModels/{id}.

config

A GetTuningJobConfig for configuring the get request.