[BindServiceMethod(typeof(PredictionApiKeyRegistry), "BindService")]
public abstract class PredictionApiKeyRegistryBaseBase class for server-side implementations of PredictionApiKeyRegistry
Namespace
Google.Cloud.RecommendationEngine.V1Beta1Assembly
Google.Cloud.RecommendationEngine.V1Beta1.dll
Methods
CreatePredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest, ServerCallContext)
public virtual Task<PredictionApiKeyRegistration> CreatePredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest request, ServerCallContext context)Register an API key for use with predict method.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePredictionApiKeyRegistrationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<PredictionApiKeyRegistration> |
The response to send back to the client (wrapped by a task). |
DeletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest, ServerCallContext)
public virtual Task<Empty> DeletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest request, ServerCallContext context)Unregister an apiKey from using for predict method.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePredictionApiKeyRegistrationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Empty> |
The response to send back to the client (wrapped by a task). |
ListPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest, ServerCallContext)
public virtual Task<ListPredictionApiKeyRegistrationsResponse> ListPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest request, ServerCallContext context)List the registered apiKeys for use with predict method.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPredictionApiKeyRegistrationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListPredictionApiKeyRegistrationsResponse> |
The response to send back to the client (wrapped by a task). |