Class protos.google.cloud.talent.v4beta1.JobService

Represents a JobService

Inheritance

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

Package

@google-cloud/talent

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new JobService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchCreateJobs(request, callback)

public batchCreateJobs(request: google.cloud.talent.v4beta1.IBatchCreateJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchCreateJobsCallback): void;

Calls BatchCreateJobs.

Parameters
NameDescription
request IBatchCreateJobsRequest

BatchCreateJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.BatchCreateJobsCallback

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

Returns
TypeDescription
void

batchCreateJobs(request)

public batchCreateJobs(request: google.cloud.talent.v4beta1.IBatchCreateJobsRequest): Promise<google.longrunning.Operation>;

Calls BatchCreateJobs.

Parameter
NameDescription
request IBatchCreateJobsRequest

BatchCreateJobsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

batchDeleteJobs(request, callback)

public batchDeleteJobs(request: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchDeleteJobsCallback): void;

Calls BatchDeleteJobs.

Parameters
NameDescription
request IBatchDeleteJobsRequest

BatchDeleteJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.BatchDeleteJobsCallback

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

Returns
TypeDescription
void

batchDeleteJobs(request)

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

Calls BatchDeleteJobs.

Parameter
NameDescription
request IBatchDeleteJobsRequest

BatchDeleteJobsRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

batchUpdateJobs(request, callback)

public batchUpdateJobs(request: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchUpdateJobsCallback): void;

Calls BatchUpdateJobs.

Parameters
NameDescription
request IBatchUpdateJobsRequest

BatchUpdateJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.BatchUpdateJobsCallback

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

Returns
TypeDescription
void

batchUpdateJobs(request)

public batchUpdateJobs(request: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest): Promise<google.longrunning.Operation>;

Calls BatchUpdateJobs.

Parameter
NameDescription
request IBatchUpdateJobsRequest

BatchUpdateJobsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): JobService;

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

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

createJob(request, callback)

public createJob(request: google.cloud.talent.v4beta1.ICreateJobRequest, callback: google.cloud.talent.v4beta1.JobService.CreateJobCallback): void;

Calls CreateJob.

Parameters
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.CreateJobCallback

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

Returns
TypeDescription
void

createJob(request)

public createJob(request: google.cloud.talent.v4beta1.ICreateJobRequest): Promise<google.cloud.talent.v4beta1.Job>;

Calls CreateJob.

Parameter
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

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

Promise

deleteJob(request, callback)

public deleteJob(request: google.cloud.talent.v4beta1.IDeleteJobRequest, callback: google.cloud.talent.v4beta1.JobService.DeleteJobCallback): void;

Calls DeleteJob.

Parameters
NameDescription
request IDeleteJobRequest

DeleteJobRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.DeleteJobCallback

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

Returns
TypeDescription
void

deleteJob(request)

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

Calls DeleteJob.

Parameter
NameDescription
request IDeleteJobRequest

DeleteJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getJob(request, callback)

public getJob(request: google.cloud.talent.v4beta1.IGetJobRequest, callback: google.cloud.talent.v4beta1.JobService.GetJobCallback): void;

Calls GetJob.

Parameters
NameDescription
request IGetJobRequest

GetJobRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.GetJobCallback

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

Returns
TypeDescription
void

getJob(request)

public getJob(request: google.cloud.talent.v4beta1.IGetJobRequest): Promise<google.cloud.talent.v4beta1.Job>;

Calls GetJob.

Parameter
NameDescription
request IGetJobRequest

GetJobRequest message or plain object

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

Promise

listJobs(request, callback)

public listJobs(request: google.cloud.talent.v4beta1.IListJobsRequest, callback: google.cloud.talent.v4beta1.JobService.ListJobsCallback): void;

Calls ListJobs.

Parameters
NameDescription
request IListJobsRequest

ListJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.ListJobsCallback

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

Returns
TypeDescription
void

listJobs(request)

public listJobs(request: google.cloud.talent.v4beta1.IListJobsRequest): Promise<google.cloud.talent.v4beta1.ListJobsResponse>;

Calls ListJobs.

Parameter
NameDescription
request IListJobsRequest

ListJobsRequest message or plain object

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

Promise

searchJobs(request, callback)

public searchJobs(request: google.cloud.talent.v4beta1.ISearchJobsRequest, callback: google.cloud.talent.v4beta1.JobService.SearchJobsCallback): void;

Calls SearchJobs.

Parameters
NameDescription
request ISearchJobsRequest

SearchJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.SearchJobsCallback

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

Returns
TypeDescription
void

searchJobs(request)

public searchJobs(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise<google.cloud.talent.v4beta1.SearchJobsResponse>;

Calls SearchJobs.

Parameter
NameDescription
request ISearchJobsRequest

SearchJobsRequest message or plain object

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

Promise

searchJobsForAlert(request, callback)

public searchJobsForAlert(request: google.cloud.talent.v4beta1.ISearchJobsRequest, callback: google.cloud.talent.v4beta1.JobService.SearchJobsForAlertCallback): void;

Calls SearchJobsForAlert.

Parameters
NameDescription
request ISearchJobsRequest

SearchJobsRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.SearchJobsForAlertCallback

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

Returns
TypeDescription
void

searchJobsForAlert(request)

public searchJobsForAlert(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise<google.cloud.talent.v4beta1.SearchJobsResponse>;

Calls SearchJobsForAlert.

Parameter
NameDescription
request ISearchJobsRequest

SearchJobsRequest message or plain object

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

Promise

updateJob(request, callback)

public updateJob(request: google.cloud.talent.v4beta1.IUpdateJobRequest, callback: google.cloud.talent.v4beta1.JobService.UpdateJobCallback): void;

Calls UpdateJob.

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

UpdateJobRequest message or plain object

callback google.cloud.talent.v4beta1.JobService.UpdateJobCallback

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

Returns
TypeDescription
void

updateJob(request)

public updateJob(request: google.cloud.talent.v4beta1.IUpdateJobRequest): Promise<google.cloud.talent.v4beta1.Job>;

Calls UpdateJob.

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

UpdateJobRequest message or plain object

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

Promise