Class protos.google.ads.admanager.v1.DeviceManufacturerService (0.7.0)

Represents a DeviceManufacturerService

Inheritance

$protobuf.rpc.Service > protos.google.ads.admanager.v1.DeviceManufacturerService

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DeviceManufacturerService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DeviceManufacturerService;

Creates new DeviceManufacturerService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
DeviceManufacturerService

RPC service. Useful where requests and/or responses are streamed.

getDeviceManufacturer(request, callback)

public getDeviceManufacturer(request: google.ads.admanager.v1.IGetDeviceManufacturerRequest, callback: google.ads.admanager.v1.DeviceManufacturerService.GetDeviceManufacturerCallback): void;

Calls GetDeviceManufacturer.

Parameters
Name Description
request IGetDeviceManufacturerRequest

GetDeviceManufacturerRequest message or plain object

callback GetDeviceManufacturerCallback

Node-style callback called with the error, if any, and DeviceManufacturer

Returns
Type Description
void

getDeviceManufacturer(request)

public getDeviceManufacturer(request: google.ads.admanager.v1.IGetDeviceManufacturerRequest): Promise<google.ads.admanager.v1.DeviceManufacturer>;

Calls GetDeviceManufacturer.

Parameter
Name Description
request IGetDeviceManufacturerRequest

GetDeviceManufacturerRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.DeviceManufacturer>

Promise

listDeviceManufacturers(request, callback)

public listDeviceManufacturers(request: google.ads.admanager.v1.IListDeviceManufacturersRequest, callback: google.ads.admanager.v1.DeviceManufacturerService.ListDeviceManufacturersCallback): void;

Calls ListDeviceManufacturers.

Parameters
Name Description
request IListDeviceManufacturersRequest

ListDeviceManufacturersRequest message or plain object

callback ListDeviceManufacturersCallback

Node-style callback called with the error, if any, and ListDeviceManufacturersResponse

Returns
Type Description
void

listDeviceManufacturers(request)

public listDeviceManufacturers(request: google.ads.admanager.v1.IListDeviceManufacturersRequest): Promise<google.ads.admanager.v1.ListDeviceManufacturersResponse>;

Calls ListDeviceManufacturers.

Parameter
Name Description
request IListDeviceManufacturersRequest

ListDeviceManufacturersRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.ListDeviceManufacturersResponse>

Promise