public static final class CloudQuotasGrpc.CloudQuotasFutureStub extends AbstractFutureStub<CloudQuotasGrpc.CloudQuotasFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CloudQuotas.
The Cloud Quotas API is an infrastructure service for Google Cloud that lets
service consumers list and manage their resource usage limits.
- List/Get the metadata and current status of the quotas for a service.
- Create/Update quota preferencess that declare the preferred quota values.
- Check the status of a quota preference request.
- List/Get pending and historical quota preference.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
CloudQuotasGrpc.CloudQuotasFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected CloudQuotasGrpc.CloudQuotasFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createQuotaPreference(CreateQuotaPreferenceRequest request)
public ListenableFuture<QuotaPreference> createQuotaPreference(CreateQuotaPreferenceRequest request)
Creates a new QuotaPreference that declares the desired value for a quota.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<QuotaPreference> | |
getQuotaInfo(GetQuotaInfoRequest request)
public ListenableFuture<QuotaInfo> getQuotaInfo(GetQuotaInfoRequest request)
Retrieve the QuotaInfo of a quota for a project, folder or organization.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<QuotaInfo> | |
getQuotaPreference(GetQuotaPreferenceRequest request)
public ListenableFuture<QuotaPreference> getQuotaPreference(GetQuotaPreferenceRequest request)
Gets details of a single QuotaPreference.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<QuotaPreference> | |
listQuotaInfos(ListQuotaInfosRequest request)
public ListenableFuture<ListQuotaInfosResponse> listQuotaInfos(ListQuotaInfosRequest request)
Lists QuotaInfos of all quotas for a given project, folder or organization.
listQuotaPreferences(ListQuotaPreferencesRequest request)
public ListenableFuture<ListQuotaPreferencesResponse> listQuotaPreferences(ListQuotaPreferencesRequest request)
Lists QuotaPreferences in a given project, folder or organization.
updateQuotaPreference(UpdateQuotaPreferenceRequest request)
public ListenableFuture<QuotaPreference> updateQuotaPreference(UpdateQuotaPreferenceRequest request)
Updates the parameters of a single QuotaPreference. It can updates the
config in any states, not just the ones pending approval.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<QuotaPreference> | |