Class LinkedDeviceServiceClientImpl
LinkedDeviceService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LinkedDeviceServiceClientImpl : LinkedDeviceServiceClient
Remarks
Provides methods for handling LinkedDevice objects.
Constructors
LinkedDeviceServiceClientImpl(LinkedDeviceServiceClient, LinkedDeviceServiceSettings, ILogger)
Constructs a client wrapper for the LinkedDeviceService service, with the specified gRPC client and settings.
Declaration
public LinkedDeviceServiceClientImpl(LinkedDeviceService.LinkedDeviceServiceClient grpcClient, LinkedDeviceServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| LinkedDeviceService.LinkedDeviceServiceClient | grpcClient | The underlying gRPC client. |
| LinkedDeviceServiceSettings | settings | The base LinkedDeviceServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LinkedDeviceService client
Declaration
public override LinkedDeviceService.LinkedDeviceServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| LinkedDeviceService.LinkedDeviceServiceClient |
Overrides
Methods
GetLinkedDevice(GetLinkedDeviceRequest, CallSettings)
Gets a LinkedDevice.
Declaration
public override LinkedDevice GetLinkedDevice(GetLinkedDeviceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLinkedDeviceRequest | 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 |
|---|---|
| LinkedDevice | The RPC response. |
Overrides
GetLinkedDeviceAsync(GetLinkedDeviceRequest, CallSettings)
Gets a LinkedDevice.
Declaration
public override Task<LinkedDevice> GetLinkedDeviceAsync(GetLinkedDeviceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLinkedDeviceRequest | 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<LinkedDevice> | A Task containing the RPC response. |
Overrides
ListLinkedDevices(ListLinkedDevicesRequest, CallSettings)
Lists LinkedDevice objects.
Declaration
public override PagedEnumerable<ListLinkedDevicesResponse, LinkedDevice> ListLinkedDevices(ListLinkedDevicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLinkedDevicesRequest | 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<ListLinkedDevicesResponse, LinkedDevice> | A pageable sequence of LinkedDevice resources. |
Overrides
ListLinkedDevicesAsync(ListLinkedDevicesRequest, CallSettings)
Lists LinkedDevice objects.
Declaration
public override PagedAsyncEnumerable<ListLinkedDevicesResponse, LinkedDevice> ListLinkedDevicesAsync(ListLinkedDevicesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLinkedDevicesRequest | 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<ListLinkedDevicesResponse, LinkedDevice> | A pageable asynchronous sequence of LinkedDevice resources. |