Module: Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry

Defined in:
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/paths.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/credentials.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb,
lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/service_stub.rb

Overview

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

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials