@@ -206,7 +206,6 @@ def update(
206206 self ,
207207 id_or_name : str ,
208208 * ,
209- size : int ,
210209 chrome_policy : Dict [str , object ] | Omit = omit ,
211210 discard_all_idle : bool | Omit = omit ,
212211 extensions : Iterable [BrowserExtension ] | Omit = omit ,
@@ -216,6 +215,7 @@ def update(
216215 name : str | Omit = omit ,
217216 profile : BrowserProfile | Omit = omit ,
218217 proxy_id : str | Omit = omit ,
218+ size : int | Omit = omit ,
219219 start_url : str | Omit = omit ,
220220 stealth : bool | Omit = omit ,
221221 timeout_seconds : int | Omit = omit ,
@@ -231,10 +231,6 @@ def update(
231231 Updates the configuration used to create browsers in the pool.
232232
233233 Args:
234- size: Number of browsers to maintain in the pool. The maximum size is determined by
235- your organization's pooled sessions limit (the sum of all pool sizes cannot
236- exceed your limit).
237-
238234 chrome_policy: Custom Chrome enterprise policy overrides applied to all browsers in this pool.
239235 Keys are Chrome enterprise policy names; values must match their expected types.
240236 Blocked: kernel-managed policies (extensions, proxy, CDP/automation). See
@@ -261,6 +257,10 @@ def update(
261257 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy
262258 belonging to the caller's org.
263259
260+ size: Number of browsers to maintain in the pool. The maximum size is determined by
261+ your organization's pooled sessions limit (the sum of all pool sizes cannot
262+ exceed your limit).
263+
264264 start_url: Optional URL to navigate to when a new browser is warmed into the pool.
265265 Best-effort: failures to navigate do not fail pool fill. Only applied to
266266 newly-warmed browsers; browsers reused via release/acquire keep whatever URL the
@@ -300,7 +300,6 @@ def update(
300300 path_template ("/browser_pools/{id_or_name}" , id_or_name = id_or_name ),
301301 body = maybe_transform (
302302 {
303- "size" : size ,
304303 "chrome_policy" : chrome_policy ,
305304 "discard_all_idle" : discard_all_idle ,
306305 "extensions" : extensions ,
@@ -310,6 +309,7 @@ def update(
310309 "name" : name ,
311310 "profile" : profile ,
312311 "proxy_id" : proxy_id ,
312+ "size" : size ,
313313 "start_url" : start_url ,
314314 "stealth" : stealth ,
315315 "timeout_seconds" : timeout_seconds ,
@@ -684,7 +684,6 @@ async def update(
684684 self ,
685685 id_or_name : str ,
686686 * ,
687- size : int ,
688687 chrome_policy : Dict [str , object ] | Omit = omit ,
689688 discard_all_idle : bool | Omit = omit ,
690689 extensions : Iterable [BrowserExtension ] | Omit = omit ,
@@ -694,6 +693,7 @@ async def update(
694693 name : str | Omit = omit ,
695694 profile : BrowserProfile | Omit = omit ,
696695 proxy_id : str | Omit = omit ,
696+ size : int | Omit = omit ,
697697 start_url : str | Omit = omit ,
698698 stealth : bool | Omit = omit ,
699699 timeout_seconds : int | Omit = omit ,
@@ -709,10 +709,6 @@ async def update(
709709 Updates the configuration used to create browsers in the pool.
710710
711711 Args:
712- size: Number of browsers to maintain in the pool. The maximum size is determined by
713- your organization's pooled sessions limit (the sum of all pool sizes cannot
714- exceed your limit).
715-
716712 chrome_policy: Custom Chrome enterprise policy overrides applied to all browsers in this pool.
717713 Keys are Chrome enterprise policy names; values must match their expected types.
718714 Blocked: kernel-managed policies (extensions, proxy, CDP/automation). See
@@ -739,6 +735,10 @@ async def update(
739735 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy
740736 belonging to the caller's org.
741737
738+ size: Number of browsers to maintain in the pool. The maximum size is determined by
739+ your organization's pooled sessions limit (the sum of all pool sizes cannot
740+ exceed your limit).
741+
742742 start_url: Optional URL to navigate to when a new browser is warmed into the pool.
743743 Best-effort: failures to navigate do not fail pool fill. Only applied to
744744 newly-warmed browsers; browsers reused via release/acquire keep whatever URL the
@@ -778,7 +778,6 @@ async def update(
778778 path_template ("/browser_pools/{id_or_name}" , id_or_name = id_or_name ),
779779 body = await async_maybe_transform (
780780 {
781- "size" : size ,
782781 "chrome_policy" : chrome_policy ,
783782 "discard_all_idle" : discard_all_idle ,
784783 "extensions" : extensions ,
@@ -788,6 +787,7 @@ async def update(
788787 "name" : name ,
789788 "profile" : profile ,
790789 "proxy_id" : proxy_id ,
790+ "size" : size ,
791791 "start_url" : start_url ,
792792 "stealth" : stealth ,
793793 "timeout_seconds" : timeout_seconds ,
0 commit comments