Skip to content

Commit e80f94c

Browse files
yoshi-automationquirogas
authored andcommitted
feat(paymentsresellersubscription): update the API
#### paymentsresellersubscription:v1 The following keys were added: - schemas.ResumeSubscriptionRequest.properties.resumeMode.description - schemas.ResumeSubscriptionRequest.properties.resumeMode.enum - schemas.ResumeSubscriptionRequest.properties.resumeMode.enumDescriptions - schemas.ResumeSubscriptionRequest.properties.resumeMode.type
1 parent e033cbd commit e80f94c

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

discovery/paymentsresellersubscription-v1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
}
587587
}
588588
},
589-
"revision": "20251026",
589+
"revision": "20251109",
590590
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
591591
"schemas": {
592592
"Amount": {
@@ -1330,6 +1330,20 @@
13301330
"cycleOptions": {
13311331
"$ref": "CycleOptions",
13321332
"description": "Optional. The cycle options for the subscription."
1333+
},
1334+
"resumeMode": {
1335+
"description": "Optional. The mode to resume the subscription.",
1336+
"enum": [
1337+
"RESUME_MODE_UNSPECIFIED",
1338+
"RESUME_MODE_CYCLE_OPTIONS",
1339+
"RESUME_MODE_RESTORE_EXISTING_BILLING_SCHEDULE"
1340+
],
1341+
"enumDescriptions": [
1342+
"Reserved value for invalid or unexpected value.",
1343+
"Resume the subscription using the input from `cycle_options`.",
1344+
"Resume the subscription with the existing billing schedule. The subscription's next renewal time must still be in the future for this mode to be applicable."
1345+
],
1346+
"type": "string"
13331347
}
13341348
},
13351349
"type": "object"

src/apis/paymentsresellersubscription/v1.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,10 @@ export namespace paymentsresellersubscription_v1 {
626626
* Optional. The cycle options for the subscription.
627627
*/
628628
cycleOptions?: Schema$CycleOptions;
629+
/**
630+
* Optional. The mode to resume the subscription.
631+
*/
632+
resumeMode?: string | null;
629633
}
630634
/**
631635
* Response that contains the resumed subscription.
@@ -2500,7 +2504,8 @@ export namespace paymentsresellersubscription_v1 {
25002504
* requestBody: {
25012505
* // request body parameters
25022506
* // {
2503-
* // "cycleOptions": {}
2507+
* // "cycleOptions": {},
2508+
* // "resumeMode": "my_resumeMode"
25042509
* // }
25052510
* },
25062511
* });

0 commit comments

Comments
 (0)