@@ -272,6 +272,7 @@ async def list_i_ps(
272272 organization_id : Optional [str ] = None ,
273273 is_ipv6 : Optional [bool ] = None ,
274274 ip_ids : Optional [List [str ]] = None ,
275+ source_vpc_id : Optional [str ] = None ,
275276 ) -> ListIPsResponse :
276277 """
277278 List existing IPs.
@@ -282,11 +283,11 @@ async def list_i_ps(
282283 :param page_size: Maximum number of IPs to return per page.
283284 :param project_id: Project ID to filter for. Only IPs belonging to this Project will be returned.
284285 :param zonal: Zone to filter for. Only IPs that are zonal, and in this zone, will be returned.
285- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
286+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
286287 :param private_network_id: Only IPs that are private, and in this Private Network, will be returned.
287- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
288+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
288289 :param subnet_id: Only IPs inside this exact subnet will be returned.
289- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
290+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
290291 :param vpc_id: Only IPs owned by resources in this VPC will be returned.
291292 :param attached: Defines whether to filter only for IPs which are attached to a resource.
292293 :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
@@ -299,6 +300,8 @@ async def list_i_ps(
299300 :param organization_id: Organization ID to filter for. Only IPs belonging to this Organization will be returned.
300301 :param is_ipv6: Defines whether to filter only for IPv4s or IPv6s.
301302 :param ip_ids: IP IDs to filter for. Only IPs with these UUIDs will be returned.
303+ :param source_vpc_id:
304+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
302305 :return: :class:`ListIPsResponse <ListIPsResponse>`
303306
304307 Usage:
@@ -335,6 +338,7 @@ async def list_i_ps(
335338 ** resolve_one_of (
336339 [
337340 OneOfPossibility ("private_network_id" , private_network_id ),
341+ OneOfPossibility ("source_vpc_id" , source_vpc_id ),
338342 OneOfPossibility ("subnet_id" , subnet_id ),
339343 OneOfPossibility ("zonal" , zonal ),
340344 ]
@@ -368,6 +372,7 @@ async def list_i_ps_all(
368372 organization_id : Optional [str ] = None ,
369373 is_ipv6 : Optional [bool ] = None ,
370374 ip_ids : Optional [List [str ]] = None ,
375+ source_vpc_id : Optional [str ] = None ,
371376 ) -> List [IP ]:
372377 """
373378 List existing IPs.
@@ -378,11 +383,11 @@ async def list_i_ps_all(
378383 :param page_size: Maximum number of IPs to return per page.
379384 :param project_id: Project ID to filter for. Only IPs belonging to this Project will be returned.
380385 :param zonal: Zone to filter for. Only IPs that are zonal, and in this zone, will be returned.
381- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
386+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
382387 :param private_network_id: Only IPs that are private, and in this Private Network, will be returned.
383- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
388+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
384389 :param subnet_id: Only IPs inside this exact subnet will be returned.
385- One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id' could be set.
390+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
386391 :param vpc_id: Only IPs owned by resources in this VPC will be returned.
387392 :param attached: Defines whether to filter only for IPs which are attached to a resource.
388393 :param resource_name: Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
@@ -395,6 +400,8 @@ async def list_i_ps_all(
395400 :param organization_id: Organization ID to filter for. Only IPs belonging to this Organization will be returned.
396401 :param is_ipv6: Defines whether to filter only for IPv4s or IPv6s.
397402 :param ip_ids: IP IDs to filter for. Only IPs with these UUIDs will be returned.
403+ :param source_vpc_id:
404+ One-Of ('source'): at most one of 'zonal', 'private_network_id', 'subnet_id', 'source_vpc_id' could be set.
398405 :return: :class:`List[IP] <List[IP]>`
399406
400407 Usage:
@@ -428,6 +435,7 @@ async def list_i_ps_all(
428435 "zonal" : zonal ,
429436 "private_network_id" : private_network_id ,
430437 "subnet_id" : subnet_id ,
438+ "source_vpc_id" : source_vpc_id ,
431439 },
432440 )
433441
0 commit comments