# TaskOptions<!-- -->

## Index[](#Index)

### Properties

* [build](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#build)
* [force_permission_level](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#force_permission_level)
* [is_max_total_charge_usd_set_by_user](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#is_max_total_charge_usd_set_by_user)
* [max_items](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#max_items)
* [max_total_charge_usd](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#max_total_charge_usd)
* [memory_mbytes](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#memory_mbytes)
* [model_config](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#model_config)
* [restart_on_error](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#restart_on_error)
* [timeout_secs](https://docs.apify.com/api/client/python/reference/class/TaskOptions.md#timeout_secs)

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

### [](#build)build

build: str | None

### [](#force_permission_level)force_permission_level

force_permission_level: [ActorPermissionLevel](https://docs.apify.com/api/client/python/reference.md#ActorPermissionLevel) | None

Permission level to run the Actor with, overriding the Actor's own setting. Returned only in schedule action `runOptions`, and only if it was provided.

### [](#is_max_total_charge_usd_set_by_user)is_max_total_charge_usd_set_by_user

is_max_total_charge_usd_set_by_user: bool | None

Whether the user explicitly set `maxTotalChargeUsd`. Returned only in schedule action `runOptions`, and only if it was provided.

### [](#max_items)max_items

max_items: int | None

### [](#max_total_charge_usd)max_total_charge_usd

max_total_charge_usd: float | None

### [](#memory_mbytes)memory_mbytes

memory_mbytes: int | None

### [](#model_config)model_config

model_config: Undefined

### [](#restart_on_error)restart_on_error

restart_on_error: bool | None

### [](#timeout_secs)timeout_secs

timeout_secs: int | None
