|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- {
- "auth": {
- "oauth2": {
- "scopes": {
- "https://www.googleapis.com/auth/apps.licensing": {
- "description": "View and manage G Suite licenses for your domain"
- }
- }
- }
- },
- "basePath": "/apps/licensing/v1/product/",
- "baseUrl": "https://www.googleapis.com/apps/licensing/v1/product/",
- "batchPath": "batch/licensing/v1",
- "description": "Views and manages licenses for your domain.",
- "discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/google-apps/licensing/",
- "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/tIOs6izg-EVHX4TTrroawBuzhAM\"",
- "icons": {
- "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
- "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
- },
- "id": "licensing:v1",
- "kind": "discovery#restDescription",
- "name": "licensing",
- "ownerDomain": "google.com",
- "ownerName": "Google",
- "parameters": {
- "alt": {
- "default": "json",
- "description": "Data format for the response.",
- "enum": [
- "json"
- ],
- "enumDescriptions": [
- "Responses with Content-Type of application/json"
- ],
- "location": "query",
- "type": "string"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
- "location": "query",
- "type": "string"
- },
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "quotaUser": {
- "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
- "location": "query",
- "type": "string"
- },
- "userIp": {
- "description": "Deprecated. Please use quotaUser instead.",
- "location": "query",
- "type": "string"
- }
- },
- "protocol": "rest",
- "resources": {
- "licenseAssignments": {
- "methods": {
- "delete": {
- "description": "Revoke License.",
- "httpMethod": "DELETE",
- "id": "licensing.licenseAssignments.delete",
- "parameterOrder": [
- "productId",
- "skuId",
- "userId"
- ],
- "parameters": {
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "email id or unique Id of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/user/{userId}",
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "get": {
- "description": "Get license assignment of a particular product and sku for a user",
- "httpMethod": "GET",
- "id": "licensing.licenseAssignments.get",
- "parameterOrder": [
- "productId",
- "skuId",
- "userId"
- ],
- "parameters": {
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "email id or unique Id of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/user/{userId}",
- "response": {
- "$ref": "LicenseAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "insert": {
- "description": "Assign License.",
- "httpMethod": "POST",
- "id": "licensing.licenseAssignments.insert",
- "parameterOrder": [
- "productId",
- "skuId"
- ],
- "parameters": {
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/user",
- "request": {
- "$ref": "LicenseAssignmentInsert"
- },
- "response": {
- "$ref": "LicenseAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "listForProduct": {
- "description": "List license assignments for given product of the customer.",
- "httpMethod": "GET",
- "id": "licensing.licenseAssignments.listForProduct",
- "parameterOrder": [
- "productId",
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "CustomerId represents the customer for whom licenseassignments are queried",
- "location": "query",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.",
- "format": "uint32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "default": "",
- "description": "Token to fetch the next page.Optional. By default server will return first page",
- "location": "query",
- "type": "string"
- },
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/users",
- "response": {
- "$ref": "LicenseAssignmentList"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "listForProductAndSku": {
- "description": "List license assignments for given product and sku of the customer.",
- "httpMethod": "GET",
- "id": "licensing.licenseAssignments.listForProductAndSku",
- "parameterOrder": [
- "productId",
- "skuId",
- "customerId"
- ],
- "parameters": {
- "customerId": {
- "description": "CustomerId represents the customer for whom licenseassignments are queried",
- "location": "query",
- "required": true,
- "type": "string"
- },
- "maxResults": {
- "default": "100",
- "description": "Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.",
- "format": "uint32",
- "location": "query",
- "maximum": "1000",
- "minimum": "1",
- "type": "integer"
- },
- "pageToken": {
- "default": "",
- "description": "Token to fetch the next page.Optional. By default server will return first page",
- "location": "query",
- "type": "string"
- },
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/users",
- "response": {
- "$ref": "LicenseAssignmentList"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "patch": {
- "description": "Assign License. This method supports patch semantics.",
- "httpMethod": "PATCH",
- "id": "licensing.licenseAssignments.patch",
- "parameterOrder": [
- "productId",
- "skuId",
- "userId"
- ],
- "parameters": {
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku for which license would be revoked",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "email id or unique Id of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/user/{userId}",
- "request": {
- "$ref": "LicenseAssignment"
- },
- "response": {
- "$ref": "LicenseAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- },
- "update": {
- "description": "Assign License.",
- "httpMethod": "PUT",
- "id": "licensing.licenseAssignments.update",
- "parameterOrder": [
- "productId",
- "skuId",
- "userId"
- ],
- "parameters": {
- "productId": {
- "description": "Name for product",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "skuId": {
- "description": "Name for sku for which license would be revoked",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "userId": {
- "description": "email id or unique Id of the user",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "{productId}/sku/{skuId}/user/{userId}",
- "request": {
- "$ref": "LicenseAssignment"
- },
- "response": {
- "$ref": "LicenseAssignment"
- },
- "scopes": [
- "https://www.googleapis.com/auth/apps.licensing"
- ]
- }
- }
- }
- },
- "revision": "20170213",
- "rootUrl": "https://www.googleapis.com/",
- "schemas": {
- "LicenseAssignment": {
- "description": "Template for LiscenseAssignment Resource",
- "id": "LicenseAssignment",
- "properties": {
- "etags": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "kind": {
- "default": "licensing#licenseAssignment",
- "description": "Identifies the resource as a LicenseAssignment.",
- "type": "string"
- },
- "productId": {
- "annotations": {
- "required": [
- "licensing.licenseAssignments.update"
- ]
- },
- "description": "Id of the product.",
- "type": "string"
- },
- "productName": {
- "description": "Display Name of the product.",
- "type": "string"
- },
- "selfLink": {
- "description": "Link to this page.",
- "type": "string"
- },
- "skuId": {
- "annotations": {
- "required": [
- "licensing.licenseAssignments.update"
- ]
- },
- "description": "Id of the sku of the product.",
- "type": "string"
- },
- "skuName": {
- "description": "Display Name of the sku of the product.",
- "type": "string"
- },
- "userId": {
- "annotations": {
- "required": [
- "licensing.licenseAssignments.update"
- ]
- },
- "description": "Email id of the user.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LicenseAssignmentInsert": {
- "description": "Template for LicenseAssignment Insert request",
- "id": "LicenseAssignmentInsert",
- "properties": {
- "userId": {
- "annotations": {
- "required": [
- "licensing.licenseAssignments.insert"
- ]
- },
- "description": "Email id of the user",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LicenseAssignmentList": {
- "description": "LicesnseAssignment List for a given product/sku for a customer.",
- "id": "LicenseAssignmentList",
- "properties": {
- "etag": {
- "description": "ETag of the resource.",
- "type": "string"
- },
- "items": {
- "description": "The LicenseAssignments in this page of results.",
- "items": {
- "$ref": "LicenseAssignment"
- },
- "type": "array"
- },
- "kind": {
- "default": "licensing#licenseAssignmentList",
- "description": "Identifies the resource as a collection of LicenseAssignments.",
- "type": "string"
- },
- "nextPageToken": {
- "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
- "type": "string"
- }
- },
- "type": "object"
- }
- },
- "servicePath": "apps/licensing/v1/product/",
- "title": "Enterprise License Manager API",
- "version": "v1"
- }
|