OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/apps.order": { | 5 "https://www.googleapis.com/auth/apps.order": { |
6 "description": "Manage users on your domain" | 6 "description": "Manage users on your domain" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/apps.order.readonly": { | 8 "https://www.googleapis.com/auth/apps.order.readonly": { |
9 "description": "Manage users on your domain" | 9 "description": "Manage users on your domain" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/apps/reseller/v1/", | 14 "basePath": "/apps/reseller/v1/", |
15 "baseUrl": "https://www.googleapis.com/apps/reseller/v1/", | 15 "baseUrl": "https://www.googleapis.com/apps/reseller/v1/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "description": "Lets you create and manage your customers and their subscrip
tions.", | 17 "description": "Lets you create and manage your customers and their subscrip
tions.", |
18 "discoveryVersion": "v1", | 18 "discoveryVersion": "v1", |
19 "documentationLink": "https://developers.google.com/google-apps/reseller/", | 19 "documentationLink": "https://developers.google.com/google-apps/reseller/", |
20 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/zxsqVn0Yn5fs87TjHWbdqkRtKVI\"", | 20 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/30NaCo58E-23RA5z0DPpA4cSWB8\"", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "reseller:v1", | 25 "id": "reseller:v1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "labels": [ | 27 "labels": [ |
28 "limited_availability" | 28 "limited_availability" |
29 ], | 29 ], |
30 "name": "reseller", | 30 "name": "reseller", |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 "description": "Id of the Customer", | 324 "description": "Id of the Customer", |
325 "location": "path", | 325 "location": "path", |
326 "required": true, | 326 "required": true, |
327 "type": "string" | 327 "type": "string" |
328 }, | 328 }, |
329 "deletionType": { | 329 "deletionType": { |
330 "description": "Whether the subscription is to be fu
lly cancelled or downgraded", | 330 "description": "Whether the subscription is to be fu
lly cancelled or downgraded", |
331 "enum": [ | 331 "enum": [ |
332 "cancel", | 332 "cancel", |
333 "downgrade", | 333 "downgrade", |
334 "suspend" | 334 "suspend", |
| 335 "transfer_to_direct" |
335 ], | 336 ], |
336 "enumDescriptions": [ | 337 "enumDescriptions": [ |
337 "Cancels the subscription immediately", | 338 "Cancels the subscription immediately", |
338 "Downgrades a Google Apps for Business subscript
ion to Google Apps", | 339 "Downgrades a Google Apps for Business subscript
ion to Google Apps", |
339 "Suspends the subscriptions for 4 days before ca
ncelling it" | 340 "Suspends the subscriptions for 4 days before ca
ncelling it", |
| 341 "Transfers a subscription directly to Google" |
340 ], | 342 ], |
341 "location": "query", | 343 "location": "query", |
342 "required": true, | 344 "required": true, |
343 "type": "string" | 345 "type": "string" |
344 }, | 346 }, |
345 "subscriptionId": { | 347 "subscriptionId": { |
346 "description": "Id of the subscription, which is uni
que for a customer", | 348 "description": "Id of the subscription, which is uni
que for a customer", |
347 "location": "path", | 349 "location": "path", |
348 "required": true, | 350 "required": true, |
349 "type": "string" | 351 "type": "string" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 "response": { | 517 "response": { |
516 "$ref": "Subscription" | 518 "$ref": "Subscription" |
517 }, | 519 }, |
518 "scopes": [ | 520 "scopes": [ |
519 "https://www.googleapis.com/auth/apps.order" | 521 "https://www.googleapis.com/auth/apps.order" |
520 ] | 522 ] |
521 } | 523 } |
522 } | 524 } |
523 } | 525 } |
524 }, | 526 }, |
525 "revision": "20140821", | 527 "revision": "20141112", |
526 "rootUrl": "https://www.googleapis.com/", | 528 "rootUrl": "https://www.googleapis.com/", |
527 "schemas": { | 529 "schemas": { |
528 "Address": { | 530 "Address": { |
529 "description": "JSON template for address of a customer.", | 531 "description": "JSON template for address of a customer.", |
530 "id": "Address", | 532 "id": "Address", |
531 "properties": { | 533 "properties": { |
532 "addressLine1": { | 534 "addressLine1": { |
533 "description": "Address line 1 of the address.", | 535 "description": "Address line 1 of the address.", |
534 "type": "string" | 536 "type": "string" |
535 }, | 537 }, |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 "Seats": { | 654 "Seats": { |
653 "description": "JSON template for subscription seats.", | 655 "description": "JSON template for subscription seats.", |
654 "id": "Seats", | 656 "id": "Seats", |
655 "properties": { | 657 "properties": { |
656 "kind": { | 658 "kind": { |
657 "default": "subscriptions#seats", | 659 "default": "subscriptions#seats", |
658 "description": "Identifies the resource as a subscription ch
ange plan request.", | 660 "description": "Identifies the resource as a subscription ch
ange plan request.", |
659 "type": "string" | 661 "type": "string" |
660 }, | 662 }, |
661 "licensedNumberOfSeats": { | 663 "licensedNumberOfSeats": { |
662 "description": "Read only field containing the current numbe
r of licensed seats. Resellers can utilize this field to gather insights into us
age for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.
g. Google-Vault, Drive-storage).", | 664 "description": "Read-only field containing the current numbe
r of licensed seats for FLEXIBLE Google-Apps subscriptions and secondary subscri
ptions such as Google-Vault and Drive-storage.", |
663 "format": "int32", | 665 "format": "int32", |
664 "type": "integer" | 666 "type": "integer" |
665 }, | 667 }, |
666 "maximumNumberOfSeats": { | 668 "maximumNumberOfSeats": { |
667 "description": "Maximum number of seats that can be purchase
d. This needs to be provided only for a non-commitment plan. For a commitment pl
an it is decided by the contract.", | 669 "description": "Maximum number of seats that can be purchase
d. This needs to be provided only for a non-commitment plan. For a commitment pl
an it is decided by the contract.", |
668 "format": "int32", | 670 "format": "int32", |
669 "type": "integer" | 671 "type": "integer" |
670 }, | 672 }, |
671 "numberOfSeats": { | 673 "numberOfSeats": { |
672 "description": "Number of seats to purchase. This is applica
ble only for a commitment plan.", | 674 "description": "Number of seats to purchase. This is applica
ble only for a commitment plan.", |
673 "format": "int32", | 675 "format": "int32", |
674 "type": "integer" | 676 "type": "integer" |
675 } | 677 } |
676 }, | 678 }, |
677 "type": "object" | 679 "type": "object" |
678 }, | 680 }, |
679 "Subscription": { | 681 "Subscription": { |
680 "description": "JSON template for a subscription.", | 682 "description": "JSON template for a subscription.", |
681 "id": "Subscription", | 683 "id": "Subscription", |
682 "properties": { | 684 "properties": { |
| 685 "billingMethod": { |
| 686 "description": "Billing method of this subscription.", |
| 687 "type": "string" |
| 688 }, |
683 "creationTime": { | 689 "creationTime": { |
684 "description": "Creation time of this subscription in millis
econds since Unix epoch.", | 690 "description": "Creation time of this subscription in millis
econds since Unix epoch.", |
685 "format": "int64", | 691 "format": "int64", |
686 "type": "string" | 692 "type": "string" |
687 }, | 693 }, |
688 "customerId": { | 694 "customerId": { |
689 "description": "The id of the customer to whom the subscript
ion belongs.", | 695 "description": "The id of the customer to whom the subscript
ion belongs.", |
690 "type": "string" | 696 "type": "string" |
691 }, | 697 }, |
692 "kind": { | 698 "kind": { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 "type": "array" | 812 "type": "array" |
807 } | 813 } |
808 }, | 814 }, |
809 "type": "object" | 815 "type": "object" |
810 } | 816 } |
811 }, | 817 }, |
812 "servicePath": "apps/reseller/v1/", | 818 "servicePath": "apps/reseller/v1/", |
813 "title": "Enterprise Apps Reseller API", | 819 "title": "Enterprise Apps Reseller API", |
814 "version": "v1" | 820 "version": "v1" |
815 } | 821 } |
OLD | NEW |