Class PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub>
-
- com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub
-
- Enclosing class:
- PredictionApiKeyRegistryGrpc
public static final class PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub<PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub>
A stub to allow clients to do synchronous rpc calls to service 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
PredictionApiKeyRegistration
createPredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest request)
Register an API key for use with predict method.com.google.protobuf.Empty
deletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest request)
Unregister an apiKey from using for predict method.ListPredictionApiKeyRegistrationsResponse
listPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest request)
List the registered apiKeys for use with predict method.
-
-
-
Method Detail
-
build
protected PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub>
-
createPredictionApiKeyRegistration
public PredictionApiKeyRegistration createPredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest request)
Register an API key for use with predict method.
-
listPredictionApiKeyRegistrations
public ListPredictionApiKeyRegistrationsResponse listPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest request)
List the registered apiKeys for use with predict method.
-
deletePredictionApiKeyRegistration
public com.google.protobuf.Empty deletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest request)
Unregister an apiKey from using for predict method.
-
-