public static class QuotaControllerGrpc.QuotaControllerStub extends io.grpc.stub.AbstractStub<QuotaControllerGrpc.QuotaControllerStub> implements QuotaControllerGrpc.QuotaController
| Modifier and Type | Method and Description |
|---|---|
void |
allocateQuota(AllocateQuotaRequest request,
io.grpc.stub.StreamObserver<AllocateQuotaResponse> responseObserver)
Attempts to allocate quota for the specified consumer.
|
protected QuotaControllerGrpc.QuotaControllerStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
protected QuotaControllerGrpc.QuotaControllerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<QuotaControllerGrpc.QuotaControllerStub>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.QuotaController