Show / Hide Table of Contents

Class LinkedDeviceService.LinkedDeviceServiceClient

Client for LinkedDeviceService

Inheritance
object
ClientBase
ClientBase<LinkedDeviceService.LinkedDeviceServiceClient>
LinkedDeviceService.LinkedDeviceServiceClient
Inherited Members
ClientBase<LinkedDeviceService.LinkedDeviceServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class LinkedDeviceService.LinkedDeviceServiceClient : ClientBase<LinkedDeviceService.LinkedDeviceServiceClient>

Constructors

LinkedDeviceServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected LinkedDeviceServiceClient()

LinkedDeviceServiceClient(CallInvoker)

Creates a new client for LinkedDeviceService that uses a custom CallInvoker.

Declaration
public LinkedDeviceServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

LinkedDeviceServiceClient(ChannelBase)

Creates a new client for LinkedDeviceService

Declaration
public LinkedDeviceServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

LinkedDeviceServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected LinkedDeviceServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetLinkedDevice(GetLinkedDeviceRequest, CallOptions)

Gets a LinkedDevice.

Declaration
public virtual LinkedDevice GetLinkedDevice(GetLinkedDeviceRequest request, CallOptions options)
Parameters
Type Name Description
GetLinkedDeviceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LinkedDevice

The response received from the server.

GetLinkedDevice(GetLinkedDeviceRequest, Metadata, DateTime?, CancellationToken)

Gets a LinkedDevice.

Declaration
public virtual LinkedDevice GetLinkedDevice(GetLinkedDeviceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLinkedDeviceRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
LinkedDevice

The response received from the server.

GetLinkedDeviceAsync(GetLinkedDeviceRequest, CallOptions)

Gets a LinkedDevice.

Declaration
public virtual AsyncUnaryCall<LinkedDevice> GetLinkedDeviceAsync(GetLinkedDeviceRequest request, CallOptions options)
Parameters
Type Name Description
GetLinkedDeviceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LinkedDevice>

The call object.

GetLinkedDeviceAsync(GetLinkedDeviceRequest, Metadata, DateTime?, CancellationToken)

Gets a LinkedDevice.

Declaration
public virtual AsyncUnaryCall<LinkedDevice> GetLinkedDeviceAsync(GetLinkedDeviceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLinkedDeviceRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<LinkedDevice>

The call object.

ListLinkedDevices(ListLinkedDevicesRequest, CallOptions)

Lists LinkedDevice objects.

Declaration
public virtual ListLinkedDevicesResponse ListLinkedDevices(ListLinkedDevicesRequest request, CallOptions options)
Parameters
Type Name Description
ListLinkedDevicesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListLinkedDevicesResponse

The response received from the server.

ListLinkedDevices(ListLinkedDevicesRequest, Metadata, DateTime?, CancellationToken)

Lists LinkedDevice objects.

Declaration
public virtual ListLinkedDevicesResponse ListLinkedDevices(ListLinkedDevicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLinkedDevicesRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListLinkedDevicesResponse

The response received from the server.

ListLinkedDevicesAsync(ListLinkedDevicesRequest, CallOptions)

Lists LinkedDevice objects.

Declaration
public virtual AsyncUnaryCall<ListLinkedDevicesResponse> ListLinkedDevicesAsync(ListLinkedDevicesRequest request, CallOptions options)
Parameters
Type Name Description
ListLinkedDevicesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListLinkedDevicesResponse>

The call object.

ListLinkedDevicesAsync(ListLinkedDevicesRequest, Metadata, DateTime?, CancellationToken)

Lists LinkedDevice objects.

Declaration
public virtual AsyncUnaryCall<ListLinkedDevicesResponse> ListLinkedDevicesAsync(ListLinkedDevicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLinkedDevicesRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListLinkedDevicesResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override LinkedDeviceService.LinkedDeviceServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
LinkedDeviceService.LinkedDeviceServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.LinkedDeviceService.LinkedDeviceServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX