Show / Hide Table of Contents

Class MobileDeviceServiceClientImpl

MobileDeviceService client wrapper implementation, for convenient use.

Inheritance
object
MobileDeviceServiceClient
MobileDeviceServiceClientImpl
Inherited Members
MobileDeviceServiceClient.DefaultEndpoint
MobileDeviceServiceClient.DefaultScopes
MobileDeviceServiceClient.ServiceMetadata
MobileDeviceServiceClient.CreateAsync(CancellationToken)
MobileDeviceServiceClient.Create()
MobileDeviceServiceClient.ShutdownDefaultChannelsAsync()
MobileDeviceServiceClient.GetMobileDeviceAsync(GetMobileDeviceRequest, CancellationToken)
MobileDeviceServiceClient.GetMobileDevice(string, CallSettings)
MobileDeviceServiceClient.GetMobileDeviceAsync(string, CallSettings)
MobileDeviceServiceClient.GetMobileDeviceAsync(string, CancellationToken)
MobileDeviceServiceClient.GetMobileDevice(MobileDeviceName, CallSettings)
MobileDeviceServiceClient.GetMobileDeviceAsync(MobileDeviceName, CallSettings)
MobileDeviceServiceClient.GetMobileDeviceAsync(MobileDeviceName, CancellationToken)
MobileDeviceServiceClient.ListMobileDevices(string, string, int?, CallSettings)
MobileDeviceServiceClient.ListMobileDevicesAsync(string, string, int?, CallSettings)
MobileDeviceServiceClient.ListMobileDevices(NetworkName, string, int?, CallSettings)
MobileDeviceServiceClient.ListMobileDevicesAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
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
MobileDeviceServiceClient.GrpcClient

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
MobileDeviceServiceClient.GetMobileDevice(GetMobileDeviceRequest, CallSettings)

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
MobileDeviceServiceClient.GetMobileDeviceAsync(GetMobileDeviceRequest, CallSettings)

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
MobileDeviceServiceClient.ListMobileDevices(ListMobileDevicesRequest, CallSettings)

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.

Overrides
MobileDeviceServiceClient.ListMobileDevicesAsync(ListMobileDevicesRequest, CallSettings)
In this article
Back to top Generated by DocFX