jobs

Protocol buffer definition for jobs

sift/jobs/v1/jobs.proto

CancelJobRequest

FieldTypeLabelDescription
job_idstring

CancelJobResponse

Job

FieldTypeLabelDescription
job_idstring
organization_idstring
created_by_user_idstring
modified_by_user_idstring
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp
started_dategoogle.protobuf.Timestamp
completed_dategoogle.protobuf.Timestamp
job_typeJobType
job_statusJobStatus

ListJobsRequest

FieldTypeLabelDescription
page_sizeuint32The 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_tokenstringA 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.
filterstringA 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_idstringThis field is only required if your user belongs to multiple organizations.
order_bystringHow 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

FieldTypeLabelDescription
jobsJobrepeated
next_page_tokenstring

JobStatus

NameNumberDescription
JOB_STATUS_UNSPECIFIED0
JOB_STATUS_CREATED1
JOB_STATUS_RUNNING2
JOB_STATUS_FINISHED3
JOB_STATUS_FAILED4
JOB_STATUS_CANCELLED5
JOB_STATUS_CANCEL_REQUESTED6

JobType

NameNumberDescription
JOB_TYPE_UNSPECIFIED0
JOB_TYPE_RULE_EVALUATION1
JOB_TYPE_DATA_IMPORT2

JobService

Method NameRequest TypeResponse TypeDescription
ListJobsListJobsRequestListJobsResponseList jobs.
CancelJobCancelJobRequestCancelJobResponseRequests 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.

On this page