Skip to content

Commit e60fbd1

Browse files
author
serverpod_cloud
committed
feat(gc): 2e44293656aa8fc916713c47331e46663f399952
1 parent a4222de commit e60fbd1

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

ground_control_client/lib/src/protocol/client.dart

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,11 +744,19 @@ class EndpointProjects extends _i1.EndpointRef {
744744

745745
/// Creates a new project with basic setup.
746746
/// The [cloudProjectId] must be globally unique.
747-
_i2.Future<_i3.Project> createProject({required String cloudProjectId}) =>
747+
/// [underSubscriptionId] optionally specify a subscription to procure the
748+
/// project under, or the user's primary subscription will be used.
749+
_i2.Future<_i3.Project> createProject({
750+
required String cloudProjectId,
751+
String? underSubscriptionId,
752+
}) =>
748753
caller.callServerEndpoint<_i3.Project>(
749754
'projects',
750755
'createProject',
751-
{'cloudProjectId': cloudProjectId},
756+
{
757+
'cloudProjectId': cloudProjectId,
758+
'underSubscriptionId': underSubscriptionId,
759+
},
752760
);
753761

754762
/// Fetches the specified project.

0 commit comments

Comments
 (0)