Class AccountServicesService.AccountServicesServiceClient
Client for AccountServicesService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class AccountServicesService.AccountServicesServiceClient : ClientBase<AccountServicesService.AccountServicesServiceClient>
Constructors
AccountServicesServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AccountServicesServiceClient()
AccountServicesServiceClient(CallInvoker)
Creates a new client for AccountServicesService that uses a custom CallInvoker
.
Declaration
public AccountServicesServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AccountServicesServiceClient(ChannelBase)
Creates a new client for AccountServicesService
Declaration
public AccountServicesServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
AccountServicesServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AccountServicesServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
ApproveAccountService(ApproveAccountServiceRequest, CallOptions)
Approve an account service proposal.
Declaration
public virtual AccountService ApproveAccountService(ApproveAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AccountService | The response received from the server. |
ApproveAccountService(ApproveAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Approve an account service proposal.
Declaration
public virtual AccountService ApproveAccountService(ApproveAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccountServiceRequest | 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 |
---|---|
AccountService | The response received from the server. |
ApproveAccountServiceAsync(ApproveAccountServiceRequest, CallOptions)
Approve an account service proposal.
Declaration
public virtual AsyncUnaryCall<AccountService> ApproveAccountServiceAsync(ApproveAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AccountService> | The call object. |
ApproveAccountServiceAsync(ApproveAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Approve an account service proposal.
Declaration
public virtual AsyncUnaryCall<AccountService> ApproveAccountServiceAsync(ApproveAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccountServiceRequest | 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<AccountService> | The call object. |
GetAccountService(GetAccountServiceRequest, CallOptions)
Retrieve an account service.
Declaration
public virtual AccountService GetAccountService(GetAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AccountService | The response received from the server. |
GetAccountService(GetAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Retrieve an account service.
Declaration
public virtual AccountService GetAccountService(GetAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAccountServiceRequest | 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 |
---|---|
AccountService | The response received from the server. |
GetAccountServiceAsync(GetAccountServiceRequest, CallOptions)
Retrieve an account service.
Declaration
public virtual AsyncUnaryCall<AccountService> GetAccountServiceAsync(GetAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AccountService> | The call object. |
GetAccountServiceAsync(GetAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Retrieve an account service.
Declaration
public virtual AsyncUnaryCall<AccountService> GetAccountServiceAsync(GetAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAccountServiceRequest | 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<AccountService> | The call object. |
ListAccountServices(ListAccountServicesRequest, CallOptions)
List account services for the specified accounts. Supports filtering.
Declaration
public virtual ListAccountServicesResponse ListAccountServices(ListAccountServicesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListAccountServicesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListAccountServicesResponse | The response received from the server. |
ListAccountServices(ListAccountServicesRequest, Metadata, DateTime?, CancellationToken)
List account services for the specified accounts. Supports filtering.
Declaration
public virtual ListAccountServicesResponse ListAccountServices(ListAccountServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListAccountServicesRequest | 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 |
---|---|
ListAccountServicesResponse | The response received from the server. |
ListAccountServicesAsync(ListAccountServicesRequest, CallOptions)
List account services for the specified accounts. Supports filtering.
Declaration
public virtual AsyncUnaryCall<ListAccountServicesResponse> ListAccountServicesAsync(ListAccountServicesRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListAccountServicesRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListAccountServicesResponse> | The call object. |
ListAccountServicesAsync(ListAccountServicesRequest, Metadata, DateTime?, CancellationToken)
List account services for the specified accounts. Supports filtering.
Declaration
public virtual AsyncUnaryCall<ListAccountServicesResponse> ListAccountServicesAsync(ListAccountServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListAccountServicesRequest | 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<ListAccountServicesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override AccountServicesService.AccountServicesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
AccountServicesService.AccountServicesServiceClient |
Overrides
ProposeAccountService(ProposeAccountServiceRequest, CallOptions)
Propose an account service.
Declaration
public virtual AccountService ProposeAccountService(ProposeAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ProposeAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AccountService | The response received from the server. |
ProposeAccountService(ProposeAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Propose an account service.
Declaration
public virtual AccountService ProposeAccountService(ProposeAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ProposeAccountServiceRequest | 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 |
---|---|
AccountService | The response received from the server. |
ProposeAccountServiceAsync(ProposeAccountServiceRequest, CallOptions)
Propose an account service.
Declaration
public virtual AsyncUnaryCall<AccountService> ProposeAccountServiceAsync(ProposeAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ProposeAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AccountService> | The call object. |
ProposeAccountServiceAsync(ProposeAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Propose an account service.
Declaration
public virtual AsyncUnaryCall<AccountService> ProposeAccountServiceAsync(ProposeAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ProposeAccountServiceRequest | 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<AccountService> | The call object. |
RejectAccountService(RejectAccountServiceRequest, CallOptions)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public virtual Empty RejectAccountService(RejectAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
RejectAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
RejectAccountService(RejectAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public virtual Empty RejectAccountService(RejectAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
RejectAccountServiceRequest | 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 |
---|---|
Empty | The response received from the server. |
RejectAccountServiceAsync(RejectAccountServiceRequest, CallOptions)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public virtual AsyncUnaryCall<Empty> RejectAccountServiceAsync(RejectAccountServiceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
RejectAccountServiceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
RejectAccountServiceAsync(RejectAccountServiceRequest, Metadata, DateTime?, CancellationToken)
Reject an account service (both proposed and approve services can be rejected).
Declaration
public virtual AsyncUnaryCall<Empty> RejectAccountServiceAsync(RejectAccountServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
RejectAccountServiceRequest | 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<Empty> | The call object. |