Interface PredictionServiceGrpc.AsyncService

All Known Implementing Classes:
PredictionServiceGrpc.PredictionServiceImplBase
Enclosing class:
PredictionServiceGrpc

public static interface PredictionServiceGrpc.AsyncService
 Service for making recommendation prediction.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    predict(PredictRequest request, io.grpc.stub.StreamObserver<PredictResponse> responseObserver)
    Makes a recommendation prediction.
  • Method Details

    • predict

      default void predict(PredictRequest request, io.grpc.stub.StreamObserver<PredictResponse> responseObserver)
       Makes a recommendation prediction. If using API Key based authentication,
       the API Key must be registered using the
       [PredictionApiKeyRegistry][google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry]
       service. [Learn more](/recommendations-ai/docs/setting-up#register-key).