Class AccountsService.AccountsServiceBase
Base class for server-side implementations of AccountsService
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
[BindServiceMethod(typeof(AccountsService), "BindService")]
public abstract class AccountsService.AccountsServiceBase
Methods
GetAccount(GetAccountRequest, ServerCallContext)
Retrieves a single CSS/MC account by ID.
Declaration
public virtual Task<Account> GetAccount(GetAccountRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Account> | The response to send back to the client (wrapped by a task). |
ListChildAccounts(ListChildAccountsRequest, ServerCallContext)
Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.
Declaration
public virtual Task<ListChildAccountsResponse> ListChildAccounts(ListChildAccountsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildAccountsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListChildAccountsResponse> | The response to send back to the client (wrapped by a task). |
UpdateLabels(UpdateAccountLabelsRequest, ServerCallContext)
Updates labels assigned to CSS/MC accounts by a CSS domain.
Declaration
public virtual Task<Account> UpdateLabels(UpdateAccountLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAccountLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Account> | The response to send back to the client (wrapped by a task). |