@@ -310,6 +310,12 @@ type ListDatabaseBackupsRequest struct {
310310 // Region: region to target. If none is passed will use default region from the config.
311311 Region scw.Region `json:"-"`
312312
313+ // OrganizationID: filter by the UUID of the Scaleway organization.
314+ OrganizationID * string `json:"-"`
315+
316+ // ProjectID: filter by the UUID of the Scaleway project.
317+ ProjectID * string `json:"-"`
318+
313319 // DatabaseID: filter by the UUID of the Serverless SQL Database.
314320 DatabaseID string `json:"-"`
315321
@@ -357,6 +363,9 @@ type ListDatabasesRequest struct {
357363 // Region: region to target. If none is passed will use default region from the config.
358364 Region scw.Region `json:"-"`
359365
366+ // OrganizationID: filter by the UUID of the Scaleway organization.
367+ OrganizationID * string `json:"-"`
368+
360369 // ProjectID: UUID of the Scaleway project.
361370 ProjectID string `json:"-"`
362371
@@ -563,6 +572,7 @@ func (s *API) ListDatabases(req *ListDatabasesRequest, opts ...scw.RequestOption
563572 }
564573
565574 query := url.Values {}
575+ parameter .AddToQuery (query , "organization_id" , req .OrganizationID )
566576 parameter .AddToQuery (query , "project_id" , req .ProjectID )
567577 parameter .AddToQuery (query , "page" , req .Page )
568578 parameter .AddToQuery (query , "page_size" , req .PageSize )
@@ -706,6 +716,8 @@ func (s *API) ListDatabaseBackups(req *ListDatabaseBackupsRequest, opts ...scw.R
706716 }
707717
708718 query := url.Values {}
719+ parameter .AddToQuery (query , "organization_id" , req .OrganizationID )
720+ parameter .AddToQuery (query , "project_id" , req .ProjectID )
709721 parameter .AddToQuery (query , "database_id" , req .DatabaseID )
710722 parameter .AddToQuery (query , "page" , req .Page )
711723 parameter .AddToQuery (query , "page_size" , req .PageSize )
0 commit comments