Class MobileDeviceServiceClientImpl
MobileDeviceService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class MobileDeviceServiceClientImpl : MobileDeviceServiceClient
Remarks
Provides methods for handling MobileDevice objects.
Constructors
MobileDeviceServiceClientImpl(MobileDeviceServiceClient, MobileDeviceServiceSettings, ILogger)
Constructs a client wrapper for the MobileDeviceService service, with the specified gRPC client and settings.
Declaration
public MobileDeviceServiceClientImpl(MobileDeviceService.MobileDeviceServiceClient grpcClient, MobileDeviceServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| MobileDeviceService.MobileDeviceServiceClient | grpcClient | The underlying gRPC client. |
| MobileDeviceServiceSettings | settings | The base MobileDeviceServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC MobileDeviceService client
Declaration
public override MobileDeviceService.MobileDeviceServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| MobileDeviceService.MobileDeviceServiceClient |
Overrides
Methods
GetMobileDevice(GetMobileDeviceRequest, CallSettings)
API to retrieve a MobileDevice object.
Declaration
public override MobileDevice GetMobileDevice(GetMobileDeviceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceRequest | 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 |
|---|---|
| MobileDevice | The RPC response. |
Overrides
GetMobileDeviceAsync(GetMobileDeviceRequest, CallSettings)
API to retrieve a MobileDevice object.
Declaration
public override Task<MobileDevice> GetMobileDeviceAsync(GetMobileDeviceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceRequest | 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<MobileDevice> | A Task containing the RPC response. |
Overrides
ListMobileDevices(ListMobileDevicesRequest, CallSettings)
API to retrieve a list of MobileDevice objects.
Declaration
public override PagedEnumerable<ListMobileDevicesResponse, MobileDevice> ListMobileDevices(ListMobileDevicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDevicesRequest | 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<ListMobileDevicesResponse, MobileDevice> | A pageable sequence of MobileDevice resources. |
Overrides
ListMobileDevicesAsync(ListMobileDevicesRequest, CallSettings)
API to retrieve a list of MobileDevice objects.
Declaration
public override PagedAsyncEnumerable<ListMobileDevicesResponse, MobileDevice> ListMobileDevicesAsync(ListMobileDevicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDevicesRequest | 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<ListMobileDevicesResponse, MobileDevice> | A pageable asynchronous sequence of MobileDevice resources. |