ActorEnvVarClient
Hierarchy
- ResourceClient
- ActorEnvVarClient
Index
Methods
Properties
Methods
__init__
Initialize the resource client.
Parameters
keyword-onlybase_url: str
API base URL.
keyword-onlypublic_base_url: str
Public CDN base URL.
keyword-onlyhttp_client: HttpClient
HTTP client for making requests.
keyword-onlyresource_path: str
Resource endpoint path (e.g., 'actors', 'datasets').
keyword-onlyclient_registry: ClientRegistry
Bundle of client classes for dependency injection.
optionalkeyword-onlyresource_id: str | None = None
Optional resource ID for single-resource clients.
optionalkeyword-onlyparams: dict | None = None
Optional default parameters for all requests.
Returns None
delete
Delete the Actor environment variable.
Returns None
get
Return information about the Actor environment variable.
https://docs.apify.com/api/v2#/reference/actors/environment-variable-object/get-environment-variable
Returns EnvVar | None
The retrieved Actor environment variable data.
update
Update the Actor environment variable with specified fields.
Parameters
optionalkeyword-onlyis_secret: bool | None = None
Whether the environment variable is secret or not.
keyword-onlyname: str
The name of the environment variable.
keyword-onlyvalue: str
The value of the environment variable.
Returns EnvVar
The updated Actor environment variable.
Properties
resource_id
Get the resource ID.
Sub-client for managing a specific Actor environment variable.
Provides methods to manage a specific Actor environment variable, e.g. get, update, or delete it. Obtain an instance via an appropriate method on the
ActorVersionClientclass.