Class BrowserService.BrowserServiceBase
Base class for server-side implementations of BrowserService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(BrowserService), "BindService")]
public abstract class BrowserService.BrowserServiceBase
Methods
GetBrowser(GetBrowserRequest, ServerCallContext)
API to retrieve a Browser object.
Declaration
public virtual Task<Browser> GetBrowser(GetBrowserRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBrowserRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Browser> | The response to send back to the client (wrapped by a task). |
ListBrowsers(ListBrowsersRequest, ServerCallContext)
API to retrieve a list of Browser objects.
Declaration
public virtual Task<ListBrowsersResponse> ListBrowsers(ListBrowsersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBrowsersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListBrowsersResponse> | The response to send back to the client (wrapped by a task). |