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

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(PredictionApiKeyRegistry), "BindService")]
public abstract class 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
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
NameDescription
requestDeletePredictionApiKeyRegistrationRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListPredictionApiKeyRegistrationsResponse>

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