|
2 | 2 | "auth": {
|
3 | 3 | "oauth2": {
|
4 | 4 | "scopes": {
|
5 |
| - "openid": { |
6 |
| - "description": "Associate you with your personal info on Google" |
| 5 | + "https://www.googleapis.com/auth/sdm.service": { |
| 6 | + "description": "See and/or control the devices that you selected" |
7 | 7 | }
|
8 | 8 | }
|
9 | 9 | }
|
|
147 | 147 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse"
|
148 | 148 | },
|
149 | 149 | "scopes": [
|
150 |
| - "openid" |
| 150 | + "https://www.googleapis.com/auth/sdm.service" |
151 | 151 | ]
|
152 | 152 | }
|
153 | 153 | }
|
|
179 | 179 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse"
|
180 | 180 | },
|
181 | 181 | "scopes": [
|
182 |
| - "openid" |
| 182 | + "https://www.googleapis.com/auth/sdm.service" |
183 | 183 | ]
|
184 | 184 | },
|
185 | 185 | "list": {
|
|
220 | 220 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse"
|
221 | 221 | },
|
222 | 222 | "scopes": [
|
223 |
| - "openid" |
| 223 | + "https://www.googleapis.com/auth/sdm.service" |
224 | 224 | ]
|
225 | 225 | }
|
226 | 226 | }
|
|
252 | 252 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse"
|
253 | 253 | },
|
254 | 254 | "scopes": [
|
255 |
| - "openid" |
| 255 | + "https://www.googleapis.com/auth/sdm.service" |
256 | 256 | ]
|
257 | 257 | },
|
258 | 258 | "create": {
|
|
285 | 285 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription"
|
286 | 286 | },
|
287 | 287 | "scopes": [
|
288 |
| - "openid" |
| 288 | + "https://www.googleapis.com/auth/sdm.service" |
289 | 289 | ]
|
290 | 290 | },
|
291 | 291 | "entitle": {
|
|
313 | 313 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse"
|
314 | 314 | },
|
315 | 315 | "scopes": [
|
316 |
| - "openid" |
| 316 | + "https://www.googleapis.com/auth/sdm.service" |
317 | 317 | ]
|
318 | 318 | },
|
319 | 319 | "extend": {
|
|
341 | 341 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse"
|
342 | 342 | },
|
343 | 343 | "scopes": [
|
344 |
| - "openid" |
| 344 | + "https://www.googleapis.com/auth/sdm.service" |
345 | 345 | ]
|
346 | 346 | },
|
347 | 347 | "get": {
|
|
366 | 366 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription"
|
367 | 367 | },
|
368 | 368 | "scopes": [
|
369 |
| - "openid" |
| 369 | + "https://www.googleapis.com/auth/sdm.service" |
370 | 370 | ]
|
371 | 371 | },
|
372 | 372 | "provision": {
|
|
399 | 399 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription"
|
400 | 400 | },
|
401 | 401 | "scopes": [
|
402 |
| - "openid" |
| 402 | + "https://www.googleapis.com/auth/sdm.service" |
| 403 | + ] |
| 404 | + }, |
| 405 | + "resume": { |
| 406 | + "description": "Resumes a suspended subscription. The new billing cycle will start at the time of the request. It should be called directly by the partner using service accounts.", |
| 407 | + "flatPath": "v1/partners/{partnersId}/subscriptions/{subscriptionsId}:resume", |
| 408 | + "httpMethod": "POST", |
| 409 | + "id": "paymentsresellersubscription.partners.subscriptions.resume", |
| 410 | + "parameterOrder": [ |
| 411 | + "name" |
| 412 | + ], |
| 413 | + "parameters": { |
| 414 | + "name": { |
| 415 | + "description": "Required. The name of the subscription resource to be resumed. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\"", |
| 416 | + "location": "path", |
| 417 | + "pattern": "^partners/[^/]+/subscriptions/[^/]+$", |
| 418 | + "required": true, |
| 419 | + "type": "string" |
| 420 | + } |
| 421 | + }, |
| 422 | + "path": "v1/{+name}:resume", |
| 423 | + "request": { |
| 424 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest" |
| 425 | + }, |
| 426 | + "response": { |
| 427 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse" |
| 428 | + }, |
| 429 | + "scopes": [ |
| 430 | + "https://www.googleapis.com/auth/sdm.service" |
| 431 | + ] |
| 432 | + }, |
| 433 | + "suspend": { |
| 434 | + "description": "Suspends a subscription. Contract terms may dictate if a prorated refund will be issued upon suspension. It should be called directly by the partner using service accounts.", |
| 435 | + "flatPath": "v1/partners/{partnersId}/subscriptions/{subscriptionsId}:suspend", |
| 436 | + "httpMethod": "POST", |
| 437 | + "id": "paymentsresellersubscription.partners.subscriptions.suspend", |
| 438 | + "parameterOrder": [ |
| 439 | + "name" |
| 440 | + ], |
| 441 | + "parameters": { |
| 442 | + "name": { |
| 443 | + "description": "Required. The name of the subscription resource to be suspended. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\"", |
| 444 | + "location": "path", |
| 445 | + "pattern": "^partners/[^/]+/subscriptions/[^/]+$", |
| 446 | + "required": true, |
| 447 | + "type": "string" |
| 448 | + } |
| 449 | + }, |
| 450 | + "path": "v1/{+name}:suspend", |
| 451 | + "request": { |
| 452 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest" |
| 453 | + }, |
| 454 | + "response": { |
| 455 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse" |
| 456 | + }, |
| 457 | + "scopes": [ |
| 458 | + "https://www.googleapis.com/auth/sdm.service" |
403 | 459 | ]
|
404 | 460 | },
|
405 | 461 | "undoCancel": {
|
|
427 | 483 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse"
|
428 | 484 | },
|
429 | 485 | "scopes": [
|
430 |
| - "openid" |
| 486 | + "https://www.googleapis.com/auth/sdm.service" |
431 | 487 | ]
|
432 | 488 | }
|
433 | 489 | }
|
|
459 | 515 | "$ref": "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse"
|
460 | 516 | },
|
461 | 517 | "scopes": [
|
462 |
| - "openid" |
| 518 | + "https://www.googleapis.com/auth/sdm.service" |
463 | 519 | ]
|
464 | 520 | }
|
465 | 521 | }
|
466 | 522 | }
|
467 | 523 | }
|
468 | 524 | }
|
469 | 525 | },
|
470 |
| - "revision": "20250312", |
| 526 | + "revision": "20250415", |
471 | 527 | "rootUrl": "https://paymentsresellersubscription.googleapis.com/",
|
472 | 528 | "schemas": {
|
473 | 529 | "GoogleCloudPaymentsResellerSubscriptionV1Amount": {
|
|
1125 | 1181 | },
|
1126 | 1182 | "type": "object"
|
1127 | 1183 | },
|
| 1184 | + "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest": { |
| 1185 | + "description": "Request to resume a suspended subscription.", |
| 1186 | + "id": "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest", |
| 1187 | + "properties": {}, |
| 1188 | + "type": "object" |
| 1189 | + }, |
| 1190 | + "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse": { |
| 1191 | + "description": "Response that contains the resumed subscription.", |
| 1192 | + "id": "GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse", |
| 1193 | + "properties": { |
| 1194 | + "subscription": { |
| 1195 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription", |
| 1196 | + "description": "The resumed subscription resource." |
| 1197 | + } |
| 1198 | + }, |
| 1199 | + "type": "object" |
| 1200 | + }, |
1128 | 1201 | "GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod": {
|
1129 | 1202 | "description": "A description of what time period or moment in time the product or service is being delivered over.",
|
1130 | 1203 | "id": "GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod",
|
|
1525 | 1598 | },
|
1526 | 1599 | "type": "object"
|
1527 | 1600 | },
|
| 1601 | + "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest": { |
| 1602 | + "description": "Request to suspend a subscription.", |
| 1603 | + "id": "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest", |
| 1604 | + "properties": {}, |
| 1605 | + "type": "object" |
| 1606 | + }, |
| 1607 | + "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse": { |
| 1608 | + "description": "Response that contains the suspended subscription.", |
| 1609 | + "id": "GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse", |
| 1610 | + "properties": { |
| 1611 | + "subscription": { |
| 1612 | + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription", |
| 1613 | + "description": "The suspended subscription resource." |
| 1614 | + } |
| 1615 | + }, |
| 1616 | + "type": "object" |
| 1617 | + }, |
1528 | 1618 | "GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest": {
|
1529 | 1619 | "description": "Request to revoke a cancellation request.",
|
1530 | 1620 | "id": "GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest",
|
|
0 commit comments