Show / Hide Table of Contents

Class GbpAccountsService.GbpAccountsServiceBase

Base class for server-side implementations of GbpAccountsService

Inheritance
object
GbpAccountsService.GbpAccountsServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(GbpAccountsService), "BindService")]
public abstract class GbpAccountsService.GbpAccountsServiceBase

Methods

LinkGbpAccount(LinkGbpAccountRequest, ServerCallContext)

Link the specified merchant to a GBP account for all countries.

To run this method, you must have admin access to the Merchant Center account. If you don't have admin access, the request fails with the error message User is not an administrator of account {ACCOUNT_ID}.

Declaration
public virtual Task<LinkGbpAccountResponse> LinkGbpAccount(LinkGbpAccountRequest request, ServerCallContext context)
Parameters
Type Name Description
LinkGbpAccountRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<LinkGbpAccountResponse>

The response to send back to the client (wrapped by a task).

ListGbpAccounts(ListGbpAccountsRequest, ServerCallContext)

List the GBP accounts for a given merchant.

Declaration
public virtual Task<ListGbpAccountsResponse> ListGbpAccounts(ListGbpAccountsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListGbpAccountsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListGbpAccountsResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX