From ebfddc5cb549f70297e394e47ca4ee0ec11b1492 Mon Sep 17 00:00:00 2001 From: tituscarl Date: Mon, 8 Jun 2026 16:30:10 +0800 Subject: [PATCH 1/3] billing: add additional field for create bg to accept multiple payerIds in create bg --- billing/v1/billing.proto | 3 +++ openapiv2/apidocs.swagger.json | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/billing/v1/billing.proto b/billing/v1/billing.proto index cde4e286..c7a7db78 100644 --- a/billing/v1/billing.proto +++ b/billing/v1/billing.proto @@ -1378,6 +1378,9 @@ message RegisterAccounts { // Optional. AccountId to be used for registration into the billing group. string accountId = 2; + + // Optional. supported only if vendor is aws, lists of accountIds. + repeated string additionalAccountIds = 3; } // Optional. Vendor accounts to add to the billing group diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index 43c9ebab..36eb3e62 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -44808,6 +44808,13 @@ "accountId": { "type": "string", "description": "Optional. AccountId to be used for registration into the billing group." + }, + "additionalAccountIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Optional. supported only if vendor is aws, lists of accountIds." } }, "title": "Register Accounts definition" From 07e72f51f4ff69a8fab15de8615c82b6a3622a0b Mon Sep 17 00:00:00 2001 From: tituscarl Date: Mon, 8 Jun 2026 16:31:32 +0800 Subject: [PATCH 2/3] update --- billing/v1/billing.proto | 2 +- openapiv2/apidocs.swagger.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/billing/v1/billing.proto b/billing/v1/billing.proto index c7a7db78..ac2c908a 100644 --- a/billing/v1/billing.proto +++ b/billing/v1/billing.proto @@ -1379,7 +1379,7 @@ message RegisterAccounts { // Optional. AccountId to be used for registration into the billing group. string accountId = 2; - // Optional. supported only if vendor is aws, lists of accountIds. + // Optional. Supported only if vendor is aws. repeated string additionalAccountIds = 3; } diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index 36eb3e62..a88cd70c 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -44814,7 +44814,7 @@ "items": { "type": "string" }, - "description": "Optional. supported only if vendor is aws, lists of accountIds." + "description": "Optional. Supported only if vendor is aws." } }, "title": "Register Accounts definition" From 60356f629a0b0addd99903fdee5c669647c3fbb8 Mon Sep 17 00:00:00 2001 From: tituscarl Date: Tue, 9 Jun 2026 09:52:07 +0800 Subject: [PATCH 3/3] update --- billing/v1/billing.proto | 6 ++---- openapiv2/apidocs.swagger.json | 9 +-------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/billing/v1/billing.proto b/billing/v1/billing.proto index ac2c908a..98ceb8cf 100644 --- a/billing/v1/billing.proto +++ b/billing/v1/billing.proto @@ -1376,11 +1376,9 @@ message RegisterAccounts { // For AWS, Register accountId under the specific payer account into the billing group bool enabled = 1; - // Optional. AccountId to be used for registration into the billing group. + // Optional. AccountIds to be used for registration into the billing group. + // Accepts multiple accountIds separated by a comma. string accountId = 2; - - // Optional. Supported only if vendor is aws. - repeated string additionalAccountIds = 3; } // Optional. Vendor accounts to add to the billing group diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index a88cd70c..e9310b16 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -44807,14 +44807,7 @@ }, "accountId": { "type": "string", - "description": "Optional. AccountId to be used for registration into the billing group." - }, - "additionalAccountIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional. Supported only if vendor is aws." + "description": "Optional. AccountIds to be used for registration into the billing group.\nAccepts multiple accountIds separated by a comma." } }, "title": "Register Accounts definition"