@@ -447,6 +447,7 @@ async def list_snapshots(
447447 page_size : Optional [int ] = None ,
448448 volume_id : Optional [str ] = None ,
449449 name : Optional [str ] = None ,
450+ tags : Optional [List [str ]] = None ,
450451 ) -> ListSnapshotsResponse :
451452 """
452453 List all snapshots.
@@ -459,6 +460,7 @@ async def list_snapshots(
459460 :param page_size: Page size, defines how many entries are returned in one page, must be lower or equal to 100.
460461 :param volume_id: Filter snapshots by the ID of the original volume.
461462 :param name: Filter snapshots by their names.
463+ :param tags: Filter by tags. Only snapshots with one or more matching tags will be returned.
462464 :return: :class:`ListSnapshotsResponse <ListSnapshotsResponse>`
463465
464466 Usage:
@@ -480,6 +482,7 @@ async def list_snapshots(
480482 "page" : page ,
481483 "page_size" : page_size or self .client .default_page_size ,
482484 "project_id" : project_id or self .client .default_project_id ,
485+ "tags" : tags ,
483486 "volume_id" : volume_id ,
484487 },
485488 )
@@ -498,6 +501,7 @@ async def list_snapshots_all(
498501 page_size : Optional [int ] = None ,
499502 volume_id : Optional [str ] = None ,
500503 name : Optional [str ] = None ,
504+ tags : Optional [List [str ]] = None ,
501505 ) -> List [Snapshot ]:
502506 """
503507 List all snapshots.
@@ -510,6 +514,7 @@ async def list_snapshots_all(
510514 :param page_size: Page size, defines how many entries are returned in one page, must be lower or equal to 100.
511515 :param volume_id: Filter snapshots by the ID of the original volume.
512516 :param name: Filter snapshots by their names.
517+ :param tags: Filter by tags. Only snapshots with one or more matching tags will be returned.
513518 :return: :class:`List[Snapshot] <List[Snapshot]>`
514519
515520 Usage:
@@ -531,6 +536,7 @@ async def list_snapshots_all(
531536 "page_size" : page_size ,
532537 "volume_id" : volume_id ,
533538 "name" : name ,
539+ "tags" : tags ,
534540 },
535541 )
536542
0 commit comments