# Prediction gRPC API

PredictionService represents a model API to serve online predictions from customized models.

This is the gRPC API reference for the Online Predictions pre-trained API. Use this API to get online predictions using your custom-trained models.

For more information about this API, see [Send an online prediction request](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/application/ao-user/quickstart-op#send-an-online-prediction-request).

## Service: prediction.aiplatform.gdc.goog/v1

## `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/prediction/grpc/prediction.aiplatform.gdc.goog.v1#prediction.aiplatform.gdc.goog.v1.PredictionService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/prediction/grpc/prediction.aiplatform.gdc.goog.v1#prediction.aiplatform.gdc.goog.v1.PredictionService.Predict` `` | Perform an online prediction. |
| `` `https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/prediction/grpc/prediction.aiplatform.gdc.goog.v1#prediction.aiplatform.gdc.goog.v1.PredictionService.RawPredict` `` | Perform an online prediction with an arbitrary HTTP payload. |