@@ -59,6 +59,7 @@ def get_actor_representation(
5959 actor_standby_build : str | None = None ,
6060 actor_standby_memory_mbytes : int | None = None ,
6161 pricing_infos : list [dict ] | None = None ,
62+ actor_permission_level : ActorPermissionLevel | None = None ,
6263) -> dict :
6364 """Get dictionary representation of the Actor."""
6465 return {
@@ -93,6 +94,7 @@ def get_actor_representation(
9394 'memoryMbytes' : actor_standby_memory_mbytes ,
9495 },
9596 'pricingInfos' : pricing_infos ,
97+ 'actorPermissionLevel' : actor_permission_level ,
9698 }
9799
98100
@@ -140,6 +142,7 @@ def update(
140142 actor_standby_build : str | None = None ,
141143 actor_standby_memory_mbytes : int | None = None ,
142144 pricing_infos : list [dict ] | None = None ,
145+ actor_permission_level : ActorPermissionLevel | None = None ,
143146 ) -> dict :
144147 """Update the Actor with the specified fields.
145148
@@ -175,6 +178,7 @@ def update(
175178 actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
176179 actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
177180 pricing_infos: A list of objects that describes the pricing of the Actor.
181+ actor_permission_level: The permission level of the Actor on Apify platform.
178182
179183 Returns:
180184 The updated Actor.
@@ -204,6 +208,7 @@ def update(
204208 actor_standby_build = actor_standby_build ,
205209 actor_standby_memory_mbytes = actor_standby_memory_mbytes ,
206210 pricing_infos = pricing_infos ,
211+ actor_permission_level = actor_permission_level ,
207212 )
208213
209214 return self ._update (filter_out_none_values_recursively (actor_representation ))
@@ -560,6 +565,7 @@ async def update(
560565 actor_standby_build : str | None = None ,
561566 actor_standby_memory_mbytes : int | None = None ,
562567 pricing_infos : list [dict ] | None = None ,
568+ actor_permission_level : ActorPermissionLevel | None = None ,
563569 ) -> dict :
564570 """Update the Actor with the specified fields.
565571
@@ -595,6 +601,7 @@ async def update(
595601 actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
596602 actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
597603 pricing_infos: A list of objects that describes the pricing of the Actor.
604+ actor_permission_level: The permission level of the Actor on Apify platform.
598605
599606 Returns:
600607 The updated Actor.
@@ -624,6 +631,7 @@ async def update(
624631 actor_standby_build = actor_standby_build ,
625632 actor_standby_memory_mbytes = actor_standby_memory_mbytes ,
626633 pricing_infos = pricing_infos ,
634+ actor_permission_level = actor_permission_level ,
627635 )
628636
629637 return await self ._update (filter_out_none_values_recursively (actor_representation ))
0 commit comments