Index: discovery/googleapis/licensing__v1.json |
diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ace7edbc5abe12864b4d89ee6eb0223138f75e22 |
--- /dev/null |
+++ b/discovery/googleapis/licensing__v1.json |
@@ -0,0 +1,427 @@ |
+{ |
+ "basePath": "/apps/licensing/v1/product/", |
+ "baseUrl": "https://www.googleapis.com/apps/licensing/v1/product/", |
+ "batchPath": "batch", |
+ "description": "Licensing API to view and manage license for your domain.", |
+ "discoveryVersion": "v1", |
+ "documentationLink": "https://developers.google.com/google-apps/licensing/", |
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/5nv4m0pBrnwpGqw9jwk2yynQNrg\"", |
+ "icons": { |
+ "x16": "http://www.google.com/images/icons/product/search-16.gif", |
+ "x32": "http://www.google.com/images/icons/product/search-32.gif" |
+ }, |
+ "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": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "userIp": { |
+ "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", |
+ "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}" |
+ }, |
+ "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" |
+ } |
+ }, |
+ "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" |
+ } |
+ }, |
+ "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" |
+ } |
+ }, |
+ "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" |
+ } |
+ }, |
+ "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" |
+ } |
+ }, |
+ "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" |
+ } |
+ } |
+ } |
+ } |
+ }, |
+ "revision": "20140122", |
+ "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": "Name of the product.", |
+ "type": "string" |
+ }, |
+ "selfLink": { |
+ "description": "Link to this page.", |
+ "type": "string" |
+ }, |
+ "skuId": { |
+ "annotations": { |
+ "required": [ |
+ "licensing.licenseAssignments.update" |
+ ] |
+ }, |
+ "description": "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" |
+} |