Google Cloud Ai Platform V1 Client - Class MlEngineModelVersion (0.39.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