jobs
Protocol buffer definition for jobs
sift/jobs/v1/jobs.proto
CancelJobRequest
Field | Type | Label | Description |
---|---|---|---|
job_id | string |
CancelJobResponse
Job
Field | Type | Label | Description |
---|---|---|---|
job_id | string | ||
organization_id | string | ||
created_by_user_id | string | ||
modified_by_user_id | string | ||
created_date | google.protobuf.Timestamp | ||
modified_date | google.protobuf.Timestamp | ||
started_date | google.protobuf.Timestamp | ||
completed_date | google.protobuf.Timestamp | ||
job_type | JobType | ||
job_status | JobStatus |
ListJobsRequest
Field | Type | Label | Description |
---|---|---|---|
page_size | uint32 | The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 50 jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Optional. | |
page_token | string | A page token, received from a previous ListJobs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListJobs must match the call that provided the page token. Optional. | |
filter | string | A Common Expression Language (CEL) filter string. Available fields to filter by are: job_id , created_by_user_id , modified_by_user_id , created_date , modified_date , started_date , completed_date For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional. | |
organization_id | string | This field is only required if your user belongs to multiple organizations. | |
order_by | string | How to order the retrieved jobs. Formatted as a comma-separated string i.e. "FIELD_NAME[ desc],...". Available fields to order_by are created_date , modified_date , started_date , completed_date , job_status . If left empty, items are ordered by created_date in descending order (newest-first). For more information about the format of this field, read this Example: "created_date desc,modified_date" |
ListJobsResponse
JobStatus
Name | Number | Description |
---|---|---|
JOB_STATUS_UNSPECIFIED | 0 | |
JOB_STATUS_CREATED | 1 | |
JOB_STATUS_RUNNING | 2 | |
JOB_STATUS_FINISHED | 3 | |
JOB_STATUS_FAILED | 4 | |
JOB_STATUS_CANCELLED | 5 | |
JOB_STATUS_CANCEL_REQUESTED | 6 |
JobType
Name | Number | Description |
---|---|---|
JOB_TYPE_UNSPECIFIED | 0 | |
JOB_TYPE_RULE_EVALUATION | 1 | |
JOB_TYPE_DATA_IMPORT | 2 |
JobService
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListJobs | ListJobsRequest | ListJobsResponse | List jobs. |
CancelJob | CancelJobRequest | CancelJobResponse | Requests cancellation of an active job. If the job hasn't started yet, it will be cancelled immediately. Jobs that are already finished, failed, or cancelled are not affected. Cancelled jobs have implementation-based behavior, but in every case it's valid to cancel a job at any time. |