ActorEnvVarClient
Hierarchy
- ResourceClient
- ActorEnvVarClient
Index
Properties
inheritedapifyClient
inheritedbaseUrl
inheritedhttpClient
optionalinheritedid
optionalinheritedparams
inheritedpublicBaseUrl
inheritedresourcePath
optionalinheritedsafeId
inheritedurl
Methods
delete
Deletes the environment variable.
Returns Promise<void>
get
Retrieves the environment variable.
Returns Promise<undefined | ActorEnvironmentVariable>
The environment variable object, or
undefinedif it does not exist.
update
Updates the environment variable.
Parameters
actorEnvVar: ActorEnvironmentVariable
The updated environment variable data.
Returns Promise<ActorEnvironmentVariable>
The updated environment variable object.
Client for managing a specific Actor environment variable.
Environment variables are key-value pairs that are available to the Actor during execution. This client provides methods to get, update, and delete environment variables.
https://docs.apify.com/platform/actors/development/actor-definition/environment-variables