Class BusinessIdentityService.BusinessIdentityServiceBase
Base class for server-side implementations of BusinessIdentityService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(BusinessIdentityService), "BindService")]
public abstract class BusinessIdentityService.BusinessIdentityServiceBase
Methods
GetBusinessIdentity(GetBusinessIdentityRequest, ServerCallContext)
Retrieves the business identity of an account.
Declaration
public virtual Task<BusinessIdentity> GetBusinessIdentity(GetBusinessIdentityRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetBusinessIdentityRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<BusinessIdentity> | The response to send back to the client (wrapped by a task). |
UpdateBusinessIdentity(UpdateBusinessIdentityRequest, ServerCallContext)
Updates the business identity of an account. Executing this method requires admin access.
Declaration
public virtual Task<BusinessIdentity> UpdateBusinessIdentity(UpdateBusinessIdentityRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
UpdateBusinessIdentityRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<BusinessIdentity> | The response to send back to the client (wrapped by a task). |