public static class QuotaControllerGrpc.QuotaControllerFutureStub extends io.grpc.stub.AbstractStub<QuotaControllerGrpc.QuotaControllerFutureStub> implements QuotaControllerGrpc.QuotaControllerFutureClient
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<AllocateQuotaResponse> |
allocateQuota(AllocateQuotaRequest request)
Attempts to allocate quota for the specified consumer.
|
protected QuotaControllerGrpc.QuotaControllerFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
protected QuotaControllerGrpc.QuotaControllerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<QuotaControllerGrpc.QuotaControllerFutureStub>public com.google.common.util.concurrent.ListenableFuture<AllocateQuotaResponse> allocateQuota(AllocateQuotaRequest request)
QuotaControllerGrpc.QuotaControllerFutureClientAttempts 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.QuotaControllerFutureClient