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