Represents a JobService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.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.v4beta1.IBatchCreateJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchCreateJobsCallback): void;Calls BatchCreateJobs.
| Parameters | |
|---|---|
| Name | Description |
request |
IBatchCreateJobsRequest
BatchCreateJobsRequest message or plain object |
callback |
BatchCreateJobsCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
batchCreateJobs(request)
public batchCreateJobs(request: google.cloud.talent.v4beta1.IBatchCreateJobsRequest): Promise<google.longrunning.Operation>;Calls BatchCreateJobs.
| Parameter | |
|---|---|
| Name | Description |
request |
IBatchCreateJobsRequest
BatchCreateJobsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IBatchDeleteJobsRequest
BatchDeleteJobsRequest message or plain object |
callback |
BatchDeleteJobsCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
batchDeleteJobs(request)
public batchDeleteJobs(request: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest): Promise<google.protobuf.Empty>;Calls BatchDeleteJobs.
| Parameter | |
|---|---|
| Name | Description |
request |
IBatchDeleteJobsRequest
BatchDeleteJobsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IBatchUpdateJobsRequest
BatchUpdateJobsRequest message or plain object |
callback |
BatchUpdateJobsCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
batchUpdateJobs(request)
public batchUpdateJobs(request: google.cloud.talent.v4beta1.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.v4beta1.ICreateJobRequest, callback: google.cloud.talent.v4beta1.JobService.CreateJobCallback): void;Calls CreateJob.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateJobRequest
CreateJobRequest message or plain object |
callback |
CreateJobCallback
Node-style callback called with the error, if any, and Job |
| Returns | |
|---|---|
| Type | Description |
void |
|
createJob(request)
public createJob(request: google.cloud.talent.v4beta1.ICreateJobRequest): Promise<google.cloud.talent.v4beta1.Job>;Calls CreateJob.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateJobRequest
CreateJobRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IDeleteJobRequest
DeleteJobRequest message or plain object |
callback |
DeleteJobCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteJob(request)
public deleteJob(request: google.cloud.talent.v4beta1.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.v4beta1.IGetJobRequest, callback: google.cloud.talent.v4beta1.JobService.GetJobCallback): void;Calls GetJob.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
callback |
GetJobCallback
Node-style callback called with the error, if any, and Job |
| Returns | |
|---|---|
| Type | Description |
void |
|
getJob(request)
public getJob(request: google.cloud.talent.v4beta1.IGetJobRequest): Promise<google.cloud.talent.v4beta1.Job>;Calls GetJob.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
callback |
ListJobsCallback
Node-style callback called with the error, if any, and ListJobsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listJobs(request)
public listJobs(request: google.cloud.talent.v4beta1.IListJobsRequest): Promise<google.cloud.talent.v4beta1.ListJobsResponse>;Calls ListJobs.
| Parameter | |
|---|---|
| Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
callback |
SearchJobsCallback
Node-style callback called with the error, if any, and SearchJobsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
searchJobs(request)
public searchJobs(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise<google.cloud.talent.v4beta1.SearchJobsResponse>;Calls SearchJobs.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
callback |
SearchJobsForAlertCallback
Node-style callback called with the error, if any, and SearchJobsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
searchJobsForAlert(request)
public searchJobsForAlert(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise<google.cloud.talent.v4beta1.SearchJobsResponse>;Calls SearchJobsForAlert.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchJobsRequest
SearchJobsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
IUpdateJobRequest
UpdateJobRequest message or plain object |
callback |
UpdateJobCallback
Node-style callback called with the error, if any, and Job |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateJob(request)
public updateJob(request: google.cloud.talent.v4beta1.IUpdateJobRequest): Promise<google.cloud.talent.v4beta1.Job>;Calls UpdateJob.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateJobRequest
UpdateJobRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.talent.v4beta1.Job> |
Promise |