ApplicationService

google.cloud.talent.v4beta1. ApplicationService

Represents an ApplicationService

Constructor

new ApplicationService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ApplicationService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ApplicationService}

Creates new ApplicationService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
ApplicationService

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

createApplication(request, callback) → {undefined}

Calls CreateApplication.

Parameters:
Name Type Description
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:
Type Description
undefined

createApplication(request) → {Promise.<google.cloud.talent.v4beta1.Application>}

Calls CreateApplication.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.ICreateApplicationRequest

CreateApplicationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Application>

Promise

deleteApplication(request, callback) → {undefined}

Calls DeleteApplication.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteApplication(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteApplication.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IDeleteApplicationRequest

DeleteApplicationRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getApplication(request, callback) → {undefined}

Calls GetApplication.

Parameters:
Name Type Description
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:
Type Description
undefined

getApplication(request) → {Promise.<google.cloud.talent.v4beta1.Application>}

Calls GetApplication.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IGetApplicationRequest

GetApplicationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Application>

Promise

listApplications(request, callback) → {undefined}

Calls ListApplications.

Parameters:
Name Type Description
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:
Type Description
undefined

listApplications(request) → {Promise.<google.cloud.talent.v4beta1.ListApplicationsResponse>}

Calls ListApplications.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IListApplicationsRequest

ListApplicationsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.ListApplicationsResponse>

Promise

updateApplication(request, callback) → {undefined}

Calls UpdateApplication.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.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:
Type Description
undefined

updateApplication(request) → {Promise.<google.cloud.talent.v4beta1.Application>}

Calls UpdateApplication.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IUpdateApplicationRequest

UpdateApplicationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Application>

Promise

Type Definitions

CreateApplicationCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ApplicationService#createApplication.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Application <optional>

Application

DeleteApplicationCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ApplicationService#deleteApplication.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetApplicationCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ApplicationService#getApplication.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Application <optional>

Application

ListApplicationsCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ApplicationService#listApplications.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.ListApplicationsResponse <optional>

ListApplicationsResponse

UpdateApplicationCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ApplicationService#updateApplication.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Application <optional>

Application