@@ -574,11 +574,8 @@ def create_tunnel(
574574 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
575575 idempotency_key : str | None = None ,
576576 ) -> DevboxTunnelView :
577- """Create a live tunnel to an available port on the Devbox.
578-
579- Note the port must be
580- made available using Devbox.create.availablePorts. Otherwise, the tunnel will
581- not connect to any running processes on the Devbox.
577+ """
578+ Create a live tunnel to an available port on the Devbox.
582579
583580 Args:
584581 port: Devbox port that tunnel will expose.
@@ -859,6 +856,8 @@ def list_disk_snapshots(
859856 * ,
860857 devbox_id : str | NotGiven = NOT_GIVEN ,
861858 limit : int | NotGiven = NOT_GIVEN ,
859+ metadata_key : str | NotGiven = NOT_GIVEN ,
860+ metadata_key_in : str | NotGiven = NOT_GIVEN ,
862861 starting_after : str | NotGiven = NOT_GIVEN ,
863862 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
864863 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -868,13 +867,19 @@ def list_disk_snapshots(
868867 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
869868 ) -> SyncDiskSnapshotsCursorIDPage [DevboxSnapshotView ]:
870869 """
871- List all snapshots of a Devbox while optionally filtering by Devbox ID.
870+ List all snapshots of a Devbox while optionally filtering by Devbox ID and
871+ metadata.
872872
873873 Args:
874874 devbox_id: Devbox ID to filter by.
875875
876876 limit: The limit of items to return. Default is 20.
877877
878+ metadata_key: Filter snapshots by metadata key-value pair. Can be used multiple times for
879+ different keys.
880+
881+ metadata_key_in: Filter snapshots by metadata key with multiple possible values (OR condition).
882+
878883 starting_after: Load the next page of data starting after the item with the given ID.
879884
880885 extra_headers: Send extra headers
@@ -897,6 +902,8 @@ def list_disk_snapshots(
897902 {
898903 "devbox_id" : devbox_id ,
899904 "limit" : limit ,
905+ "metadata_key" : metadata_key ,
906+ "metadata_key_in" : metadata_key_in ,
900907 "starting_after" : starting_after ,
901908 },
902909 devbox_list_disk_snapshots_params .DevboxListDiskSnapshotsParams ,
@@ -1760,11 +1767,8 @@ async def create_tunnel(
17601767 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
17611768 idempotency_key : str | None = None ,
17621769 ) -> DevboxTunnelView :
1763- """Create a live tunnel to an available port on the Devbox.
1764-
1765- Note the port must be
1766- made available using Devbox.create.availablePorts. Otherwise, the tunnel will
1767- not connect to any running processes on the Devbox.
1770+ """
1771+ Create a live tunnel to an available port on the Devbox.
17681772
17691773 Args:
17701774 port: Devbox port that tunnel will expose.
@@ -2045,6 +2049,8 @@ def list_disk_snapshots(
20452049 * ,
20462050 devbox_id : str | NotGiven = NOT_GIVEN ,
20472051 limit : int | NotGiven = NOT_GIVEN ,
2052+ metadata_key : str | NotGiven = NOT_GIVEN ,
2053+ metadata_key_in : str | NotGiven = NOT_GIVEN ,
20482054 starting_after : str | NotGiven = NOT_GIVEN ,
20492055 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
20502056 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -2054,13 +2060,19 @@ def list_disk_snapshots(
20542060 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
20552061 ) -> AsyncPaginator [DevboxSnapshotView , AsyncDiskSnapshotsCursorIDPage [DevboxSnapshotView ]]:
20562062 """
2057- List all snapshots of a Devbox while optionally filtering by Devbox ID.
2063+ List all snapshots of a Devbox while optionally filtering by Devbox ID and
2064+ metadata.
20582065
20592066 Args:
20602067 devbox_id: Devbox ID to filter by.
20612068
20622069 limit: The limit of items to return. Default is 20.
20632070
2071+ metadata_key: Filter snapshots by metadata key-value pair. Can be used multiple times for
2072+ different keys.
2073+
2074+ metadata_key_in: Filter snapshots by metadata key with multiple possible values (OR condition).
2075+
20642076 starting_after: Load the next page of data starting after the item with the given ID.
20652077
20662078 extra_headers: Send extra headers
@@ -2083,6 +2095,8 @@ def list_disk_snapshots(
20832095 {
20842096 "devbox_id" : devbox_id ,
20852097 "limit" : limit ,
2098+ "metadata_key" : metadata_key ,
2099+ "metadata_key_in" : metadata_key_in ,
20862100 "starting_after" : starting_after ,
20872101 },
20882102 devbox_list_disk_snapshots_params .DevboxListDiskSnapshotsParams ,
0 commit comments