public static interface GbpAccountsServiceGrpc.AsyncService
The service facilitates the management of a merchant's Google Business Profile (GBP) account settings. This API defines the following resource model:
- GbpAccount
Methods
linkGbpAccount(LinkGbpAccountRequest request, StreamObserver<LinkGbpAccountResponse> responseObserver)
public default void linkGbpAccount(LinkGbpAccountRequest request, StreamObserver<LinkGbpAccountResponse> responseObserver)
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}
.
Parameters | |
---|---|
Name | Description |
request |
LinkGbpAccountRequest |
responseObserver |
io.grpc.stub.StreamObserver<LinkGbpAccountResponse> |
listGbpAccounts(ListGbpAccountsRequest request, StreamObserver<ListGbpAccountsResponse> responseObserver)
public default void listGbpAccounts(ListGbpAccountsRequest request, StreamObserver<ListGbpAccountsResponse> responseObserver)
List the GBP accounts for a given merchant.
Parameters | |
---|---|
Name | Description |
request |
ListGbpAccountsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListGbpAccountsResponse> |