Recommendations AI v1beta1 API - Class PredictionApiKeyRegistry.PredictionApiKeyRegistryBase (2.0.0-beta04)

[BindServiceMethod(typeof(PredictionApiKeyRegistry), "BindService")]
public abstract class PredictionApiKeyRegistry.PredictionApiKeyRegistryBase

Reference documentation and code samples for the Recommendations AI v1beta1 API class PredictionApiKeyRegistry.PredictionApiKeyRegistryBase.

Base class for server-side implementations of PredictionApiKeyRegistry

Inheritance

object > PredictionApiKeyRegistry.PredictionApiKeyRegistryBase

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

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
NameDescription
requestCreatePredictionApiKeyRegistrationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPredictionApiKeyRegistration

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
NameDescription
requestDeletePredictionApiKeyRegistrationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

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
NameDescription
requestListPredictionApiKeyRegistrationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListPredictionApiKeyRegistrationsResponse

The response to send back to the client (wrapped by a task).