Class QuotaServiceClientImpl
QuotaService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Quota.V1Beta
Assembly: Google.Shopping.Merchant.Quota.V1Beta.dll
Syntax
public sealed class QuotaServiceClientImpl : QuotaServiceClient
Remarks
Service to get method call quota information per Merchant API method.
Constructors
QuotaServiceClientImpl(QuotaServiceClient, QuotaServiceSettings, ILogger)
Constructs a client wrapper for the QuotaService service, with the specified gRPC client and settings.
Declaration
public QuotaServiceClientImpl(QuotaService.QuotaServiceClient grpcClient, QuotaServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
QuotaService.QuotaServiceClient | grpcClient | The underlying gRPC client. |
QuotaServiceSettings | settings | The base QuotaServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC QuotaService client
Declaration
public override QuotaService.QuotaServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
QuotaService.QuotaServiceClient |
Overrides
Methods
ListQuotaGroups(ListQuotaGroupsRequest, CallSettings)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public override PagedEnumerable<ListQuotaGroupsResponse, QuotaGroup> ListQuotaGroups(ListQuotaGroupsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListQuotaGroupsResponse, QuotaGroup> | A pageable sequence of QuotaGroup resources. |
Overrides
ListQuotaGroupsAsync(ListQuotaGroupsRequest, CallSettings)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public override PagedAsyncEnumerable<ListQuotaGroupsResponse, QuotaGroup> ListQuotaGroupsAsync(ListQuotaGroupsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListQuotaGroupsResponse, QuotaGroup> | A pageable asynchronous sequence of QuotaGroup resources. |