public static final class CloudQuotasGrpc.CloudQuotasStub extends AbstractAsyncStub<CloudQuotasGrpc.CloudQuotasStub>
A stub to allow clients to do asynchronous 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.AbstractAsyncStub > CloudQuotasGrpc.CloudQuotasStubMethods
build(Channel channel, CallOptions callOptions)
protected CloudQuotasGrpc.CloudQuotasStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
CloudQuotasGrpc.CloudQuotasStub |
createQuotaPreference(CreateQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
public void createQuotaPreference(CreateQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
Creates a new QuotaPreference that declares the desired value for a quota.
Parameters | |
---|---|
Name | Description |
request | CreateQuotaPreferenceRequest |
responseObserver | io.grpc.stub.StreamObserver<QuotaPreference> |
getQuotaInfo(GetQuotaInfoRequest request, StreamObserver<QuotaInfo> responseObserver)
public void getQuotaInfo(GetQuotaInfoRequest request, StreamObserver<QuotaInfo> responseObserver)
Retrieve the QuotaInfo of a quota for a project, folder or organization.
Parameters | |
---|---|
Name | Description |
request | GetQuotaInfoRequest |
responseObserver | io.grpc.stub.StreamObserver<QuotaInfo> |
getQuotaPreference(GetQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
public void getQuotaPreference(GetQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
Gets details of a single QuotaPreference.
Parameters | |
---|---|
Name | Description |
request | GetQuotaPreferenceRequest |
responseObserver | io.grpc.stub.StreamObserver<QuotaPreference> |
listQuotaInfos(ListQuotaInfosRequest request, StreamObserver<ListQuotaInfosResponse> responseObserver)
public void listQuotaInfos(ListQuotaInfosRequest request, StreamObserver<ListQuotaInfosResponse> responseObserver)
Lists QuotaInfos of all quotas for a given project, folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListQuotaInfosRequest |
responseObserver | io.grpc.stub.StreamObserver<ListQuotaInfosResponse> |
listQuotaPreferences(ListQuotaPreferencesRequest request, StreamObserver<ListQuotaPreferencesResponse> responseObserver)
public void listQuotaPreferences(ListQuotaPreferencesRequest request, StreamObserver<ListQuotaPreferencesResponse> responseObserver)
Lists QuotaPreferences in a given project, folder or organization.
Parameters | |
---|---|
Name | Description |
request | ListQuotaPreferencesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListQuotaPreferencesResponse> |
updateQuotaPreference(UpdateQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
public void updateQuotaPreference(UpdateQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.
Parameters | |
---|---|
Name | Description |
request | UpdateQuotaPreferenceRequest |
responseObserver | io.grpc.stub.StreamObserver<QuotaPreference> |