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

Side by Side Diff: discovery/googleapis_beta/oslogin__v1alpha.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services"
7 },
8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services"
10 }
11 }
12 }
13 },
14 "basePath": "",
15 "baseUrl": "https://oslogin.googleapis.com/",
16 "batchPath": "batch",
17 "canonicalName": "Cloud OS Login",
18 "description": "A Google Cloud API for managing OS login configuration for D irectory API users.",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://developers.google.com/apis-explorer/#p/oslogin /v1alpha/",
21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/search-16.gif",
23 "x32": "http://www.google.com/images/icons/product/search-32.gif"
24 },
25 "id": "oslogin:v1alpha",
26 "kind": "discovery#restDescription",
27 "name": "oslogin",
28 "ownerDomain": "google.com",
29 "ownerName": "Google",
30 "parameters": {
31 "$.xgafv": {
32 "description": "V1 error format.",
33 "enum": [
34 "1",
35 "2"
36 ],
37 "enumDescriptions": [
38 "v1 error format",
39 "v2 error format"
40 ],
41 "location": "query",
42 "type": "string"
43 },
44 "callback": {
45 "description": "JSONP",
46 "location": "query",
47 "type": "string"
48 },
49 "alt": {
50 "default": "json",
51 "description": "Data format for response.",
52 "enum": [
53 "json",
54 "media",
55 "proto"
56 ],
57 "enumDescriptions": [
58 "Responses with Content-Type of application/json",
59 "Media download with context-dependent Content-Type",
60 "Responses with Content-Type of application/x-protobuf"
61 ],
62 "location": "query",
63 "type": "string"
64 },
65 "key": {
66 "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.",
67 "location": "query",
68 "type": "string"
69 },
70 "access_token": {
71 "description": "OAuth access token.",
72 "location": "query",
73 "type": "string"
74 },
75 "quotaUser": {
76 "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.",
77 "location": "query",
78 "type": "string"
79 },
80 "pp": {
81 "default": "true",
82 "description": "Pretty-print response.",
83 "location": "query",
84 "type": "boolean"
85 },
86 "oauth_token": {
87 "description": "OAuth 2.0 token for the current user.",
88 "location": "query",
89 "type": "string"
90 },
91 "bearer_token": {
92 "description": "OAuth bearer token.",
93 "location": "query",
94 "type": "string"
95 },
96 "upload_protocol": {
97 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
98 "location": "query",
99 "type": "string"
100 },
101 "prettyPrint": {
102 "default": "true",
103 "description": "Returns response with indentations and line breaks." ,
104 "location": "query",
105 "type": "boolean"
106 },
107 "fields": {
108 "description": "Selector specifying which fields to include in a par tial response.",
109 "location": "query",
110 "type": "string"
111 },
112 "uploadType": {
113 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
114 "location": "query",
115 "type": "string"
116 }
117 },
118 "protocol": "rest",
119 "resources": {
120 "users": {
121 "methods": {
122 "importSshPublicKey": {
123 "description": "Adds an SSH public key and returns the profi le information. Default POSIX\naccount information is set when no username and U ID exist as part of the\nlogin profile.",
124 "httpMethod": "POST",
125 "id": "oslogin.users.importSshPublicKey",
126 "parameterOrder": [
127 "parent"
128 ],
129 "parameters": {
130 "parent": {
131 "description": "The unique ID for the user in format `users/{user}`.",
132 "location": "path",
133 "pattern": "^users/[^/]+$",
134 "required": true,
135 "type": "string"
136 }
137 },
138 "path": "v1alpha/{+parent}:importSshPublicKey",
139 "request": {
140 "$ref": "SshPublicKey"
141 },
142 "response": {
143 "$ref": "ImportSshPublicKeyResponse"
144 },
145 "scopes": [
146 "https://www.googleapis.com/auth/cloud-platform"
147 ]
148 },
149 "getLoginProfile": {
150 "description": "Retrieves the profile information used for l ogging in to a virtual machine\non Google Compute Engine.",
151 "httpMethod": "GET",
152 "id": "oslogin.users.getLoginProfile",
153 "parameterOrder": [
154 "name"
155 ],
156 "parameters": {
157 "name": {
158 "description": "The unique ID for the user in format `users/{user}`.",
159 "location": "path",
160 "pattern": "^users/[^/]+$",
161 "required": true,
162 "type": "string"
163 }
164 },
165 "path": "v1alpha/{+name}/loginProfile",
166 "response": {
167 "$ref": "LoginProfile"
168 },
169 "scopes": [
170 "https://www.googleapis.com/auth/cloud-platform",
171 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
172 ]
173 }
174 },
175 "resources": {
176 "sshPublicKeys": {
177 "methods": {
178 "get": {
179 "description": "Retrieves an SSH public key.",
180 "httpMethod": "GET",
181 "id": "oslogin.users.sshPublicKeys.get",
182 "parameterOrder": [
183 "name"
184 ],
185 "parameters": {
186 "name": {
187 "description": "The fingerprint of the publi c key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{finger print}`.",
188 "location": "path",
189 "pattern": "^users/[^/]+/sshPublicKeys/[^/]+ $",
190 "required": true,
191 "type": "string"
192 }
193 },
194 "path": "v1alpha/{+name}",
195 "response": {
196 "$ref": "SshPublicKey"
197 },
198 "scopes": [
199 "https://www.googleapis.com/auth/cloud-platform"
200 ]
201 },
202 "patch": {
203 "description": "Updates an SSH public key and return s the profile information. This method\nsupports patch semantics.",
204 "httpMethod": "PATCH",
205 "id": "oslogin.users.sshPublicKeys.patch",
206 "parameterOrder": [
207 "name"
208 ],
209 "parameters": {
210 "updateMask": {
211 "description": "Mask to control which fields get updated. Updates all if not present.",
212 "format": "google-fieldmask",
213 "location": "query",
214 "type": "string"
215 },
216 "name": {
217 "description": "The fingerprint of the publi c key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The f ingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerpr int}`.",
218 "location": "path",
219 "pattern": "^users/[^/]+/sshPublicKeys/[^/]+ $",
220 "required": true,
221 "type": "string"
222 }
223 },
224 "path": "v1alpha/{+name}",
225 "request": {
226 "$ref": "SshPublicKey"
227 },
228 "response": {
229 "$ref": "SshPublicKey"
230 },
231 "scopes": [
232 "https://www.googleapis.com/auth/cloud-platform"
233 ]
234 },
235 "delete": {
236 "description": "Deletes an SSH public key.",
237 "httpMethod": "DELETE",
238 "id": "oslogin.users.sshPublicKeys.delete",
239 "parameterOrder": [
240 "name"
241 ],
242 "parameters": {
243 "name": {
244 "description": "The fingerprint of the publi c key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The f ingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerpr int}`.",
245 "location": "path",
246 "pattern": "^users/[^/]+/sshPublicKeys/[^/]+ $",
247 "required": true,
248 "type": "string"
249 }
250 },
251 "path": "v1alpha/{+name}",
252 "response": {
253 "$ref": "Empty"
254 },
255 "scopes": [
256 "https://www.googleapis.com/auth/cloud-platform"
257 ]
258 }
259 }
260 }
261 }
262 }
263 },
264 "revision": "20170619",
265 "rootUrl": "https://oslogin.googleapis.com/",
266 "schemas": {
267 "Empty": {
268 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
269 "id": "Empty",
270 "properties": {},
271 "type": "object"
272 },
273 "SshPublicKey": {
274 "description": "The SSH public key information associated with a Dir ectory API User.",
275 "id": "SshPublicKey",
276 "properties": {
277 "expirationTimeUsec": {
278 "description": "An expiration time in microseconds since epo ch.",
279 "format": "int64",
280 "type": "string"
281 },
282 "fingerprint": {
283 "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
284 "type": "string"
285 },
286 "key": {
287 "description": "Public key text in SSH format, defined by\n< a href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\">RFC4253</a>\ns ection 6.6.",
288 "type": "string"
289 }
290 },
291 "type": "object"
292 },
293 "ImportSshPublicKeyResponse": {
294 "description": "A response message for importing an SSH public key." ,
295 "id": "ImportSshPublicKeyResponse",
296 "properties": {
297 "loginProfile": {
298 "$ref": "LoginProfile",
299 "description": "The login profile information for the user."
300 }
301 },
302 "type": "object"
303 },
304 "PosixAccount": {
305 "description": "The POSIX account information associated with a Dire ctory API User.",
306 "id": "PosixAccount",
307 "properties": {
308 "shell": {
309 "description": "The path to the logic shell for this account .",
310 "type": "string"
311 },
312 "homeDirectory": {
313 "description": "The path to the home directory for this acco unt.",
314 "type": "string"
315 },
316 "gecos": {
317 "description": "The GECOS (user information) entry for this account.",
318 "type": "string"
319 },
320 "systemId": {
321 "description": "System identifier for which account the user name or uid applies to.\nBy default, the empty value is used.",
322 "type": "string"
323 },
324 "primary": {
325 "description": "Only one POSIX account can be marked as prim ary.",
326 "type": "boolean"
327 },
328 "gid": {
329 "description": "The default group ID.",
330 "format": "int32",
331 "type": "integer"
332 },
333 "uid": {
334 "description": "The user ID.",
335 "format": "int32",
336 "type": "integer"
337 },
338 "username": {
339 "description": "The username of the POSIX account.",
340 "type": "string"
341 }
342 },
343 "type": "object"
344 },
345 "LoginProfile": {
346 "description": "The Directory API profile information used for loggi ng in to a virtual\nmachine on Google Compute Engine.",
347 "id": "LoginProfile",
348 "properties": {
349 "suspended": {
350 "description": "Indicates if the user is suspended.",
351 "type": "boolean"
352 },
353 "sshPublicKeys": {
354 "additionalProperties": {
355 "$ref": "SshPublicKey"
356 },
357 "description": "A map from SSH public key fingerprint to the associated key object.",
358 "type": "object"
359 },
360 "name": {
361 "description": "A unique user ID for identifying the user.",
362 "type": "string"
363 },
364 "posixAccounts": {
365 "description": "The list of POSIX accounts associated with t he Directory API user.",
366 "items": {
367 "$ref": "PosixAccount"
368 },
369 "type": "array"
370 }
371 },
372 "type": "object"
373 }
374 },
375 "servicePath": "",
376 "title": "Google Cloud OS Login API",
377 "version": "v1alpha"
378 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/logging__v2beta1.json ('k') | discovery/googleapis_beta/proximitybeacon__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698