Show / Hide Table of Contents

Class MobileDeviceService.MobileDeviceServiceClient

Client for MobileDeviceService

Inheritance
object
ClientBase
ClientBase<MobileDeviceService.MobileDeviceServiceClient>
MobileDeviceService.MobileDeviceServiceClient
Inherited Members
ClientBase<MobileDeviceService.MobileDeviceServiceClient>.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 MobileDeviceService.MobileDeviceServiceClient : ClientBase<MobileDeviceService.MobileDeviceServiceClient>

Constructors

MobileDeviceServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected MobileDeviceServiceClient()

MobileDeviceServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

MobileDeviceServiceClient(ChannelBase)

Creates a new client for MobileDeviceService

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

The channel to use to make remote calls.

MobileDeviceServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetMobileDevice(GetMobileDeviceRequest, CallOptions)

API to retrieve a MobileDevice object.

Declaration
public virtual MobileDevice GetMobileDevice(GetMobileDeviceRequest request, CallOptions options)
Parameters
Type Name Description
GetMobileDeviceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
MobileDevice

The response received from the server.

GetMobileDevice(GetMobileDeviceRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a MobileDevice object.

Declaration
public virtual MobileDevice GetMobileDevice(GetMobileDeviceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetMobileDeviceRequest 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
MobileDevice

The response received from the server.

GetMobileDeviceAsync(GetMobileDeviceRequest, CallOptions)

API to retrieve a MobileDevice object.

Declaration
public virtual AsyncUnaryCall<MobileDevice> GetMobileDeviceAsync(GetMobileDeviceRequest request, CallOptions options)
Parameters
Type Name Description
GetMobileDeviceRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<MobileDevice>

The call object.

GetMobileDeviceAsync(GetMobileDeviceRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a MobileDevice object.

Declaration
public virtual AsyncUnaryCall<MobileDevice> GetMobileDeviceAsync(GetMobileDeviceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetMobileDeviceRequest 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<MobileDevice>

The call object.

ListMobileDevices(ListMobileDevicesRequest, CallOptions)

API to retrieve a list of MobileDevice objects.

Declaration
public virtual ListMobileDevicesResponse ListMobileDevices(ListMobileDevicesRequest request, CallOptions options)
Parameters
Type Name Description
ListMobileDevicesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListMobileDevicesResponse

The response received from the server.

ListMobileDevices(ListMobileDevicesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of MobileDevice objects.

Declaration
public virtual ListMobileDevicesResponse ListMobileDevices(ListMobileDevicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListMobileDevicesRequest 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
ListMobileDevicesResponse

The response received from the server.

ListMobileDevicesAsync(ListMobileDevicesRequest, CallOptions)

API to retrieve a list of MobileDevice objects.

Declaration
public virtual AsyncUnaryCall<ListMobileDevicesResponse> ListMobileDevicesAsync(ListMobileDevicesRequest request, CallOptions options)
Parameters
Type Name Description
ListMobileDevicesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListMobileDevicesResponse>

The call object.

ListMobileDevicesAsync(ListMobileDevicesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of MobileDevice objects.

Declaration
public virtual AsyncUnaryCall<ListMobileDevicesResponse> ListMobileDevicesAsync(ListMobileDevicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListMobileDevicesRequest 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<ListMobileDevicesResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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