cancel

Asynchronously cancels a tuning job resource.

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 CancelTuningJobConfig for configuring the cancel request.