@@ -60,6 +60,7 @@ def get_actor_representation(
6060 actor_standby_memory_mbytes : int | None = None ,
6161 pricing_infos : list [dict ] | None = None ,
6262 actor_permission_level : ActorPermissionLevel | None = None ,
63+ tagged_builds : dict | None = None ,
6364) -> dict :
6465 """Get dictionary representation of the Actor."""
6566 return {
@@ -95,6 +96,7 @@ def get_actor_representation(
9596 },
9697 'pricingInfos' : pricing_infos ,
9798 'actorPermissionLevel' : actor_permission_level ,
99+ 'taggedBuilds' : tagged_builds ,
98100 }
99101
100102
@@ -143,6 +145,7 @@ def update(
143145 actor_standby_memory_mbytes : int | None = None ,
144146 pricing_infos : list [dict ] | None = None ,
145147 actor_permission_level : ActorPermissionLevel | None = None ,
148+ tagged_builds : dict | None = None ,
146149 ) -> dict :
147150 """Update the Actor with the specified fields.
148151
@@ -179,6 +182,9 @@ def update(
179182 actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
180183 pricing_infos: A list of objects that describes the pricing of the Actor.
181184 actor_permission_level: The permission level of the Actor on Apify platform.
185+ tagged_builds: A dictionary mapping build tag names to their settings. Use it to create, update,
186+ or remove build tags. To assign a tag, provide a dict with 'buildId' key. To remove a tag,
187+ set its value to None. Example: {'latest': {'buildId': 'abc'}, 'beta': None}.
182188
183189 Returns:
184190 The updated Actor.
@@ -209,6 +215,7 @@ def update(
209215 actor_standby_memory_mbytes = actor_standby_memory_mbytes ,
210216 pricing_infos = pricing_infos ,
211217 actor_permission_level = actor_permission_level ,
218+ tagged_builds = tagged_builds ,
212219 )
213220
214221 return self ._update (filter_out_none_values_recursively (actor_representation ))
@@ -566,6 +573,7 @@ async def update(
566573 actor_standby_memory_mbytes : int | None = None ,
567574 pricing_infos : list [dict ] | None = None ,
568575 actor_permission_level : ActorPermissionLevel | None = None ,
576+ tagged_builds : dict | None = None ,
569577 ) -> dict :
570578 """Update the Actor with the specified fields.
571579
@@ -602,6 +610,9 @@ async def update(
602610 actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
603611 pricing_infos: A list of objects that describes the pricing of the Actor.
604612 actor_permission_level: The permission level of the Actor on Apify platform.
613+ tagged_builds: A dictionary mapping build tag names to their settings. Use it to create, update,
614+ or remove build tags. To assign a tag, provide a dict with 'buildId' key. To remove a tag,
615+ set its value to None. Example: {'latest': {'buildId': 'abc'}, 'beta': None}.
605616
606617 Returns:
607618 The updated Actor.
@@ -632,6 +643,7 @@ async def update(
632643 actor_standby_memory_mbytes = actor_standby_memory_mbytes ,
633644 pricing_infos = pricing_infos ,
634645 actor_permission_level = actor_permission_level ,
646+ tagged_builds = tagged_builds ,
635647 )
636648
637649 return await self ._update (filter_out_none_values_recursively (actor_representation ))
0 commit comments