@@ -69,6 +69,7 @@ def create(
6969 name : str | Omit = omit ,
7070 profile : browser_pool_create_params .Profile | Omit = omit ,
7171 proxy_id : str | Omit = omit ,
72+ refresh_on_profile_update : bool | Omit = omit ,
7273 start_url : str | Omit = omit ,
7374 stealth : bool | Omit = omit ,
7475 timeout_seconds : int | Omit = omit ,
@@ -110,16 +111,19 @@ def create(
110111
111112 name: Optional name for the browser pool. Must be unique within the project.
112113
113- profile: Profile selection for browsers in a pool. Provide either id or name. The
114- matching profile is loaded into every browser in the pool. Profiles must be
115- created beforehand. Unlike single browser sessions, pools load the profile
116- read-only and never persist changes back to it, so save_changes is omitted here.
117- Any save_changes value sent on a pool profile is silently ignored rather than
118- rejected, so callers reusing a single-session profile object will not error.
114+ profile: Profile configuration for browsers in a pool. Provide either id or name.
115+ Profiles must be created beforehand. Unlike single browser sessions, pools load
116+ the profile read-only and never persist changes back to it, so save_changes is
117+ omitted here. Any save_changes value sent on a pool profile is silently ignored
118+ rather than rejected.
119119
120120 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy in
121121 the same project as the browser session.
122122
123+ refresh_on_profile_update: When true, flush idle browsers when the profile the pool uses is updated, so
124+ pool browsers pick up the latest profile data. Requires a profile to be set on
125+ the pool.
126+
123127 start_url: Optional URL to navigate to when a new browser is warmed into the pool.
124128 Best-effort: failures to navigate do not fail pool fill. Only applied to
125129 newly-warmed browsers; browsers reused via release/acquire keep whatever URL the
@@ -166,6 +170,7 @@ def create(
166170 "name" : name ,
167171 "profile" : profile ,
168172 "proxy_id" : proxy_id ,
173+ "refresh_on_profile_update" : refresh_on_profile_update ,
169174 "start_url" : start_url ,
170175 "stealth" : stealth ,
171176 "timeout_seconds" : timeout_seconds ,
@@ -225,6 +230,7 @@ def update(
225230 name : str | Omit = omit ,
226231 profile : browser_pool_update_params .Profile | Omit = omit ,
227232 proxy_id : str | Omit = omit ,
233+ refresh_on_profile_update : bool | Omit = omit ,
228234 size : int | Omit = omit ,
229235 start_url : str | Omit = omit ,
230236 stealth : bool | Omit = omit ,
@@ -241,7 +247,9 @@ def update(
241247
242248 As with creation,
243249 save_changes on the pool profile is ignored (not rejected); pooled browsers
244- never persist changes back to the profile.
250+ never persist changes back to the profile. To clear the profile reference, send
251+ `profile: { "id": "" }`. Clearing the profile also disables
252+ `refresh_on_profile_update`.
245253
246254 Args:
247255 chrome_policy: Custom Chrome enterprise policy overrides applied to all browsers in this pool.
@@ -269,16 +277,19 @@ def update(
269277
270278 name: Optional name for the browser pool. Must be unique within the project.
271279
272- profile: Profile selection for browsers in a pool. Provide either id or name. The
273- matching profile is loaded into every browser in the pool. Profiles must be
274- created beforehand. Unlike single browser sessions, pools load the profile
275- read-only and never persist changes back to it, so save_changes is omitted here.
276- Any save_changes value sent on a pool profile is silently ignored rather than
277- rejected, so callers reusing a single-session profile object will not error.
280+ profile: Profile configuration for browsers in a pool. Provide either id or name.
281+ Profiles must be created beforehand. Unlike single browser sessions, pools load
282+ the profile read-only and never persist changes back to it, so save_changes is
283+ omitted here. Any save_changes value sent on a pool profile is silently ignored
284+ rather than rejected.
278285
279286 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy in
280287 the same project as the browser session.
281288
289+ refresh_on_profile_update: When true, flush idle browsers when the profile the pool uses is updated, so
290+ pool browsers pick up the latest profile data. Requires a profile to be set on
291+ the pool.
292+
282293 size: Number of browsers to maintain in the pool. The maximum size is determined by
283294 your organization's pooled sessions limit (the sum of all pool sizes cannot
284295 exceed your limit).
@@ -331,6 +342,7 @@ def update(
331342 "name" : name ,
332343 "profile" : profile ,
333344 "proxy_id" : proxy_id ,
345+ "refresh_on_profile_update" : refresh_on_profile_update ,
334346 "size" : size ,
335347 "start_url" : start_url ,
336348 "stealth" : stealth ,
@@ -624,6 +636,7 @@ async def create(
624636 name : str | Omit = omit ,
625637 profile : browser_pool_create_params .Profile | Omit = omit ,
626638 proxy_id : str | Omit = omit ,
639+ refresh_on_profile_update : bool | Omit = omit ,
627640 start_url : str | Omit = omit ,
628641 stealth : bool | Omit = omit ,
629642 timeout_seconds : int | Omit = omit ,
@@ -665,16 +678,19 @@ async def create(
665678
666679 name: Optional name for the browser pool. Must be unique within the project.
667680
668- profile: Profile selection for browsers in a pool. Provide either id or name. The
669- matching profile is loaded into every browser in the pool. Profiles must be
670- created beforehand. Unlike single browser sessions, pools load the profile
671- read-only and never persist changes back to it, so save_changes is omitted here.
672- Any save_changes value sent on a pool profile is silently ignored rather than
673- rejected, so callers reusing a single-session profile object will not error.
681+ profile: Profile configuration for browsers in a pool. Provide either id or name.
682+ Profiles must be created beforehand. Unlike single browser sessions, pools load
683+ the profile read-only and never persist changes back to it, so save_changes is
684+ omitted here. Any save_changes value sent on a pool profile is silently ignored
685+ rather than rejected.
674686
675687 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy in
676688 the same project as the browser session.
677689
690+ refresh_on_profile_update: When true, flush idle browsers when the profile the pool uses is updated, so
691+ pool browsers pick up the latest profile data. Requires a profile to be set on
692+ the pool.
693+
678694 start_url: Optional URL to navigate to when a new browser is warmed into the pool.
679695 Best-effort: failures to navigate do not fail pool fill. Only applied to
680696 newly-warmed browsers; browsers reused via release/acquire keep whatever URL the
@@ -721,6 +737,7 @@ async def create(
721737 "name" : name ,
722738 "profile" : profile ,
723739 "proxy_id" : proxy_id ,
740+ "refresh_on_profile_update" : refresh_on_profile_update ,
724741 "start_url" : start_url ,
725742 "stealth" : stealth ,
726743 "timeout_seconds" : timeout_seconds ,
@@ -780,6 +797,7 @@ async def update(
780797 name : str | Omit = omit ,
781798 profile : browser_pool_update_params .Profile | Omit = omit ,
782799 proxy_id : str | Omit = omit ,
800+ refresh_on_profile_update : bool | Omit = omit ,
783801 size : int | Omit = omit ,
784802 start_url : str | Omit = omit ,
785803 stealth : bool | Omit = omit ,
@@ -796,7 +814,9 @@ async def update(
796814
797815 As with creation,
798816 save_changes on the pool profile is ignored (not rejected); pooled browsers
799- never persist changes back to the profile.
817+ never persist changes back to the profile. To clear the profile reference, send
818+ `profile: { "id": "" }`. Clearing the profile also disables
819+ `refresh_on_profile_update`.
800820
801821 Args:
802822 chrome_policy: Custom Chrome enterprise policy overrides applied to all browsers in this pool.
@@ -824,16 +844,19 @@ async def update(
824844
825845 name: Optional name for the browser pool. Must be unique within the project.
826846
827- profile: Profile selection for browsers in a pool. Provide either id or name. The
828- matching profile is loaded into every browser in the pool. Profiles must be
829- created beforehand. Unlike single browser sessions, pools load the profile
830- read-only and never persist changes back to it, so save_changes is omitted here.
831- Any save_changes value sent on a pool profile is silently ignored rather than
832- rejected, so callers reusing a single-session profile object will not error.
847+ profile: Profile configuration for browsers in a pool. Provide either id or name.
848+ Profiles must be created beforehand. Unlike single browser sessions, pools load
849+ the profile read-only and never persist changes back to it, so save_changes is
850+ omitted here. Any save_changes value sent on a pool profile is silently ignored
851+ rather than rejected.
833852
834853 proxy_id: Optional proxy to associate to the browser session. Must reference a proxy in
835854 the same project as the browser session.
836855
856+ refresh_on_profile_update: When true, flush idle browsers when the profile the pool uses is updated, so
857+ pool browsers pick up the latest profile data. Requires a profile to be set on
858+ the pool.
859+
837860 size: Number of browsers to maintain in the pool. The maximum size is determined by
838861 your organization's pooled sessions limit (the sum of all pool sizes cannot
839862 exceed your limit).
@@ -886,6 +909,7 @@ async def update(
886909 "name" : name ,
887910 "profile" : profile ,
888911 "proxy_id" : proxy_id ,
912+ "refresh_on_profile_update" : refresh_on_profile_update ,
889913 "size" : size ,
890914 "start_url" : start_url ,
891915 "stealth" : stealth ,
0 commit comments