Show / Hide Table of Contents

Class DeviceManufacturerService.DeviceManufacturerServiceClient

Client for DeviceManufacturerService

Inheritance
object
ClientBase
ClientBase<DeviceManufacturerService.DeviceManufacturerServiceClient>
DeviceManufacturerService.DeviceManufacturerServiceClient
Inherited Members
ClientBase<DeviceManufacturerService.DeviceManufacturerServiceClient>.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 DeviceManufacturerService.DeviceManufacturerServiceClient : ClientBase<DeviceManufacturerService.DeviceManufacturerServiceClient>

Constructors

DeviceManufacturerServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected DeviceManufacturerServiceClient()

DeviceManufacturerServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

DeviceManufacturerServiceClient(ChannelBase)

Creates a new client for DeviceManufacturerService

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

The channel to use to make remote calls.

DeviceManufacturerServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetDeviceManufacturer(GetDeviceManufacturerRequest, CallOptions)

API to retrieve a DeviceManufacturer object.

Declaration
public virtual DeviceManufacturer GetDeviceManufacturer(GetDeviceManufacturerRequest request, CallOptions options)
Parameters
Type Name Description
GetDeviceManufacturerRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
DeviceManufacturer

The response received from the server.

GetDeviceManufacturer(GetDeviceManufacturerRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a DeviceManufacturer object.

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

The response received from the server.

GetDeviceManufacturerAsync(GetDeviceManufacturerRequest, CallOptions)

API to retrieve a DeviceManufacturer object.

Declaration
public virtual AsyncUnaryCall<DeviceManufacturer> GetDeviceManufacturerAsync(GetDeviceManufacturerRequest request, CallOptions options)
Parameters
Type Name Description
GetDeviceManufacturerRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<DeviceManufacturer>

The call object.

GetDeviceManufacturerAsync(GetDeviceManufacturerRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a DeviceManufacturer object.

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

The call object.

ListDeviceManufacturers(ListDeviceManufacturersRequest, CallOptions)

API to retrieve a list of DeviceManufacturer objects.

Declaration
public virtual ListDeviceManufacturersResponse ListDeviceManufacturers(ListDeviceManufacturersRequest request, CallOptions options)
Parameters
Type Name Description
ListDeviceManufacturersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListDeviceManufacturersResponse

The response received from the server.

ListDeviceManufacturers(ListDeviceManufacturersRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of DeviceManufacturer objects.

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

The response received from the server.

ListDeviceManufacturersAsync(ListDeviceManufacturersRequest, CallOptions)

API to retrieve a list of DeviceManufacturer objects.

Declaration
public virtual AsyncUnaryCall<ListDeviceManufacturersResponse> ListDeviceManufacturersAsync(ListDeviceManufacturersRequest request, CallOptions options)
Parameters
Type Name Description
ListDeviceManufacturersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListDeviceManufacturersResponse>

The call object.

ListDeviceManufacturersAsync(ListDeviceManufacturersRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of DeviceManufacturer objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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