@alicloud/gpdb20160503 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +84 -0
- package/dist/client.js +237 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ResetBranchRequest.d.ts +41 -0
- package/dist/models/ResetBranchRequest.js +62 -0
- package/dist/models/ResetBranchRequest.js.map +1 -0
- package/dist/models/ResetBranchResponse.d.ts +19 -0
- package/dist/models/ResetBranchResponse.js +69 -0
- package/dist/models/ResetBranchResponse.js.map +1 -0
- package/dist/models/ResetBranchResponseBody.d.ts +21 -0
- package/dist/models/ResetBranchResponseBody.js +58 -0
- package/dist/models/ResetBranchResponseBody.js.map +1 -0
- package/dist/models/RestoreBranchRequest.d.ts +83 -0
- package/dist/models/RestoreBranchRequest.js +72 -0
- package/dist/models/RestoreBranchRequest.js.map +1 -0
- package/dist/models/RestoreBranchResponse.d.ts +19 -0
- package/dist/models/RestoreBranchResponse.js +69 -0
- package/dist/models/RestoreBranchResponse.js.map +1 -0
- package/dist/models/RestoreBranchResponseBody.d.ts +29 -0
- package/dist/models/RestoreBranchResponseBody.js +60 -0
- package/dist/models/RestoreBranchResponseBody.js.map +1 -0
- package/dist/models/SetAsDefaultBranchRequest.d.ts +41 -0
- package/dist/models/SetAsDefaultBranchRequest.js +62 -0
- package/dist/models/SetAsDefaultBranchRequest.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponse.d.ts +19 -0
- package/dist/models/SetAsDefaultBranchResponse.js +69 -0
- package/dist/models/SetAsDefaultBranchResponse.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponseBody.d.ts +21 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js +58 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js.map +1 -0
- package/dist/models/UpdateBranchRequest.d.ts +126 -0
- package/dist/models/UpdateBranchRequest.js +98 -0
- package/dist/models/UpdateBranchRequest.js.map +1 -0
- package/dist/models/UpdateBranchResponse.d.ts +19 -0
- package/dist/models/UpdateBranchResponse.js +69 -0
- package/dist/models/UpdateBranchResponse.js.map +1 -0
- package/dist/models/UpdateBranchResponseBody.d.ts +21 -0
- package/dist/models/UpdateBranchResponseBody.js +58 -0
- package/dist/models/UpdateBranchResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +44 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +268 -0
- package/src/models/ResetBranchRequest.ts +58 -0
- package/src/models/ResetBranchResponse.ts +40 -0
- package/src/models/ResetBranchResponseBody.ts +34 -0
- package/src/models/RestoreBranchRequest.ts +110 -0
- package/src/models/RestoreBranchResponse.ts +40 -0
- package/src/models/RestoreBranchResponseBody.ts +44 -0
- package/src/models/SetAsDefaultBranchRequest.ts +58 -0
- package/src/models/SetAsDefaultBranchResponse.ts +40 -0
- package/src/models/SetAsDefaultBranchResponseBody.ts +34 -0
- package/src/models/UpdateBranchRequest.ts +170 -0
- package/src/models/UpdateBranchResponse.ts +40 -0
- package/src/models/UpdateBranchResponseBody.ts +34 -0
- package/src/models/model.ts +13 -0
package/dist/client.d.ts
CHANGED
|
@@ -4491,6 +4491,27 @@ export default class Client extends OpenApi {
|
|
|
4491
4491
|
* @returns ResetAccountPasswordResponse
|
|
4492
4492
|
*/
|
|
4493
4493
|
resetAccountPassword(request: $_model.ResetAccountPasswordRequest): Promise<$_model.ResetAccountPasswordResponse>;
|
|
4494
|
+
/**
|
|
4495
|
+
* Resets a Supabase branch.
|
|
4496
|
+
*
|
|
4497
|
+
* @remarks
|
|
4498
|
+
* Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
|
|
4499
|
+
*
|
|
4500
|
+
* @param request - ResetBranchRequest
|
|
4501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4502
|
+
* @returns ResetBranchResponse
|
|
4503
|
+
*/
|
|
4504
|
+
resetBranchWithOptions(request: $_model.ResetBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetBranchResponse>;
|
|
4505
|
+
/**
|
|
4506
|
+
* Resets a Supabase branch.
|
|
4507
|
+
*
|
|
4508
|
+
* @remarks
|
|
4509
|
+
* Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
|
|
4510
|
+
*
|
|
4511
|
+
* @param request - ResetBranchRequest
|
|
4512
|
+
* @returns ResetBranchResponse
|
|
4513
|
+
*/
|
|
4514
|
+
resetBranch(request: $_model.ResetBranchRequest): Promise<$_model.ResetBranchResponse>;
|
|
4494
4515
|
/**
|
|
4495
4516
|
* Resets the IMV statistics.
|
|
4496
4517
|
*
|
|
@@ -4573,6 +4594,27 @@ export default class Client extends OpenApi {
|
|
|
4573
4594
|
* @returns RestartSupabaseProjectResponse
|
|
4574
4595
|
*/
|
|
4575
4596
|
restartSupabaseProject(request: $_model.RestartSupabaseProjectRequest): Promise<$_model.RestartSupabaseProjectResponse>;
|
|
4597
|
+
/**
|
|
4598
|
+
* Recovers a Supabase branch.
|
|
4599
|
+
*
|
|
4600
|
+
* @remarks
|
|
4601
|
+
* Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
|
|
4602
|
+
*
|
|
4603
|
+
* @param request - RestoreBranchRequest
|
|
4604
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4605
|
+
* @returns RestoreBranchResponse
|
|
4606
|
+
*/
|
|
4607
|
+
restoreBranchWithOptions(request: $_model.RestoreBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestoreBranchResponse>;
|
|
4608
|
+
/**
|
|
4609
|
+
* Recovers a Supabase branch.
|
|
4610
|
+
*
|
|
4611
|
+
* @remarks
|
|
4612
|
+
* Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
|
|
4613
|
+
*
|
|
4614
|
+
* @param request - RestoreBranchRequest
|
|
4615
|
+
* @returns RestoreBranchResponse
|
|
4616
|
+
*/
|
|
4617
|
+
restoreBranch(request: $_model.RestoreBranchRequest): Promise<$_model.RestoreBranchResponse>;
|
|
4576
4618
|
/**
|
|
4577
4619
|
* Restores a Supabase project from a snapshot.
|
|
4578
4620
|
*
|
|
@@ -4680,6 +4722,27 @@ export default class Client extends OpenApi {
|
|
|
4680
4722
|
* @returns ResumeSupabaseProjectResponse
|
|
4681
4723
|
*/
|
|
4682
4724
|
resumeSupabaseProject(request: $_model.ResumeSupabaseProjectRequest): Promise<$_model.ResumeSupabaseProjectResponse>;
|
|
4725
|
+
/**
|
|
4726
|
+
* Sets the default branch for a Supabase project.
|
|
4727
|
+
*
|
|
4728
|
+
* @remarks
|
|
4729
|
+
* Sets a specified branch as the default branch for a Supabase project.
|
|
4730
|
+
*
|
|
4731
|
+
* @param request - SetAsDefaultBranchRequest
|
|
4732
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4733
|
+
* @returns SetAsDefaultBranchResponse
|
|
4734
|
+
*/
|
|
4735
|
+
setAsDefaultBranchWithOptions(request: $_model.SetAsDefaultBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetAsDefaultBranchResponse>;
|
|
4736
|
+
/**
|
|
4737
|
+
* Sets the default branch for a Supabase project.
|
|
4738
|
+
*
|
|
4739
|
+
* @remarks
|
|
4740
|
+
* Sets a specified branch as the default branch for a Supabase project.
|
|
4741
|
+
*
|
|
4742
|
+
* @param request - SetAsDefaultBranchRequest
|
|
4743
|
+
* @returns SetAsDefaultBranchResponse
|
|
4744
|
+
*/
|
|
4745
|
+
setAsDefaultBranch(request: $_model.SetAsDefaultBranchRequest): Promise<$_model.SetAsDefaultBranchResponse>;
|
|
4683
4746
|
/**
|
|
4684
4747
|
* Enables or disables a plan for an AnalyticDB for PostgreSQL instance.
|
|
4685
4748
|
*
|
|
@@ -4874,6 +4937,27 @@ export default class Client extends OpenApi {
|
|
|
4874
4937
|
* @returns UntagSupabaseProjectResponse
|
|
4875
4938
|
*/
|
|
4876
4939
|
untagSupabaseProject(request: $_model.UntagSupabaseProjectRequest): Promise<$_model.UntagSupabaseProjectResponse>;
|
|
4940
|
+
/**
|
|
4941
|
+
* Updates Supabase branch information.
|
|
4942
|
+
*
|
|
4943
|
+
* @remarks
|
|
4944
|
+
* This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
|
|
4945
|
+
*
|
|
4946
|
+
* @param request - UpdateBranchRequest
|
|
4947
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4948
|
+
* @returns UpdateBranchResponse
|
|
4949
|
+
*/
|
|
4950
|
+
updateBranchWithOptions(request: $_model.UpdateBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateBranchResponse>;
|
|
4951
|
+
/**
|
|
4952
|
+
* Updates Supabase branch information.
|
|
4953
|
+
*
|
|
4954
|
+
* @remarks
|
|
4955
|
+
* This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
|
|
4956
|
+
*
|
|
4957
|
+
* @param request - UpdateBranchRequest
|
|
4958
|
+
* @returns UpdateBranchResponse
|
|
4959
|
+
*/
|
|
4960
|
+
updateBranch(request: $_model.UpdateBranchRequest): Promise<$_model.UpdateBranchResponse>;
|
|
4877
4961
|
/**
|
|
4878
4962
|
* Update Metadata of Collection Data
|
|
4879
4963
|
*
|
package/dist/client.js
CHANGED
|
@@ -14313,6 +14313,57 @@ class Client extends openapi_core_1.default {
|
|
|
14313
14313
|
let runtime = new $dara.RuntimeOptions({});
|
|
14314
14314
|
return await this.resetAccountPasswordWithOptions(request, runtime);
|
|
14315
14315
|
}
|
|
14316
|
+
/**
|
|
14317
|
+
* Resets a Supabase branch.
|
|
14318
|
+
*
|
|
14319
|
+
* @remarks
|
|
14320
|
+
* Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
|
|
14321
|
+
*
|
|
14322
|
+
* @param request - ResetBranchRequest
|
|
14323
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14324
|
+
* @returns ResetBranchResponse
|
|
14325
|
+
*/
|
|
14326
|
+
async resetBranchWithOptions(request, runtime) {
|
|
14327
|
+
request.validate();
|
|
14328
|
+
let query = {};
|
|
14329
|
+
if (!$dara.isNull(request.branchId)) {
|
|
14330
|
+
query["BranchId"] = request.branchId;
|
|
14331
|
+
}
|
|
14332
|
+
if (!$dara.isNull(request.projectId)) {
|
|
14333
|
+
query["ProjectId"] = request.projectId;
|
|
14334
|
+
}
|
|
14335
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14336
|
+
query["RegionId"] = request.regionId;
|
|
14337
|
+
}
|
|
14338
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14339
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14340
|
+
});
|
|
14341
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14342
|
+
action: "ResetBranch",
|
|
14343
|
+
version: "2016-05-03",
|
|
14344
|
+
protocol: "HTTPS",
|
|
14345
|
+
pathname: "/",
|
|
14346
|
+
method: "POST",
|
|
14347
|
+
authType: "AK",
|
|
14348
|
+
style: "RPC",
|
|
14349
|
+
reqBodyType: "formData",
|
|
14350
|
+
bodyType: "json",
|
|
14351
|
+
});
|
|
14352
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetBranchResponse({}));
|
|
14353
|
+
}
|
|
14354
|
+
/**
|
|
14355
|
+
* Resets a Supabase branch.
|
|
14356
|
+
*
|
|
14357
|
+
* @remarks
|
|
14358
|
+
* Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
|
|
14359
|
+
*
|
|
14360
|
+
* @param request - ResetBranchRequest
|
|
14361
|
+
* @returns ResetBranchResponse
|
|
14362
|
+
*/
|
|
14363
|
+
async resetBranch(request) {
|
|
14364
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14365
|
+
return await this.resetBranchWithOptions(request, runtime);
|
|
14366
|
+
}
|
|
14316
14367
|
/**
|
|
14317
14368
|
* Resets the IMV statistics.
|
|
14318
14369
|
*
|
|
@@ -14506,6 +14557,72 @@ class Client extends openapi_core_1.default {
|
|
|
14506
14557
|
let runtime = new $dara.RuntimeOptions({});
|
|
14507
14558
|
return await this.restartSupabaseProjectWithOptions(request, runtime);
|
|
14508
14559
|
}
|
|
14560
|
+
/**
|
|
14561
|
+
* Recovers a Supabase branch.
|
|
14562
|
+
*
|
|
14563
|
+
* @remarks
|
|
14564
|
+
* Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
|
|
14565
|
+
*
|
|
14566
|
+
* @param request - RestoreBranchRequest
|
|
14567
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14568
|
+
* @returns RestoreBranchResponse
|
|
14569
|
+
*/
|
|
14570
|
+
async restoreBranchWithOptions(request, runtime) {
|
|
14571
|
+
request.validate();
|
|
14572
|
+
let query = {};
|
|
14573
|
+
if (!$dara.isNull(request.branchId)) {
|
|
14574
|
+
query["BranchId"] = request.branchId;
|
|
14575
|
+
}
|
|
14576
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
14577
|
+
query["ClientToken"] = request.clientToken;
|
|
14578
|
+
}
|
|
14579
|
+
if (!$dara.isNull(request.preserveUnderName)) {
|
|
14580
|
+
query["PreserveUnderName"] = request.preserveUnderName;
|
|
14581
|
+
}
|
|
14582
|
+
if (!$dara.isNull(request.projectId)) {
|
|
14583
|
+
query["ProjectId"] = request.projectId;
|
|
14584
|
+
}
|
|
14585
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14586
|
+
query["RegionId"] = request.regionId;
|
|
14587
|
+
}
|
|
14588
|
+
if (!$dara.isNull(request.sourceBranchId)) {
|
|
14589
|
+
query["SourceBranchId"] = request.sourceBranchId;
|
|
14590
|
+
}
|
|
14591
|
+
if (!$dara.isNull(request.sourceBranchLsn)) {
|
|
14592
|
+
query["SourceBranchLsn"] = request.sourceBranchLsn;
|
|
14593
|
+
}
|
|
14594
|
+
if (!$dara.isNull(request.sourceBranchTimestamp)) {
|
|
14595
|
+
query["SourceBranchTimestamp"] = request.sourceBranchTimestamp;
|
|
14596
|
+
}
|
|
14597
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14598
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14599
|
+
});
|
|
14600
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14601
|
+
action: "RestoreBranch",
|
|
14602
|
+
version: "2016-05-03",
|
|
14603
|
+
protocol: "HTTPS",
|
|
14604
|
+
pathname: "/",
|
|
14605
|
+
method: "POST",
|
|
14606
|
+
authType: "AK",
|
|
14607
|
+
style: "RPC",
|
|
14608
|
+
reqBodyType: "formData",
|
|
14609
|
+
bodyType: "json",
|
|
14610
|
+
});
|
|
14611
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestoreBranchResponse({}));
|
|
14612
|
+
}
|
|
14613
|
+
/**
|
|
14614
|
+
* Recovers a Supabase branch.
|
|
14615
|
+
*
|
|
14616
|
+
* @remarks
|
|
14617
|
+
* Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
|
|
14618
|
+
*
|
|
14619
|
+
* @param request - RestoreBranchRequest
|
|
14620
|
+
* @returns RestoreBranchResponse
|
|
14621
|
+
*/
|
|
14622
|
+
async restoreBranch(request) {
|
|
14623
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14624
|
+
return await this.restoreBranchWithOptions(request, runtime);
|
|
14625
|
+
}
|
|
14509
14626
|
/**
|
|
14510
14627
|
* Restores a Supabase project from a snapshot.
|
|
14511
14628
|
*
|
|
@@ -14763,6 +14880,57 @@ class Client extends openapi_core_1.default {
|
|
|
14763
14880
|
let runtime = new $dara.RuntimeOptions({});
|
|
14764
14881
|
return await this.resumeSupabaseProjectWithOptions(request, runtime);
|
|
14765
14882
|
}
|
|
14883
|
+
/**
|
|
14884
|
+
* Sets the default branch for a Supabase project.
|
|
14885
|
+
*
|
|
14886
|
+
* @remarks
|
|
14887
|
+
* Sets a specified branch as the default branch for a Supabase project.
|
|
14888
|
+
*
|
|
14889
|
+
* @param request - SetAsDefaultBranchRequest
|
|
14890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14891
|
+
* @returns SetAsDefaultBranchResponse
|
|
14892
|
+
*/
|
|
14893
|
+
async setAsDefaultBranchWithOptions(request, runtime) {
|
|
14894
|
+
request.validate();
|
|
14895
|
+
let query = {};
|
|
14896
|
+
if (!$dara.isNull(request.branchId)) {
|
|
14897
|
+
query["BranchId"] = request.branchId;
|
|
14898
|
+
}
|
|
14899
|
+
if (!$dara.isNull(request.projectId)) {
|
|
14900
|
+
query["ProjectId"] = request.projectId;
|
|
14901
|
+
}
|
|
14902
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14903
|
+
query["RegionId"] = request.regionId;
|
|
14904
|
+
}
|
|
14905
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14906
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14907
|
+
});
|
|
14908
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14909
|
+
action: "SetAsDefaultBranch",
|
|
14910
|
+
version: "2016-05-03",
|
|
14911
|
+
protocol: "HTTPS",
|
|
14912
|
+
pathname: "/",
|
|
14913
|
+
method: "POST",
|
|
14914
|
+
authType: "AK",
|
|
14915
|
+
style: "RPC",
|
|
14916
|
+
reqBodyType: "formData",
|
|
14917
|
+
bodyType: "json",
|
|
14918
|
+
});
|
|
14919
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetAsDefaultBranchResponse({}));
|
|
14920
|
+
}
|
|
14921
|
+
/**
|
|
14922
|
+
* Sets the default branch for a Supabase project.
|
|
14923
|
+
*
|
|
14924
|
+
* @remarks
|
|
14925
|
+
* Sets a specified branch as the default branch for a Supabase project.
|
|
14926
|
+
*
|
|
14927
|
+
* @param request - SetAsDefaultBranchRequest
|
|
14928
|
+
* @returns SetAsDefaultBranchResponse
|
|
14929
|
+
*/
|
|
14930
|
+
async setAsDefaultBranch(request) {
|
|
14931
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14932
|
+
return await this.setAsDefaultBranchWithOptions(request, runtime);
|
|
14933
|
+
}
|
|
14766
14934
|
/**
|
|
14767
14935
|
* Enables or disables a plan for an AnalyticDB for PostgreSQL instance.
|
|
14768
14936
|
*
|
|
@@ -15331,6 +15499,75 @@ class Client extends openapi_core_1.default {
|
|
|
15331
15499
|
let runtime = new $dara.RuntimeOptions({});
|
|
15332
15500
|
return await this.untagSupabaseProjectWithOptions(request, runtime);
|
|
15333
15501
|
}
|
|
15502
|
+
/**
|
|
15503
|
+
* Updates Supabase branch information.
|
|
15504
|
+
*
|
|
15505
|
+
* @remarks
|
|
15506
|
+
* This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
|
|
15507
|
+
*
|
|
15508
|
+
* @param request - UpdateBranchRequest
|
|
15509
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15510
|
+
* @returns UpdateBranchResponse
|
|
15511
|
+
*/
|
|
15512
|
+
async updateBranchWithOptions(request, runtime) {
|
|
15513
|
+
request.validate();
|
|
15514
|
+
let query = {};
|
|
15515
|
+
if (!$dara.isNull(request.branchId)) {
|
|
15516
|
+
query["BranchId"] = request.branchId;
|
|
15517
|
+
}
|
|
15518
|
+
if (!$dara.isNull(request.branchName)) {
|
|
15519
|
+
query["BranchName"] = request.branchName;
|
|
15520
|
+
}
|
|
15521
|
+
if (!$dara.isNull(request.clearExpiresAt)) {
|
|
15522
|
+
query["ClearExpiresAt"] = request.clearExpiresAt;
|
|
15523
|
+
}
|
|
15524
|
+
if (!$dara.isNull(request.description)) {
|
|
15525
|
+
query["Description"] = request.description;
|
|
15526
|
+
}
|
|
15527
|
+
if (!$dara.isNull(request.expiresAt)) {
|
|
15528
|
+
query["ExpiresAt"] = request.expiresAt;
|
|
15529
|
+
}
|
|
15530
|
+
if (!$dara.isNull(request.projectId)) {
|
|
15531
|
+
query["ProjectId"] = request.projectId;
|
|
15532
|
+
}
|
|
15533
|
+
if (!$dara.isNull(request.protected)) {
|
|
15534
|
+
query["Protected"] = request.protected;
|
|
15535
|
+
}
|
|
15536
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15537
|
+
query["RegionId"] = request.regionId;
|
|
15538
|
+
}
|
|
15539
|
+
if (!$dara.isNull(request.tag)) {
|
|
15540
|
+
query["Tag"] = request.tag;
|
|
15541
|
+
}
|
|
15542
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15543
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15544
|
+
});
|
|
15545
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15546
|
+
action: "UpdateBranch",
|
|
15547
|
+
version: "2016-05-03",
|
|
15548
|
+
protocol: "HTTPS",
|
|
15549
|
+
pathname: "/",
|
|
15550
|
+
method: "POST",
|
|
15551
|
+
authType: "AK",
|
|
15552
|
+
style: "RPC",
|
|
15553
|
+
reqBodyType: "formData",
|
|
15554
|
+
bodyType: "json",
|
|
15555
|
+
});
|
|
15556
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateBranchResponse({}));
|
|
15557
|
+
}
|
|
15558
|
+
/**
|
|
15559
|
+
* Updates Supabase branch information.
|
|
15560
|
+
*
|
|
15561
|
+
* @remarks
|
|
15562
|
+
* This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
|
|
15563
|
+
*
|
|
15564
|
+
* @param request - UpdateBranchRequest
|
|
15565
|
+
* @returns UpdateBranchResponse
|
|
15566
|
+
*/
|
|
15567
|
+
async updateBranch(request) {
|
|
15568
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15569
|
+
return await this.updateBranchWithOptions(request, runtime);
|
|
15570
|
+
}
|
|
15334
15571
|
/**
|
|
15335
15572
|
* Update Metadata of Collection Data
|
|
15336
15573
|
*
|