Recommendations AI V1beta1 API - Module Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry (v0.6.1)

Reference documentation and code samples for the Recommendations AI V1beta1 API module Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry.

Service for registering API keys for use with the predict method. If you use an API key to request predictions, you must first register the API key. Otherwise, your prediction request is rejected. If you use OAuth to authenticate your predict method call, you do not need to register an API key. You can register up to 20 API keys per project.

To load this service and instantiate a REST client:

require "google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest"
client = ::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry::Rest::Client.new