Cloud Quotas v1 API - Class CloudQuotas.CloudQuotasBase (1.0.0-beta05)

[BindServiceMethod(typeof(CloudQuotas), "BindService")]
public abstract class CloudQuotas.CloudQuotasBase

Reference documentation and code samples for the Cloud Quotas v1 API class CloudQuotas.CloudQuotasBase.

Base class for server-side implementations of CloudQuotas

Inheritance

object > CloudQuotas.CloudQuotasBase

Namespace

Google.Cloud.CloudQuotas.V1

Assembly

Google.Cloud.CloudQuotas.V1.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 CreateQuotaPreferenceRequest

The request received from the client.

context ServerCallContext

The 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 GetQuotaInfoRequest

The request received from the client.

context ServerCallContext

The 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 GetQuotaPreferenceRequest

The request received from the client.

context ServerCallContext

The 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 ListQuotaInfosRequest

The request received from the client.

context ServerCallContext

The 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 ListQuotaPreferencesRequest

The request received from the client.

context ServerCallContext

The 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 UpdateQuotaPreferenceRequest

The request received from the client.

context ServerCallContext

The 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).