~sinzui/ubuntu/wily/juju-core/wily-1.24.7

« back to all changes in this revision

Viewing changes to src/google.golang.org/api/licensing/v1/licensing-api.json

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-09-22 15:27:01 UTC
  • mfrom: (1.1.36)
  • Revision ID: package-import@ubuntu.com-20150922152701-lzq2yhn2uaahrdqu
Tags: 1.24.6-0ubuntu1
* New upstream release (LP: #1481556).
* d/copyright updated for Juju 1.24.6 (Last verified commit changes).
* d/tests/* Run tests with upstart when Juju version before 1.23.
* Prefer gccgo-5 for ppc64el and arm64 in build-deps.

Show diffs side-by-side

added added

removed removed

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