Google Cloud Ai Platform V1 Client - Class RebaseTunedModelRequest (1.7.0)

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

Request message for GenAiTuningService.RebaseTunedModel.

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

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 into which to rebase the Model. Format: projects/{project}/locations/{location}

↳ tuned_model_ref Google\Cloud\AIPlatform\V1\TunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

↳ tuning_job Google\Cloud\AIPlatform\V1\TuningJob

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

↳ artifact_destination Google\Cloud\AIPlatform\V1\GcsDestination

Optional. The Google Cloud Storage location to write the artifacts.

↳ deploy_to_same_endpoint bool

Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.

getParent

Required. The resource name of the Location into which to rebase the Model.

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

Returns
Type Description
string

setParent

Required. The resource name of the Location into which to rebase the Model.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

Returns
Type Description
Google\Cloud\AIPlatform\V1\TunedModelRef|null

hasTunedModelRef

clearTunedModelRef

setTunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\TunedModelRef
Returns
Type Description
$this

getTuningJob

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

Returns
Type Description
Google\Cloud\AIPlatform\V1\TuningJob|null

hasTuningJob

clearTuningJob

setTuningJob

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\TuningJob
Returns
Type Description
$this

getArtifactDestination

Optional. The Google Cloud Storage location to write the artifacts.

Returns
Type Description
Google\Cloud\AIPlatform\V1\GcsDestination|null

hasArtifactDestination

clearArtifactDestination

setArtifactDestination

Optional. The Google Cloud Storage location to write the artifacts.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\GcsDestination
Returns
Type Description
$this

getDeployToSameEndpoint

Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.

Returns
Type Description
bool

setDeployToSameEndpoint

Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location} Please see Google\Cloud\AIPlatform\V1\GenAiTuningServiceClient::locationName() for help formatting this field.

tunedModelRef Google\Cloud\AIPlatform\V1\TunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

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