public static interface CloudQuotasGrpc.AsyncService
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.
Methods
createQuotaPreference(CreateQuotaPreferenceRequest request, StreamObserver<QuotaPreference> responseObserver)
public default 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 default 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 default 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 default 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 default 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 default 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> |