Class AccountLimitsServiceClientImpl
AccountLimitsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Quota.V1
Assembly: Google.Shopping.Merchant.Quota.V1.dll
Syntax
public sealed class AccountLimitsServiceClientImpl : AccountLimitsServiceClient
Remarks
Service to retrieve account limits.
Constructors
AccountLimitsServiceClientImpl(AccountLimitsServiceClient, AccountLimitsServiceSettings, ILogger)
Constructs a client wrapper for the AccountLimitsService service, with the specified gRPC client and settings.
Declaration
public AccountLimitsServiceClientImpl(AccountLimitsService.AccountLimitsServiceClient grpcClient, AccountLimitsServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| AccountLimitsService.AccountLimitsServiceClient | grpcClient | The underlying gRPC client. |
| AccountLimitsServiceSettings | settings | The base AccountLimitsServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AccountLimitsService client
Declaration
public override AccountLimitsService.AccountLimitsServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AccountLimitsService.AccountLimitsServiceClient |
Overrides
Methods
GetAccountLimit(GetAccountLimitRequest, CallSettings)
Retrieves an account limit.
Declaration
public override AccountLimit GetAccountLimit(GetAccountLimitRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | 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 |
|---|---|
| AccountLimit | The RPC response. |
Overrides
GetAccountLimitAsync(GetAccountLimitRequest, CallSettings)
Retrieves an account limit.
Declaration
public override Task<AccountLimit> GetAccountLimitAsync(GetAccountLimitRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountLimitRequest | 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 |
|---|---|
| Task<AccountLimit> | A Task containing the RPC response. |
Overrides
ListAccountLimits(ListAccountLimitsRequest, CallSettings)
Lists the limits of an account.
Declaration
public override PagedEnumerable<ListAccountLimitsResponse, AccountLimit> ListAccountLimits(ListAccountLimitsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | 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<ListAccountLimitsResponse, AccountLimit> | A pageable sequence of AccountLimit resources. |
Overrides
ListAccountLimitsAsync(ListAccountLimitsRequest, CallSettings)
Lists the limits of an account.
Declaration
public override PagedAsyncEnumerable<ListAccountLimitsResponse, AccountLimit> ListAccountLimitsAsync(ListAccountLimitsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountLimitsRequest | 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<ListAccountLimitsResponse, AccountLimit> | A pageable asynchronous sequence of AccountLimit resources. |