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 |
---|---|---|
Quota |
grpcClient | The underlying gRPC client. |
Quota |
settings | The base Quota |
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 |
---|---|
Quota |
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 |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable sequence of Quota |
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 |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable asynchronous sequence of Quota |