Method: projects.predict

Performs prediction on the data in the request. Cloud ML Engine implements a custom predict verb on top of an HTTP POST method. For details of the format, see the guide to the predict request format.

HTTP request

POST https://ml.googleapis.com/v1/{name=projects/**}:predict

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

Required. The resource name of a model or a version.

Authorization: requires the predict permission on the specified resource.

Authorization requires one or more of the following Google IAM permissions on the specified resource name:

  • ml.models.predict
  • ml.versions.predict

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)