Class protos.google.cloud.talent.v4.EventService (6.0.2)

Represents an EventService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.talent.v4.EventService

Package

@google-cloud/talent

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new EventService service.

Parameters
NameDescription
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): EventService;

Creates new EventService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
EventService

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

createClientEvent(request, callback)

public createClientEvent(request: google.cloud.talent.v4.ICreateClientEventRequest, callback: google.cloud.talent.v4.EventService.CreateClientEventCallback): void;

Calls CreateClientEvent.

Parameters
NameDescription
request ICreateClientEventRequest

CreateClientEventRequest message or plain object

callback CreateClientEventCallback

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

Returns
TypeDescription
void

createClientEvent(request)

public createClientEvent(request: google.cloud.talent.v4.ICreateClientEventRequest): Promise<google.cloud.talent.v4.ClientEvent>;

Calls CreateClientEvent.

Parameter
NameDescription
request ICreateClientEventRequest

CreateClientEventRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4.ClientEvent>

Promise