Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: discovery/googleapis/licensing__v1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "basePath": "/apps/licensing/v1/product/",
3 "baseUrl": "https://www.googleapis.com/apps/licensing/v1/product/",
4 "batchPath": "batch",
5 "description": "Licensing API to view and manage license for your domain.",
6 "discoveryVersion": "v1",
7 "documentationLink": "https://developers.google.com/google-apps/licensing/",
8 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/5nv4m0pBrnwpGqw9jwk2yynQNrg\"",
9 "icons": {
10 "x16": "http://www.google.com/images/icons/product/search-16.gif",
11 "x32": "http://www.google.com/images/icons/product/search-32.gif"
12 },
13 "id": "licensing:v1",
14 "kind": "discovery#restDescription",
15 "name": "licensing",
16 "ownerDomain": "google.com",
17 "ownerName": "Google",
18 "parameters": {
19 "alt": {
20 "default": "json",
21 "description": "Data format for the response.",
22 "enum": [
23 "json"
24 ],
25 "enumDescriptions": [
26 "Responses with Content-Type of application/json"
27 ],
28 "location": "query",
29 "type": "string"
30 },
31 "fields": {
32 "description": "Selector specifying which fields to include in a par tial response.",
33 "location": "query",
34 "type": "string"
35 },
36 "key": {
37 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
38 "location": "query",
39 "type": "string"
40 },
41 "oauth_token": {
42 "description": "OAuth 2.0 token for the current user.",
43 "location": "query",
44 "type": "string"
45 },
46 "prettyPrint": {
47 "default": "true",
48 "description": "Returns response with indentations and line breaks." ,
49 "location": "query",
50 "type": "boolean"
51 },
52 "quotaUser": {
53 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
54 "location": "query",
55 "type": "string"
56 },
57 "userIp": {
58 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
59 "location": "query",
60 "type": "string"
61 }
62 },
63 "protocol": "rest",
64 "resources": {
65 "licenseAssignments": {
66 "methods": {
67 "delete": {
68 "description": "Revoke License.",
69 "httpMethod": "DELETE",
70 "id": "licensing.licenseAssignments.delete",
71 "parameterOrder": [
72 "productId",
73 "skuId",
74 "userId"
75 ],
76 "parameters": {
77 "productId": {
78 "description": "Name for product",
79 "location": "path",
80 "required": true,
81 "type": "string"
82 },
83 "skuId": {
84 "description": "Name for sku",
85 "location": "path",
86 "required": true,
87 "type": "string"
88 },
89 "userId": {
90 "description": "email id or unique Id of the user",
91 "location": "path",
92 "required": true,
93 "type": "string"
94 }
95 },
96 "path": "{productId}/sku/{skuId}/user/{userId}"
97 },
98 "get": {
99 "description": "Get license assignment of a particular produ ct and sku for a user",
100 "httpMethod": "GET",
101 "id": "licensing.licenseAssignments.get",
102 "parameterOrder": [
103 "productId",
104 "skuId",
105 "userId"
106 ],
107 "parameters": {
108 "productId": {
109 "description": "Name for product",
110 "location": "path",
111 "required": true,
112 "type": "string"
113 },
114 "skuId": {
115 "description": "Name for sku",
116 "location": "path",
117 "required": true,
118 "type": "string"
119 },
120 "userId": {
121 "description": "email id or unique Id of the user",
122 "location": "path",
123 "required": true,
124 "type": "string"
125 }
126 },
127 "path": "{productId}/sku/{skuId}/user/{userId}",
128 "response": {
129 "$ref": "LicenseAssignment"
130 }
131 },
132 "insert": {
133 "description": "Assign License.",
134 "httpMethod": "POST",
135 "id": "licensing.licenseAssignments.insert",
136 "parameterOrder": [
137 "productId",
138 "skuId"
139 ],
140 "parameters": {
141 "productId": {
142 "description": "Name for product",
143 "location": "path",
144 "required": true,
145 "type": "string"
146 },
147 "skuId": {
148 "description": "Name for sku",
149 "location": "path",
150 "required": true,
151 "type": "string"
152 }
153 },
154 "path": "{productId}/sku/{skuId}/user",
155 "request": {
156 "$ref": "LicenseAssignmentInsert"
157 },
158 "response": {
159 "$ref": "LicenseAssignment"
160 }
161 },
162 "listForProduct": {
163 "description": "List license assignments for given product o f the customer.",
164 "httpMethod": "GET",
165 "id": "licensing.licenseAssignments.listForProduct",
166 "parameterOrder": [
167 "productId",
168 "customerId"
169 ],
170 "parameters": {
171 "customerId": {
172 "description": "CustomerId represents the customer f or whom licenseassignments are queried",
173 "location": "query",
174 "required": true,
175 "type": "string"
176 },
177 "maxResults": {
178 "default": "100",
179 "description": "Maximum number of campaigns to retur n at one time. Must be positive. Optional. Default value is 100.",
180 "format": "uint32",
181 "location": "query",
182 "maximum": "1000",
183 "minimum": "1",
184 "type": "integer"
185 },
186 "pageToken": {
187 "default": "",
188 "description": "Token to fetch the next page.Optiona l. By default server will return first page",
189 "location": "query",
190 "type": "string"
191 },
192 "productId": {
193 "description": "Name for product",
194 "location": "path",
195 "required": true,
196 "type": "string"
197 }
198 },
199 "path": "{productId}/users",
200 "response": {
201 "$ref": "LicenseAssignmentList"
202 }
203 },
204 "listForProductAndSku": {
205 "description": "List license assignments for given product a nd sku of the customer.",
206 "httpMethod": "GET",
207 "id": "licensing.licenseAssignments.listForProductAndSku",
208 "parameterOrder": [
209 "productId",
210 "skuId",
211 "customerId"
212 ],
213 "parameters": {
214 "customerId": {
215 "description": "CustomerId represents the customer f or whom licenseassignments are queried",
216 "location": "query",
217 "required": true,
218 "type": "string"
219 },
220 "maxResults": {
221 "default": "100",
222 "description": "Maximum number of campaigns to retur n at one time. Must be positive. Optional. Default value is 100.",
223 "format": "uint32",
224 "location": "query",
225 "maximum": "1000",
226 "minimum": "1",
227 "type": "integer"
228 },
229 "pageToken": {
230 "default": "",
231 "description": "Token to fetch the next page.Optiona l. By default server will return first page",
232 "location": "query",
233 "type": "string"
234 },
235 "productId": {
236 "description": "Name for product",
237 "location": "path",
238 "required": true,
239 "type": "string"
240 },
241 "skuId": {
242 "description": "Name for sku",
243 "location": "path",
244 "required": true,
245 "type": "string"
246 }
247 },
248 "path": "{productId}/sku/{skuId}/users",
249 "response": {
250 "$ref": "LicenseAssignmentList"
251 }
252 },
253 "patch": {
254 "description": "Assign License. This method supports patch s emantics.",
255 "httpMethod": "PATCH",
256 "id": "licensing.licenseAssignments.patch",
257 "parameterOrder": [
258 "productId",
259 "skuId",
260 "userId"
261 ],
262 "parameters": {
263 "productId": {
264 "description": "Name for product",
265 "location": "path",
266 "required": true,
267 "type": "string"
268 },
269 "skuId": {
270 "description": "Name for sku for which license would be revoked",
271 "location": "path",
272 "required": true,
273 "type": "string"
274 },
275 "userId": {
276 "description": "email id or unique Id of the user",
277 "location": "path",
278 "required": true,
279 "type": "string"
280 }
281 },
282 "path": "{productId}/sku/{skuId}/user/{userId}",
283 "request": {
284 "$ref": "LicenseAssignment"
285 },
286 "response": {
287 "$ref": "LicenseAssignment"
288 }
289 },
290 "update": {
291 "description": "Assign License.",
292 "httpMethod": "PUT",
293 "id": "licensing.licenseAssignments.update",
294 "parameterOrder": [
295 "productId",
296 "skuId",
297 "userId"
298 ],
299 "parameters": {
300 "productId": {
301 "description": "Name for product",
302 "location": "path",
303 "required": true,
304 "type": "string"
305 },
306 "skuId": {
307 "description": "Name for sku for which license would be revoked",
308 "location": "path",
309 "required": true,
310 "type": "string"
311 },
312 "userId": {
313 "description": "email id or unique Id of the user",
314 "location": "path",
315 "required": true,
316 "type": "string"
317 }
318 },
319 "path": "{productId}/sku/{skuId}/user/{userId}",
320 "request": {
321 "$ref": "LicenseAssignment"
322 },
323 "response": {
324 "$ref": "LicenseAssignment"
325 }
326 }
327 }
328 }
329 },
330 "revision": "20140122",
331 "rootUrl": "https://www.googleapis.com/",
332 "schemas": {
333 "LicenseAssignment": {
334 "description": "Template for LiscenseAssignment Resource",
335 "id": "LicenseAssignment",
336 "properties": {
337 "etags": {
338 "description": "ETag of the resource.",
339 "type": "string"
340 },
341 "kind": {
342 "default": "licensing#licenseAssignment",
343 "description": "Identifies the resource as a LicenseAssignme nt.",
344 "type": "string"
345 },
346 "productId": {
347 "annotations": {
348 "required": [
349 "licensing.licenseAssignments.update"
350 ]
351 },
352 "description": "Name of the product.",
353 "type": "string"
354 },
355 "selfLink": {
356 "description": "Link to this page.",
357 "type": "string"
358 },
359 "skuId": {
360 "annotations": {
361 "required": [
362 "licensing.licenseAssignments.update"
363 ]
364 },
365 "description": "Name of the sku of the product.",
366 "type": "string"
367 },
368 "userId": {
369 "annotations": {
370 "required": [
371 "licensing.licenseAssignments.update"
372 ]
373 },
374 "description": "Email id of the user.",
375 "type": "string"
376 }
377 },
378 "type": "object"
379 },
380 "LicenseAssignmentInsert": {
381 "description": "Template for LicenseAssignment Insert request",
382 "id": "LicenseAssignmentInsert",
383 "properties": {
384 "userId": {
385 "annotations": {
386 "required": [
387 "licensing.licenseAssignments.insert"
388 ]
389 },
390 "description": "Email id of the user",
391 "type": "string"
392 }
393 },
394 "type": "object"
395 },
396 "LicenseAssignmentList": {
397 "description": "LicesnseAssignment List for a given product/sku for a customer.",
398 "id": "LicenseAssignmentList",
399 "properties": {
400 "etag": {
401 "description": "ETag of the resource.",
402 "type": "string"
403 },
404 "items": {
405 "description": "The LicenseAssignments in this page of resul ts.",
406 "items": {
407 "$ref": "LicenseAssignment"
408 },
409 "type": "array"
410 },
411 "kind": {
412 "default": "licensing#licenseAssignmentList",
413 "description": "Identifies the resource as a collection of L icenseAssignments.",
414 "type": "string"
415 },
416 "nextPageToken": {
417 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
418 "type": "string"
419 }
420 },
421 "type": "object"
422 }
423 },
424 "servicePath": "apps/licensing/v1/product/",
425 "title": "Enterprise License Manager API",
426 "version": "v1"
427 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698