@@ -48,6 +48,7 @@ def create(
4848 self ,
4949 * ,
5050 account_id : str ,
51+ allow_out_of_region_access : bool | NotGiven = NOT_GIVEN ,
5152 regions : str | NotGiven = NOT_GIVEN ,
5253 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5354 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -62,6 +63,8 @@ def create(
6263 Args:
6364 account_id: Identifier.
6465
66+ allow_out_of_region_access: Allow out of region access
67+
6568 regions: Name of the region.
6669
6770 extra_headers: Send extra headers
@@ -76,7 +79,13 @@ def create(
7679 raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
7780 return self ._post (
7881 f"/accounts/{ account_id } /logs/control/cmb/config" ,
79- body = maybe_transform ({"regions" : regions }, config_create_params .ConfigCreateParams ),
82+ body = maybe_transform (
83+ {
84+ "allow_out_of_region_access" : allow_out_of_region_access ,
85+ "regions" : regions ,
86+ },
87+ config_create_params .ConfigCreateParams ,
88+ ),
8089 options = make_request_options (
8190 extra_headers = extra_headers ,
8291 extra_query = extra_query ,
@@ -190,6 +199,7 @@ async def create(
190199 self ,
191200 * ,
192201 account_id : str ,
202+ allow_out_of_region_access : bool | NotGiven = NOT_GIVEN ,
193203 regions : str | NotGiven = NOT_GIVEN ,
194204 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
195205 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -204,6 +214,8 @@ async def create(
204214 Args:
205215 account_id: Identifier.
206216
217+ allow_out_of_region_access: Allow out of region access
218+
207219 regions: Name of the region.
208220
209221 extra_headers: Send extra headers
@@ -218,7 +230,13 @@ async def create(
218230 raise ValueError (f"Expected a non-empty value for `account_id` but received { account_id !r} " )
219231 return await self ._post (
220232 f"/accounts/{ account_id } /logs/control/cmb/config" ,
221- body = await async_maybe_transform ({"regions" : regions }, config_create_params .ConfigCreateParams ),
233+ body = await async_maybe_transform (
234+ {
235+ "allow_out_of_region_access" : allow_out_of_region_access ,
236+ "regions" : regions ,
237+ },
238+ config_create_params .ConfigCreateParams ,
239+ ),
222240 options = make_request_options (
223241 extra_headers = extra_headers ,
224242 extra_query = extra_query ,
0 commit comments