Class AccountServicesServiceClientImpl
AccountServicesService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class AccountServicesServiceClientImpl : AccountServicesServiceClient
Remarks
Service to support AccountService API.
Constructors
AccountServicesServiceClientImpl(AccountServicesServiceClient, AccountServicesServiceSettings, ILogger)
Constructs a client wrapper for the AccountServicesService service, with the specified gRPC client and settings.
Declaration
public AccountServicesServiceClientImpl(AccountServicesService.AccountServicesServiceClient grpcClient, AccountServicesServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| AccountServicesService.AccountServicesServiceClient | grpcClient | The underlying gRPC client. |
| AccountServicesServiceSettings | settings | The base AccountServicesServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AccountServicesService client
Declaration
public override AccountServicesService.AccountServicesServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AccountServicesService.AccountServicesServiceClient |
Overrides
Methods
ApproveAccountService(ApproveAccountServiceRequest, CallSettings)
Approve an account service proposal.
Declaration
public override AccountService ApproveAccountService(ApproveAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ApproveAccountServiceRequest | 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 |
|---|---|
| AccountService | The RPC response. |
Overrides
ApproveAccountServiceAsync(ApproveAccountServiceRequest, CallSettings)
Approve an account service proposal.
Declaration
public override Task<AccountService> ApproveAccountServiceAsync(ApproveAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ApproveAccountServiceRequest | 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<AccountService> | A Task containing the RPC response. |
Overrides
GetAccountService(GetAccountServiceRequest, CallSettings)
Retrieve an account service.
Declaration
public override AccountService GetAccountService(GetAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountServiceRequest | 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 |
|---|---|
| AccountService | The RPC response. |
Overrides
GetAccountServiceAsync(GetAccountServiceRequest, CallSettings)
Retrieve an account service.
Declaration
public override Task<AccountService> GetAccountServiceAsync(GetAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountServiceRequest | 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<AccountService> | A Task containing the RPC response. |
Overrides
ListAccountServices(ListAccountServicesRequest, CallSettings)
List account services for the specified accounts. Supports filtering.
Declaration
public override PagedEnumerable<ListAccountServicesResponse, AccountService> ListAccountServices(ListAccountServicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountServicesRequest | 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<ListAccountServicesResponse, AccountService> | A pageable sequence of AccountService resources. |
Overrides
ListAccountServicesAsync(ListAccountServicesRequest, CallSettings)
List account services for the specified accounts. Supports filtering.
Declaration
public override PagedAsyncEnumerable<ListAccountServicesResponse, AccountService> ListAccountServicesAsync(ListAccountServicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountServicesRequest | 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<ListAccountServicesResponse, AccountService> | A pageable asynchronous sequence of AccountService resources. |
Overrides
ProposeAccountService(ProposeAccountServiceRequest, CallSettings)
Propose an account service.
Declaration
public override AccountService ProposeAccountService(ProposeAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProposeAccountServiceRequest | 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 |
|---|---|
| AccountService | The RPC response. |
Overrides
ProposeAccountServiceAsync(ProposeAccountServiceRequest, CallSettings)
Propose an account service.
Declaration
public override Task<AccountService> ProposeAccountServiceAsync(ProposeAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProposeAccountServiceRequest | 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<AccountService> | A Task containing the RPC response. |
Overrides
RejectAccountService(RejectAccountServiceRequest, CallSettings)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public override void RejectAccountService(RejectAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RejectAccountServiceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
RejectAccountServiceAsync(RejectAccountServiceRequest, CallSettings)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public override Task RejectAccountServiceAsync(RejectAccountServiceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RejectAccountServiceRequest | 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 | A Task containing the RPC response. |