# TaskOptions<!-- -->

Configuration options for an Actor task.

## Index[](#Index)

### Properties

* [build](#build)
* [memoryMbytes](#memoryMbytes)
* [restartOnError](#restartOnError)
* [timeoutSecs](#timeoutSecs)

## Properties<!-- -->[](#Properties)

### [](#build)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L362)optionalbuild

build?

<!-- -->

: string

### [](#memoryMbytes)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L364)optionalmemoryMbytes

memoryMbytes?

<!-- -->

: number

### [](#restartOnError)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L365)optionalrestartOnError

restartOnError?

<!-- -->

: boolean

### [](#timeoutSecs)[](https://github.com/apify/apify-client-js/blob/99b6aa05a37cb5e573154cf0d7753ff5b206ef09/src/resource_clients/task.ts#L363)optionaltimeoutSecs

timeoutSecs?

<!-- -->

: number
