Class DeviceCategoryServiceClientImpl
DeviceCategoryService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DeviceCategoryServiceClientImpl : DeviceCategoryServiceClient
Remarks
Provides methods for handling DeviceCategory objects.
Constructors
DeviceCategoryServiceClientImpl(DeviceCategoryServiceClient, DeviceCategoryServiceSettings, ILogger)
Constructs a client wrapper for the DeviceCategoryService service, with the specified gRPC client and settings.
Declaration
public DeviceCategoryServiceClientImpl(DeviceCategoryService.DeviceCategoryServiceClient grpcClient, DeviceCategoryServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceCategoryService.DeviceCategoryServiceClient | grpcClient | The underlying gRPC client. |
| DeviceCategoryServiceSettings | settings | The base DeviceCategoryServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC DeviceCategoryService client
Declaration
public override DeviceCategoryService.DeviceCategoryServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| DeviceCategoryService.DeviceCategoryServiceClient |
Overrides
Methods
GetDeviceCategory(GetDeviceCategoryRequest, CallSettings)
API to retrieve a DeviceCategory object.
Declaration
public override DeviceCategory GetDeviceCategory(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDeviceCategoryRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| DeviceCategory | The RPC response. |
Overrides
GetDeviceCategoryAsync(GetDeviceCategoryRequest, CallSettings)
API to retrieve a DeviceCategory object.
Declaration
public override Task<DeviceCategory> GetDeviceCategoryAsync(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDeviceCategoryRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<DeviceCategory> | A Task containing the RPC response. |
Overrides
ListDeviceCategories(ListDeviceCategoriesRequest, CallSettings)
API to retrieve a list of DeviceCategory objects.
Declaration
public override PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategories(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDeviceCategoriesRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> | A pageable sequence of DeviceCategory resources. |
Overrides
ListDeviceCategoriesAsync(ListDeviceCategoriesRequest, CallSettings)
API to retrieve a list of DeviceCategory objects.
Declaration
public override PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategoriesAsync(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDeviceCategoriesRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> | A pageable asynchronous sequence of DeviceCategory resources. |