ActorVersionClient
Hierarchy
- ResourceClient
- ActorVersionClient
Index
Methods
__init__
Initialize the ActorVersionClient.
Parameters
args: Any
kwargs: Any
Returns None
delete
Delete the actor version.
https://docs.apify.com/api/v2#/reference/actors/version-object/delete-version
Returns None
get
Return information about the actor version.
https://docs.apify.com/api/v2#/reference/actors/version-object/get-version
Returns Optional[Dict]
dict, optional: The retrieved actor version data
update
Update the actor version with specified fields.
https://docs.apify.com/api/v2#/reference/actors/version-object/update-version
Parameters
optionalkeyword-onlybuild_tag: Optional[str] = None
Tag that is automatically set to the latest successful build of the current version.
optionalkeyword-onlyenv_vars: Optional[List[Dict]] = None
Environment variables that will be available to the actor run process, and optionally also to the build process. See the API docs for their exact structure.
optionalkeyword-onlyapply_env_vars_to_build: Optional[bool] = None
Whether the environment variables specified for the actor run will also be set to the actor build process.
optionalkeyword-onlysource_type: Optional[ActorSourceType] = None
What source type is the actor version using.
optionalkeyword-onlysource_files: Optional[List[Dict]] = None
Source code comprised of multiple files, each an item of the array. Required when
`source_type`is`ActorSourceType.SOURCE_FILES`. See the API docs for the exact structure.optionalkeyword-onlygit_repo_url: Optional[str] = None
The URL of a Git repository from which the source code will be cloned. Required when
`source_type`is`ActorSourceType.GIT_REPO`.optionalkeyword-onlytarball_url: Optional[str] = None
The URL of a tarball or a zip archive from which the source code will be downloaded. Required when
`source_type`is`ActorSourceType.TARBALL`.optionalkeyword-onlygithub_gist_url: Optional[str] = None
The URL of a GitHub Gist from which the source will be downloaded. Required when
`source_type`is`ActorSourceType.GITHUB_GIST`.
Returns Dict
dict: The updated actor version
Sub-client for manipulating a single actor version.