Google Cloud Ai Platform V1 Client - Class MlEngineModelVersion (1.41.0)

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

Represents one model Version in ml.googleapis.com.

Generated from protobuf message google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion

Namespace

Google \ Cloud \ AIPlatform \ V1 \ MigratableResource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ endpoint string

The ml.googleapis.com endpoint that this model Version currently lives in. Example values: * * ml.googleapis.com * * us-centrall-ml.googleapis.com * * europe-west4-ml.googleapis.com * * asia-east1-ml.googleapis.com

↳ version string

Full resource name of ml engine model Version. Format: projects/{project}/models/{model}/versions/{version}.

getEndpoint

The ml.googleapis.com endpoint that this model Version currently lives in.

Example values:

  • ml.googleapis.com
  • us-centrall-ml.googleapis.com
  • europe-west4-ml.googleapis.com
  • asia-east1-ml.googleapis.com
Returns
Type Description
string

setEndpoint

The ml.googleapis.com endpoint that this model Version currently lives in.

Example values:

  • ml.googleapis.com
  • us-centrall-ml.googleapis.com
  • europe-west4-ml.googleapis.com
  • asia-east1-ml.googleapis.com
Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Full resource name of ml engine model Version.

Format: projects/{project}/models/{model}/versions/{version}.

Returns
Type Description
string

setVersion

Full resource name of ml engine model Version.

Format: projects/{project}/models/{model}/versions/{version}.

Parameter
Name Description
var string
Returns
Type Description
$this

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年12月13日 UTC.