Method: projects.models.create

Creates a model which will later contain one or more versions.

You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create.

HTTP request

POST https://ml.googleapis.com/v1/{parent=projects/*}/models

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
parent

string

Required. The project name.

Authorization requires the following Google IAM permission on the specified resource parent:

  • ml.models.create

Request body

The request body contains an instance of Model.

Response body

If successful, the response body contains a newly created instance of Model.

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)