Skip to content

Commit

Permalink
feat(block): add tags in ListVolumesRequest (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Nov 7, 2024
1 parent 12d9c64 commit f1fd071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/block/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export class API extends ParentAPI {
],
['product_resource_id', request.productResourceId],
['project_id', request.projectId],
['tags', request.tags],
),
},
unmarshalListVolumesResponse,
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/block/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@ export type ListVolumesRequest = {
* ID).
*/
productResourceId?: string
/**
* Filter by tags. Only volumes with one or more matching tags will be
* returned.
*/
tags?: string[]
}

export interface ListVolumesResponse {
Expand Down

0 comments on commit f1fd071

Please sign in to comment.