[BindServiceMethod(typeof(CloudQuotas), "BindService")]
public abstract class CloudQuotas.CloudQuotasBaseReference documentation and code samples for the Cloud Quotas v1beta API class CloudQuotas.CloudQuotasBase.
Base class for server-side implementations of CloudQuotas
Namespace
Google.Cloud.CloudQuotas.V1BetaAssembly
Google.Cloud.CloudQuotas.V1Beta.dll
Methods
CreateQuotaPreference(CreateQuotaPreferenceRequest, ServerCallContext)
public virtual Task<QuotaPreference> CreateQuotaPreference(CreateQuotaPreferenceRequest request, ServerCallContext context)Creates a new QuotaPreference that declares the desired value for a quota.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateQuotaPreferenceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskQuotaPreference |
The response to send back to the client (wrapped by a task). |
GetQuotaInfo(GetQuotaInfoRequest, ServerCallContext)
public virtual Task<QuotaInfo> GetQuotaInfo(GetQuotaInfoRequest request, ServerCallContext context)Retrieve the QuotaInfo of a quota for a project, folder or organization.
| Parameters | |
|---|---|
| Name | Description |
request |
GetQuotaInfoRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskQuotaInfo |
The response to send back to the client (wrapped by a task). |
GetQuotaPreference(GetQuotaPreferenceRequest, ServerCallContext)
public virtual Task<QuotaPreference> GetQuotaPreference(GetQuotaPreferenceRequest request, ServerCallContext context)Gets details of a single QuotaPreference.
| Parameters | |
|---|---|
| Name | Description |
request |
GetQuotaPreferenceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskQuotaPreference |
The response to send back to the client (wrapped by a task). |
ListQuotaInfos(ListQuotaInfosRequest, ServerCallContext)
public virtual Task<ListQuotaInfosResponse> ListQuotaInfos(ListQuotaInfosRequest request, ServerCallContext context)Lists QuotaInfos of all quotas for a given project, folder or organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListQuotaInfosRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListQuotaInfosResponse |
The response to send back to the client (wrapped by a task). |
ListQuotaPreferences(ListQuotaPreferencesRequest, ServerCallContext)
public virtual Task<ListQuotaPreferencesResponse> ListQuotaPreferences(ListQuotaPreferencesRequest request, ServerCallContext context)Lists QuotaPreferences in a given project, folder or organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListQuotaPreferencesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListQuotaPreferencesResponse |
The response to send back to the client (wrapped by a task). |
UpdateQuotaPreference(UpdateQuotaPreferenceRequest, ServerCallContext)
public virtual Task<QuotaPreference> UpdateQuotaPreference(UpdateQuotaPreferenceRequest request, ServerCallContext context)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 |
UpdateQuotaPreferenceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskQuotaPreference |
The response to send back to the client (wrapped by a task). |