ActorVersionClient
Hierarchy
- ResourceClient
- ActorVersionClient
Index
Properties
inheritedapifyClient
inheritedbaseUrl
inheritedhttpClient
optionalinheritedid
optionalinheritedparams
inheritedpublicBaseUrl
inheritedresourcePath
optionalinheritedsafeId
inheritedurl
Methods
delete
Deletes the Actor version.
Returns Promise<void>
envVar
Returns a client for the specified environment variable of this Actor version.
Parameters
envVarName: string
Name of the environment variable.
Returns ActorEnvVarClient
A client for the environment variable.
envVars
Returns a client for the environment variables of this Actor version.
Returns ActorEnvVarCollectionClient
A client for the Actor version's environment variables.
get
Retrieves the Actor version.
Returns Promise<undefined | FinalActorVersion>
The Actor version object, or
undefinedif it does not exist.
update
Updates the Actor version with the specified fields.
Parameters
newFields: ActorVersion
Fields to update.
Returns Promise<FinalActorVersion>
The updated Actor version object.
Client for managing a specific Actor version.
Actor versions represent specific builds or snapshots of an Actor's code. This client provides methods to get, update, and delete versions, as well as manage their environment variables.
https://docs.apify.com/platform/actors/development/actor-definition/versions