Class LinkedDeviceService.LinkedDeviceServiceBase
Base class for server-side implementations of LinkedDeviceService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(LinkedDeviceService), "BindService")]
public abstract class LinkedDeviceService.LinkedDeviceServiceBase
Methods
GetLinkedDevice(GetLinkedDeviceRequest, ServerCallContext)
Gets a LinkedDevice.
Declaration
public virtual Task<LinkedDevice> GetLinkedDevice(GetLinkedDeviceRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLinkedDeviceRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<LinkedDevice> | The response to send back to the client (wrapped by a task). |
ListLinkedDevices(ListLinkedDevicesRequest, ServerCallContext)
Lists LinkedDevice objects.
Declaration
public virtual Task<ListLinkedDevicesResponse> ListLinkedDevices(ListLinkedDevicesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLinkedDevicesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListLinkedDevicesResponse> | The response to send back to the client (wrapped by a task). |