# CreateOrUpdateVersionRequest<!-- -->

## Index[**](#Index)

### Properties

* [**apply\_env\_vars\_to\_build](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#apply_env_vars_to_build)
* [**build\_tag](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#build_tag)
* [**env\_vars](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#env_vars)
* [**git\_repo\_url](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#git_repo_url)
* [**github\_gist\_url](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#github_gist_url)
* [**model\_config](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#model_config)
* [**source\_files](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#source_files)
* [**source\_type](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#source_type)
* [**tarball\_url](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#tarball_url)
* [**version\_number](https://docs.apify.com/api/client/python/api/client/python/reference/class/CreateOrUpdateVersionRequest.md#version_number)

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

### [**](#apply_env_vars_to_build)apply\_env\_vars\_to\_build

**apply\_env\_vars\_to\_build: bool | None

### [**](#build_tag)build\_tag

**build\_tag: str | None

### [**](#env_vars)env\_vars

**env\_vars: [list](https://docs.apify.com/api/client/python/api/client/python/reference/class/ActorEnvVarCollectionClient.md#list)\[[EnvVarRequest](https://docs.apify.com/api/client/python/api/client/python/reference/class/EnvVarRequest.md)] | None

### [**](#git_repo_url)git\_repo\_url

**git\_repo\_url: str | None

URL of the Git repository when sourceType is GIT\_REPO.

### [**](#github_gist_url)github\_gist\_url

**github\_gist\_url: str | None

URL of the GitHub Gist when sourceType is GITHUB\_GIST.

### [**](#model_config)model\_config

**model\_config: Undefined

### [**](#source_files)source\_files

**source\_files: [list](https://docs.apify.com/api/client/python/api/client/python/reference/class/ActorEnvVarCollectionClient.md#list)\[[SourceCodeFile](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFile.md) | [SourceCodeFolder](https://docs.apify.com/api/client/python/api/client/python/reference/class/SourceCodeFolder.md)] | None

### [**](#source_type)source\_type

**source\_type: [VersionSourceType](https://docs.apify.com/api/client/python/api/client/python/reference.md#VersionSourceType) | None

### [**](#tarball_url)tarball\_url

**tarball\_url: str | None

URL of the tarball when sourceType is TARBALL.

### [**](#version_number)version\_number

**version\_number: str | None
