CreateVersionRequest
Index
Properties
actor_path
apply_env_vars_to_build
Whether to inject the environment variables at build time.
build_tag
The tag name to apply to a successful build of this version. Can be null when the version has no build tag.
env_vars
Environment variables for the version.
git_repo_url
URL of the Git repository to clone the source code from. Applies when the sourceType is GIT_REPO.
github_gist_url
URL of the GitHub Gist to clone the source code from. Applies when the sourceType is GITHUB_GIST.
model_config
source_files
Applies when the sourceType is SOURCE_FILES. Represents the Actor's file structure as an array of files and folders.
source_type
Where the source code of the version lives.
tarball_url
URL of the zip archive to download the source code from. Applies when the sourceType is TARBALL.
version_number
The version number of the Actor. Two numbers separated by a dot, that represent the MAJOR.MINOR part of the semantic versioning.
The Actor's directory inside the uploaded source, as a path relative to the upload root with
/separators, for exampleactors/typescript-actor. Applies when thesourceTypeisSOURCE_FILESorTARBALL. The API rejects a path when thesourceTypeisGIT_REPOorGITHUB_GIST. When omitted ornull, the upload root is the Actor's directory. It has 1 to 255 characters, with no leading, trailing, or repeated/and no.or..segments.