Class AccountLimitsService.AccountLimitsServiceClient
Client for AccountLimitsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Quota.V1
Assembly: Google.Shopping.Merchant.Quota.V1.dll
Syntax
public class AccountLimitsService.AccountLimitsServiceClient : ClientBase<AccountLimitsService.AccountLimitsServiceClient>
Constructors
AccountLimitsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AccountLimitsServiceClient()
AccountLimitsServiceClient(CallInvoker)
Creates a new client for AccountLimitsService that uses a custom CallInvoker.
Declaration
public AccountLimitsServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AccountLimitsServiceClient(ChannelBase)
Creates a new client for AccountLimitsService
Declaration
public AccountLimitsServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
AccountLimitsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AccountLimitsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetAccountLimit(GetAccountLimitRequest, CallOptions)
Retrieves an account limit.
Declaration
public virtual AccountLimit GetAccountLimit(GetAccountLimitRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AccountLimit | The response received from the server. |
GetAccountLimit(GetAccountLimitRequest, Metadata, DateTime?, CancellationToken)
Retrieves an account limit.
Declaration
public virtual AccountLimit GetAccountLimit(GetAccountLimitRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | 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 |
|---|---|
| AccountLimit | The response received from the server. |
GetAccountLimitAsync(GetAccountLimitRequest, CallOptions)
Retrieves an account limit.
Declaration
public virtual AsyncUnaryCall<AccountLimit> GetAccountLimitAsync(GetAccountLimitRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AccountLimit> | The call object. |
GetAccountLimitAsync(GetAccountLimitRequest, Metadata, DateTime?, CancellationToken)
Retrieves an account limit.
Declaration
public virtual AsyncUnaryCall<AccountLimit> GetAccountLimitAsync(GetAccountLimitRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | 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<AccountLimit> | The call object. |
ListAccountLimits(ListAccountLimitsRequest, CallOptions)
Lists the limits of an account.
Declaration
public virtual ListAccountLimitsResponse ListAccountLimits(ListAccountLimitsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListAccountLimitsResponse | The response received from the server. |
ListAccountLimits(ListAccountLimitsRequest, Metadata, DateTime?, CancellationToken)
Lists the limits of an account.
Declaration
public virtual ListAccountLimitsResponse ListAccountLimits(ListAccountLimitsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | 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 |
|---|---|
| ListAccountLimitsResponse | The response received from the server. |
ListAccountLimitsAsync(ListAccountLimitsRequest, CallOptions)
Lists the limits of an account.
Declaration
public virtual AsyncUnaryCall<ListAccountLimitsResponse> ListAccountLimitsAsync(ListAccountLimitsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListAccountLimitsResponse> | The call object. |
ListAccountLimitsAsync(ListAccountLimitsRequest, Metadata, DateTime?, CancellationToken)
Lists the limits of an account.
Declaration
public virtual AsyncUnaryCall<ListAccountLimitsResponse> ListAccountLimitsAsync(ListAccountLimitsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | 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<ListAccountLimitsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override AccountLimitsService.AccountLimitsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| AccountLimitsService.AccountLimitsServiceClient |