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 request and response format, see the guide to the predict request format.

HTTP request

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

The URL uses gRPC Transcoding 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
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)