Пример #1
0
 partial void Modify_PredictRequest(ref PredictRequest request, ref gaxgrpc::CallSettings settings);
Пример #2
0
 /// <summary>
 /// 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).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>
 /// A pageable asynchronous sequence of <see cref="PredictResponse.Types.PredictionResult"/> resources.
 /// </returns>
 public override gax::PagedAsyncEnumerable <PredictResponse, PredictResponse.Types.PredictionResult> PredictAsync(PredictRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_PredictRequest(ref request, ref callSettings);
     return(new gaxgrpc::GrpcPagedAsyncEnumerable <PredictRequest, PredictResponse, PredictResponse.Types.PredictionResult>(_callPredict, request, callSettings));
 }
Пример #3
0
 /// <summary>
 /// 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).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>
 /// A pageable asynchronous sequence of <see cref="PredictResponse.Types.PredictionResult"/> resources.
 /// </returns>
 public virtual gax::PagedAsyncEnumerable <PredictResponse, PredictResponse.Types.PredictionResult> PredictAsync(PredictRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();