Interface CloudQuotasGrpc.AsyncService (0.1.0)

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
NameDescription
requestCreateQuotaPreferenceRequest
responseObserverio.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
NameDescription
requestGetQuotaInfoRequest
responseObserverio.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
NameDescription
requestGetQuotaPreferenceRequest
responseObserverio.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
NameDescription
requestListQuotaInfosRequest
responseObserverio.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
NameDescription
requestListQuotaPreferencesRequest
responseObserverio.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
NameDescription
requestUpdateQuotaPreferenceRequest
responseObserverio.grpc.stub.StreamObserver<QuotaPreference>