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

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

Creates new EventService 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
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
Name Description
request ICreateClientEventRequest

CreateClientEventRequest message or plain object

callback CreateClientEventCallback

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

Returns
Type Description
void

createClientEvent(request)

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

Calls CreateClientEvent.

Parameter
Name Description
request ICreateClientEventRequest

CreateClientEventRequest message or plain object

Returns
Type Description
Promise<google.cloud.talent.v4beta1.ClientEvent>

Promise