[SDK reference](../../index.md) / [Models](../index.md) / [Media](index.md)

# MediaJob

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Media`  

A transcoding job.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Attempts` | `int?` | `attempts` | The attempts property |
| `CancelRequested` | `bool?` | `cancelRequested` | The cancelRequested property |
| `ChargedMicros` | `long?` | `chargedMicros` | What the minutes cost at the cell's price book (est.); absent when the cell has none. |
| `ChargedMinutes` | `Models.Media.MediaJob_chargedMinutes?` | `chargedMinutes` | Output minutes billed per meter, once the job has ended. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DisplayName` | `string?` | `displayName` | The displayName property |
| `EndTime` | `DateTimeOffset?` | `endTime` | The endTime property |
| `Etag` | `string?` | `etag` | The etag property |
| `FailureCode` | `string?` | `failureCode` | The code of the failure: `unsupported-format`, `too-long`, `too-large`, `output-exceeds-budget`, `timeout`, `encode-failed`, … |
| `Input` | `Models.Media.MediaObjectRef?` | `input` | An object in a bucket of the project. |
| `Log` | `string?` | `log` | A sanitised tail of the worker's log. |
| `MaxAttempts` | `int?` | `maxAttempts` | The maxAttempts property |
| `MaxOutputMinutes` | `int?` | `maxOutputMinutes` | The most output minutes (all renditions together) the job may bill; the job reserves its cost at the dearest rate for them. |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/mediaJobs/{mediaJob}. |
| `Output` | `Models.Media.MediaOutputRef?` | `output` | Where renditions are written. |
| `Preset` | `string?` | `preset` | The preset's ID. |
| `PresetKind` | `string?` | `presetKind` | `VIDEO`, `AUDIO` or `IMAGE`. |
| `PresetSource` | `string?` | `presetSource` | `PLATFORM` or `CUSTOM`. |
| `PresetSpec` | `Models.Media.MediaJob_presetSpec?` | `presetSpec` | The preset's spec as it was when the job was created. |
| `Probe` | `Models.Media.MediaProbeInfo?` | `probe` | What ffprobe found in the input (measured, never typed). |
| `ProgressPercent` | `int?` | `progressPercent` | The progressPercent property |
| `Renditions` | `List<Models.Media.MediaRenditionInfo>?` | `renditions` | The renditions property |
| `ReservedMicros` | `long?` | `reservedMicros` | The most the job can cost, reserved on the spend lease. |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `State` | `Models.Media.MediaJobState?` | `state` | Where a job is in its life. |
| `StateReason` | `string?` | `stateReason` | The stateReason property |
| `Thumbnail` | `Models.Media.MediaThumbnail?` | `thumbnail` | A poster frame written as `poster.jpg`. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
| `Watermark` | `Models.Media.MediaWatermark?` | `watermark` | A watermark image laid over every video rendition. |
