Google Cloud Ai Platform V1 Client - Class TunedModel (1.31.0)

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

The Model Registry Model and Online Prediction Endpoint associated with this TuningJob.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model string

Output only. The resource name of the TunedModel. Format: projects/{project}/locations/{location}/models/{model}.

↳ endpoint string

Output only. A resource name of an Endpoint. Format: projects/{project}/locations/{location}/endpoints/{endpoint}.

↳ checkpoints array<TunedModelCheckpoint>

Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.

getModel

Output only. The resource name of the TunedModel. Format: projects/{project}/locations/{location}/models/{model}.

Returns
Type Description
string

setModel

Output only. The resource name of the TunedModel. Format: projects/{project}/locations/{location}/models/{model}.

Parameter
Name Description
var string
Returns
Type Description
$this

getEndpoint

Output only. A resource name of an Endpoint. Format: projects/{project}/locations/{location}/endpoints/{endpoint}.

Returns
Type Description
string

setEndpoint

Output only. A resource name of an Endpoint. Format: projects/{project}/locations/{location}/endpoints/{endpoint}.

Parameter
Name Description
var string
Returns
Type Description
$this

getCheckpoints

Output only. The checkpoints associated with this TunedModel.

This field is only populated for tuning jobs that enable intermediate checkpoints.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCheckpoints

Output only. The checkpoints associated with this TunedModel.

This field is only populated for tuning jobs that enable intermediate checkpoints.

Parameter
Name Description
var array<TunedModelCheckpoint>
Returns
Type Description
$this