Google Cloud Ai Platform V1 Client - Class CancelTuningJobRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CancelTuningJobRequest.

Request message for GenAiTuningService.CancelTuningJob.

Generated from protobuf message google.cloud.aiplatform.v1.CancelTuningJobRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the TuningJob to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

getName

Required. The name of the TuningJob to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Returns
Type Description
string

setName

Required. The name of the TuningJob to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the TuningJob to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job} Please see Google\Cloud\AIPlatform\V1\GenAiTuningServiceClient::tuningJobName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\CancelTuningJobRequest