@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1469") public abstract static class QuotaControllerGrpc.QuotaControllerImplBase extends java.lang.Object implements QuotaControllerGrpc.QuotaController, io.grpc.BindableService
| Constructor and Description |
|---|
QuotaControllerImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocateQuota(AllocateQuotaRequest request,
io.grpc.stub.StreamObserver<AllocateQuotaResponse> responseObserver)
Attempts to allocate quota for the specified consumer.
|
io.grpc.ServerServiceDefinition |
bindService() |
public void allocateQuota(AllocateQuotaRequest request, io.grpc.stub.StreamObserver<AllocateQuotaResponse> responseObserver)
QuotaControllerGrpc.QuotaControllerAttempts to allocate quota for the specified consumer. It should be called before the operation is executed. This method requires the `servicemanagement.services.quota` permission on the specified service. For more information, see [Google Cloud IAM](https://cloud.google.com/iam).
allocateQuota in interface QuotaControllerGrpc.QuotaControllerpublic io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService