Class GbpAccountsService
The service facilitates the management of a merchant's Google Business Profile (GBP) account settings. This API defines the following resource model:
- [GbpAccount][google.shopping.merchant.accounts.v1.GbpAccount]
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public static class GbpAccountsService
Methods
BindService(GbpAccountsServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(GbpAccountsService.GbpAccountsServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
GbpAccountsService.GbpAccountsServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, GbpAccountsServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, GbpAccountsService.GbpAccountsServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
GbpAccountsService.GbpAccountsServiceBase | serviceImpl | An object implementing the server-side handling logic. |