Class protos.google.cloud.talent.v4beta1.EventService

Represents an EventService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.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.v4beta1.ICreateClientEventRequest, callback: google.cloud.talent.v4beta1.EventService.CreateClientEventCallback): void;

Calls CreateClientEvent.

Parameters
NameDescription
request google.cloud.talent.v4beta1.ICreateClientEventRequest

CreateClientEventRequest message or plain object

callback google.cloud.talent.v4beta1.EventService.CreateClientEventCallback

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

Returns
TypeDescription
void

createClientEvent(request)

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

Calls CreateClientEvent.

Parameter
NameDescription
request google.cloud.talent.v4beta1.ICreateClientEventRequest

CreateClientEventRequest message or plain object

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

Promise