Google Cloud Ai Platform V1 Client - Class RebaseTunedModelRequest (1.20.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 TunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

↳ tuning_job TuningJob

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

↳ artifact_destination 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
TunedModelRef|null

hasTunedModelRef

clearTunedModelRef

setTunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

Parameter
Name Description
var 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
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 TuningJob
Returns
Type Description
$this

getArtifactDestination

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

Returns
Type Description
GcsDestination|null

hasArtifactDestination

clearArtifactDestination

setArtifactDestination

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

Parameter
Name Description
var 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 GenAiTuningServiceClient::locationName() for help formatting this field.

tunedModelRef TunedModelRef

Required. TunedModel reference to retrieve the legacy model information.

Returns
Type Description
RebaseTunedModelRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.