# UpdateJob

Attributes of the Grepr Job to update

**Type**: `object`

## Properties

- name: desiredState (required)
  type: enum: `CREATED`, `PENDING`, `INFRA_UPDATE`, `INFRA_UPDATE_WAIT`, `VERIFYING`, `WAITING`, `RUNNING`, `STOPPED`, `FINISHED`, `FAILED`, `CANCELLED`, `DELETED`, `UPDATING`, `STARTING`, `RESTARTING`, `STOPPING`, `ROLLING_BACK`, `DELETING`
  description: Desired state of the job

- name: fromVersion (required)
  type: integer
  description: Version of the job being updated, should be set to the current version of the job. If the current version of the job does not match this value, a 409 Conflict is returned.

- name: jobGraph (required)
  type: `GreprJobGraph`

- name: teamIds (optional)
  type: array of string
  description: The team IDs that this job is associated with.
