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

[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
NameDescription
requestCreateQuotaPreferenceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetQuotaInfoRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetQuotaPreferenceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListQuotaInfosRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListQuotaPreferencesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateQuotaPreferenceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskQuotaPreference

The response to send back to the client (wrapped by a task).