Class protos.google.cloud.talent.v4beta1.ApplicationService

Represents an ApplicationService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.ApplicationService

Package

@google-cloud/talent

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ApplicationService 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): ApplicationService;

Creates new ApplicationService 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
ApplicationService

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

createApplication(request, callback)

public createApplication(request: google.cloud.talent.v4beta1.ICreateApplicationRequest, callback: google.cloud.talent.v4beta1.ApplicationService.CreateApplicationCallback): void;

Calls CreateApplication.

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

CreateApplicationRequest message or plain object

callback google.cloud.talent.v4beta1.ApplicationService.CreateApplicationCallback

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

Returns
TypeDescription
void

createApplication(request)

public createApplication(request: google.cloud.talent.v4beta1.ICreateApplicationRequest): Promise<google.cloud.talent.v4beta1.Application>;

Calls CreateApplication.

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

CreateApplicationRequest message or plain object

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

Promise

deleteApplication(request, callback)

public deleteApplication(request: google.cloud.talent.v4beta1.IDeleteApplicationRequest, callback: google.cloud.talent.v4beta1.ApplicationService.DeleteApplicationCallback): void;

Calls DeleteApplication.

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

DeleteApplicationRequest message or plain object

callback google.cloud.talent.v4beta1.ApplicationService.DeleteApplicationCallback

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

Returns
TypeDescription
void

deleteApplication(request)

public deleteApplication(request: google.cloud.talent.v4beta1.IDeleteApplicationRequest): Promise<google.protobuf.Empty>;

Calls DeleteApplication.

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

DeleteApplicationRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getApplication(request, callback)

public getApplication(request: google.cloud.talent.v4beta1.IGetApplicationRequest, callback: google.cloud.talent.v4beta1.ApplicationService.GetApplicationCallback): void;

Calls GetApplication.

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

GetApplicationRequest message or plain object

callback google.cloud.talent.v4beta1.ApplicationService.GetApplicationCallback

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

Returns
TypeDescription
void

getApplication(request)

public getApplication(request: google.cloud.talent.v4beta1.IGetApplicationRequest): Promise<google.cloud.talent.v4beta1.Application>;

Calls GetApplication.

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

GetApplicationRequest message or plain object

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

Promise

listApplications(request, callback)

public listApplications(request: google.cloud.talent.v4beta1.IListApplicationsRequest, callback: google.cloud.talent.v4beta1.ApplicationService.ListApplicationsCallback): void;

Calls ListApplications.

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

ListApplicationsRequest message or plain object

callback google.cloud.talent.v4beta1.ApplicationService.ListApplicationsCallback

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

Returns
TypeDescription
void

listApplications(request)

public listApplications(request: google.cloud.talent.v4beta1.IListApplicationsRequest): Promise<google.cloud.talent.v4beta1.ListApplicationsResponse>;

Calls ListApplications.

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

ListApplicationsRequest message or plain object

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

Promise

updateApplication(request, callback)

public updateApplication(request: google.cloud.talent.v4beta1.IUpdateApplicationRequest, callback: google.cloud.talent.v4beta1.ApplicationService.UpdateApplicationCallback): void;

Calls UpdateApplication.

Parameters
NameDescription
request IUpdateApplicationRequest

UpdateApplicationRequest message or plain object

callback google.cloud.talent.v4beta1.ApplicationService.UpdateApplicationCallback

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

Returns
TypeDescription
void

updateApplication(request)

public updateApplication(request: google.cloud.talent.v4beta1.IUpdateApplicationRequest): Promise<google.cloud.talent.v4beta1.Application>;

Calls UpdateApplication.

Parameter
NameDescription
request IUpdateApplicationRequest

UpdateApplicationRequest message or plain object

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

Promise