Google Cloud Ai Platform V1 Client - Class CreateTuningJobRequest (1.12.0)

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

Request message for GenAiTuningService.CreateTuningJob.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the TuningJob in. Format: projects/{project}/locations/{location}

↳ tuning_job TuningJob

Required. The TuningJob to create.

getParent

Required. The resource name of the Location to create the TuningJob in.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The resource name of the Location to create the TuningJob in.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getTuningJob

Required. The TuningJob to create.

Returns
Type Description
TuningJob|null

hasTuningJob

clearTuningJob

setTuningJob

Required. The TuningJob to create.

Parameter
Name Description
var TuningJob
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Location to create the TuningJob in. Format: projects/{project}/locations/{location} Please see GenAiTuningServiceClient::locationName() for help formatting this field.

tuningJob TuningJob

Required. The TuningJob to create.

Returns
Type Description
CreateTuningJobRequest