Represents a JobService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.talent.v4.JobServicePackage
@google-cloud/talentConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new JobService service.
Parameters | |
---|---|
Name | Description |
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.v4.IBatchCreateJobsRequest, callback: google.cloud.talent.v4.JobService.BatchCreateJobsCallback): void;
Calls BatchCreateJobs.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.talent.v4.IBatchCreateJobsRequest
BatchCreateJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.BatchCreateJobsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
batchCreateJobs(request)
public batchCreateJobs(request: google.cloud.talent.v4.IBatchCreateJobsRequest): Promise<google.longrunning.Operation>;
Calls BatchCreateJobs.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.talent.v4.IBatchCreateJobsRequest
BatchCreateJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchDeleteJobs(request, callback)
public batchDeleteJobs(request: google.cloud.talent.v4.IBatchDeleteJobsRequest, callback: google.cloud.talent.v4.JobService.BatchDeleteJobsCallback): void;
Calls BatchDeleteJobs.
Parameters | |
---|---|
Name | Description |
request |
IBatchDeleteJobsRequest
BatchDeleteJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.BatchDeleteJobsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
batchDeleteJobs(request)
public batchDeleteJobs(request: google.cloud.talent.v4.IBatchDeleteJobsRequest): Promise<google.longrunning.Operation>;
Calls BatchDeleteJobs.
Parameter | |
---|---|
Name | Description |
request |
IBatchDeleteJobsRequest
BatchDeleteJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchUpdateJobs(request, callback)
public batchUpdateJobs(request: google.cloud.talent.v4.IBatchUpdateJobsRequest, callback: google.cloud.talent.v4.JobService.BatchUpdateJobsCallback): void;
Calls BatchUpdateJobs.
Parameters | |
---|---|
Name | Description |
request |
IBatchUpdateJobsRequest
BatchUpdateJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.BatchUpdateJobsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
batchUpdateJobs(request)
public batchUpdateJobs(request: google.cloud.talent.v4.IBatchUpdateJobsRequest): Promise<google.longrunning.Operation>;
Calls BatchUpdateJobs.
Parameter | |
---|---|
Name | Description |
request |
IBatchUpdateJobsRequest
BatchUpdateJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
JobService | RPC service. Useful where requests and/or responses are streamed. |
createJob(request, callback)
public createJob(request: google.cloud.talent.v4.ICreateJobRequest, callback: google.cloud.talent.v4.JobService.CreateJobCallback): void;
Calls CreateJob.
Parameters | |
---|---|
Name | Description |
request |
ICreateJobRequest
CreateJobRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.CreateJobCallback
Node-style callback called with the error, if any, and Job |
Returns | |
---|---|
Type | Description |
void |
createJob(request)
public createJob(request: google.cloud.talent.v4.ICreateJobRequest): Promise<google.cloud.talent.v4.Job>;
Calls CreateJob.
Parameter | |
---|---|
Name | Description |
request |
ICreateJobRequest
CreateJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.Job> | Promise |
deleteJob(request, callback)
public deleteJob(request: google.cloud.talent.v4.IDeleteJobRequest, callback: google.cloud.talent.v4.JobService.DeleteJobCallback): void;
Calls DeleteJob.
Parameters | |
---|---|
Name | Description |
request |
IDeleteJobRequest
DeleteJobRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.DeleteJobCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteJob(request)
public deleteJob(request: google.cloud.talent.v4.IDeleteJobRequest): Promise<google.protobuf.Empty>;
Calls DeleteJob.
Parameter | |
---|---|
Name | Description |
request |
IDeleteJobRequest
DeleteJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getJob(request, callback)
public getJob(request: google.cloud.talent.v4.IGetJobRequest, callback: google.cloud.talent.v4.JobService.GetJobCallback): void;
Calls GetJob.
Parameters | |
---|---|
Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.GetJobCallback
Node-style callback called with the error, if any, and Job |
Returns | |
---|---|
Type | Description |
void |
getJob(request)
public getJob(request: google.cloud.talent.v4.IGetJobRequest): Promise<google.cloud.talent.v4.Job>;
Calls GetJob.
Parameter | |
---|---|
Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.Job> | Promise |
listJobs(request, callback)
public listJobs(request: google.cloud.talent.v4.IListJobsRequest, callback: google.cloud.talent.v4.JobService.ListJobsCallback): void;
Calls ListJobs.
Parameters | |
---|---|
Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.ListJobsCallback
Node-style callback called with the error, if any, and ListJobsResponse |
Returns | |
---|---|
Type | Description |
void |
listJobs(request)
public listJobs(request: google.cloud.talent.v4.IListJobsRequest): Promise<google.cloud.talent.v4.ListJobsResponse>;
Calls ListJobs.
Parameter | |
---|---|
Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.ListJobsResponse> | Promise |
searchJobs(request, callback)
public searchJobs(request: google.cloud.talent.v4.ISearchJobsRequest, callback: google.cloud.talent.v4.JobService.SearchJobsCallback): void;
Calls SearchJobs.
Parameters | |
---|---|
Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.SearchJobsCallback
Node-style callback called with the error, if any, and SearchJobsResponse |
Returns | |
---|---|
Type | Description |
void |
searchJobs(request)
public searchJobs(request: google.cloud.talent.v4.ISearchJobsRequest): Promise<google.cloud.talent.v4.SearchJobsResponse>;
Calls SearchJobs.
Parameter | |
---|---|
Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.SearchJobsResponse> | Promise |
searchJobsForAlert(request, callback)
public searchJobsForAlert(request: google.cloud.talent.v4.ISearchJobsRequest, callback: google.cloud.talent.v4.JobService.SearchJobsForAlertCallback): void;
Calls SearchJobsForAlert.
Parameters | |
---|---|
Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.SearchJobsForAlertCallback
Node-style callback called with the error, if any, and SearchJobsResponse |
Returns | |
---|---|
Type | Description |
void |
searchJobsForAlert(request)
public searchJobsForAlert(request: google.cloud.talent.v4.ISearchJobsRequest): Promise<google.cloud.talent.v4.SearchJobsResponse>;
Calls SearchJobsForAlert.
Parameter | |
---|---|
Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.SearchJobsResponse> | Promise |
updateJob(request, callback)
public updateJob(request: google.cloud.talent.v4.IUpdateJobRequest, callback: google.cloud.talent.v4.JobService.UpdateJobCallback): void;
Calls UpdateJob.
Parameters | |
---|---|
Name | Description |
request |
IUpdateJobRequest
UpdateJobRequest message or plain object |
callback |
google.cloud.talent.v4.JobService.UpdateJobCallback
Node-style callback called with the error, if any, and Job |
Returns | |
---|---|
Type | Description |
void |
updateJob(request)
public updateJob(request: google.cloud.talent.v4.IUpdateJobRequest): Promise<google.cloud.talent.v4.Job>;
Calls UpdateJob.
Parameter | |
---|---|
Name | Description |
request |
IUpdateJobRequest
UpdateJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.talent.v4.Job> | Promise |