Skip to content

Commit f1fd071

Browse files
authored
feat(block): add tags in ListVolumesRequest (#1562)
1 parent 12d9c64 commit f1fd071

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/block/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export class API extends ParentAPI {
115115
],
116116
['product_resource_id', request.productResourceId],
117117
['project_id', request.projectId],
118+
['tags', request.tags],
118119
),
119120
},
120121
unmarshalListVolumesResponse,

packages/clients/src/api/block/v1alpha1/types.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,11 @@ export type ListVolumesRequest = {
372372
* ID).
373373
*/
374374
productResourceId?: string
375+
/**
376+
* Filter by tags. Only volumes with one or more matching tags will be
377+
* returned.
378+
*/
379+
tags?: string[]
375380
}
376381

377382
export interface ListVolumesResponse {

0 commit comments

Comments
 (0)