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