Class QuotaService.QuotaServiceClient
Client for QuotaService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Quota.V1Beta
Assembly: Google.Shopping.Merchant.Quota.V1Beta.dll
Syntax
public class QuotaService.QuotaServiceClient : ClientBase<QuotaService.QuotaServiceClient>
Constructors
QuotaServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected QuotaServiceClient()
QuotaServiceClient(CallInvoker)
Creates a new client for QuotaService that uses a custom CallInvoker
.
Declaration
public QuotaServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
QuotaServiceClient(ChannelBase)
Creates a new client for QuotaService
Declaration
public QuotaServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
QuotaServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected QuotaServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
ListQuotaGroups(ListQuotaGroupsRequest, CallOptions)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public virtual ListQuotaGroupsResponse ListQuotaGroups(ListQuotaGroupsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListQuotaGroupsResponse | The response received from the server. |
ListQuotaGroups(ListQuotaGroupsRequest, Metadata, DateTime?, CancellationToken)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public virtual ListQuotaGroupsResponse ListQuotaGroups(ListQuotaGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ListQuotaGroupsResponse | The response received from the server. |
ListQuotaGroupsAsync(ListQuotaGroupsRequest, CallOptions)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public virtual AsyncUnaryCall<ListQuotaGroupsResponse> ListQuotaGroupsAsync(ListQuotaGroupsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListQuotaGroupsResponse> | The call object. |
ListQuotaGroupsAsync(ListQuotaGroupsRequest, Metadata, DateTime?, CancellationToken)
Lists the daily call quota and usage per group for your Merchant Center account.
Declaration
public virtual AsyncUnaryCall<ListQuotaGroupsResponse> ListQuotaGroupsAsync(ListQuotaGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListQuotaGroupsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListQuotaGroupsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override QuotaService.QuotaServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
QuotaService.QuotaServiceClient |