Google Cloud Ai Platform V1 Client - Class MlEngineModelVersion (0.22.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Full resource name of ml engine model Version.

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

Returns
TypeDescription
string

setVersion

Full resource name of ml engine model Version.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this