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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 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
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 "icons": { 21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", 22 "x16": "http://www.google.com/images/icons/product/search-16.gif",
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" 23 "x32": "http://www.google.com/images/icons/product/search-32.gif"
24 }, 24 },
25 "id": "oslogin:v1alpha", 25 "id": "oslogin:v1alpha",
26 "kind": "discovery#restDescription", 26 "kind": "discovery#restDescription",
27 "name": "oslogin", 27 "name": "oslogin",
28 "ownerDomain": "google.com", 28 "ownerDomain": "google.com",
29 "ownerName": "Google", 29 "ownerName": "Google",
30 "parameters": { 30 "parameters": {
31 "key": {
32 "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.",
33 "location": "query",
34 "type": "string"
35 },
36 "access_token": {
37 "description": "OAuth access token.",
38 "location": "query",
39 "type": "string"
40 },
41 "quotaUser": { 31 "quotaUser": {
42 "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.", 32 "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.",
43 "location": "query", 33 "location": "query",
44 "type": "string" 34 "type": "string"
45 }, 35 },
46 "pp": { 36 "pp": {
47 "default": "true", 37 "default": "true",
48 "description": "Pretty-print response.", 38 "description": "Pretty-print response.",
49 "location": "query", 39 "location": "query",
50 "type": "boolean" 40 "type": "boolean"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "media", 96 "media",
107 "proto" 97 "proto"
108 ], 98 ],
109 "enumDescriptions": [ 99 "enumDescriptions": [
110 "Responses with Content-Type of application/json", 100 "Responses with Content-Type of application/json",
111 "Media download with context-dependent Content-Type", 101 "Media download with context-dependent Content-Type",
112 "Responses with Content-Type of application/x-protobuf" 102 "Responses with Content-Type of application/x-protobuf"
113 ], 103 ],
114 "location": "query", 104 "location": "query",
115 "type": "string" 105 "type": "string"
106 },
107 "key": {
108 "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.",
109 "location": "query",
110 "type": "string"
111 },
112 "access_token": {
113 "description": "OAuth access token.",
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "users": { 120 "users": {
121 "methods": { 121 "methods": {
122 "getLoginProfile": { 122 "importSshPublicKey": {
123 "description": "Retrieves the profile information used for l ogging in to a virtual machine\non Google Compute Engine.", 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": "GET", 124 "httpMethod": "POST",
125 "id": "oslogin.users.getLoginProfile", 125 "id": "oslogin.users.importSshPublicKey",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "name" 127 "parent"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "name": { 130 "parent": {
131 "description": "The unique ID for the user in format `users/{user}`.", 131 "description": "The unique ID for the user in format `users/{user}`.",
132 "location": "path", 132 "location": "path",
133 "pattern": "^users/[^/]+$", 133 "pattern": "^users/[^/]+$",
134 "required": true, 134 "required": true,
135 "type": "string" 135 "type": "string"
136 } 136 }
137 }, 137 },
138 "path": "v1alpha/{+name}/loginProfile", 138 "path": "v1alpha/{+parent}:importSshPublicKey",
139 "request": {
140 "$ref": "SshPublicKey"
141 },
139 "response": { 142 "response": {
140 "$ref": "LoginProfile" 143 "$ref": "ImportSshPublicKeyResponse"
141 }, 144 },
142 "scopes": [ 145 "scopes": [
143 "https://www.googleapis.com/auth/cloud-platform", 146 "https://www.googleapis.com/auth/cloud-platform"
144 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
145 ] 147 ]
146 }, 148 },
147 "importSshPublicKey": { 149 "getLoginProfile": {
148 "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.", 150 "description": "Retrieves the profile information used for l ogging in to a virtual machine\non Google Compute Engine.",
149 "httpMethod": "POST", 151 "httpMethod": "GET",
150 "id": "oslogin.users.importSshPublicKey", 152 "id": "oslogin.users.getLoginProfile",
151 "parameterOrder": [ 153 "parameterOrder": [
152 "parent" 154 "name"
153 ], 155 ],
154 "parameters": { 156 "parameters": {
155 "parent": { 157 "name": {
156 "description": "The unique ID for the user in format `users/{user}`.", 158 "description": "The unique ID for the user in format `users/{user}`.",
157 "location": "path", 159 "location": "path",
158 "pattern": "^users/[^/]+$", 160 "pattern": "^users/[^/]+$",
159 "required": true, 161 "required": true,
160 "type": "string" 162 "type": "string"
161 } 163 }
162 }, 164 },
163 "path": "v1alpha/{+parent}:importSshPublicKey", 165 "path": "v1alpha/{+name}/loginProfile",
164 "request": {
165 "$ref": "SshPublicKey"
166 },
167 "response": { 166 "response": {
168 "$ref": "ImportSshPublicKeyResponse" 167 "$ref": "LoginProfile"
169 }, 168 },
170 "scopes": [ 169 "scopes": [
171 "https://www.googleapis.com/auth/cloud-platform" 170 "https://www.googleapis.com/auth/cloud-platform",
171 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
172 ] 172 ]
173 } 173 }
174 }, 174 },
175 "resources": { 175 "resources": {
176 "sshPublicKeys": { 176 "sshPublicKeys": {
177 "methods": { 177 "methods": {
178 "delete": { 178 "delete": {
179 "description": "Deletes an SSH public key.", 179 "description": "Deletes an SSH public key.",
180 "httpMethod": "DELETE", 180 "httpMethod": "DELETE",
181 "id": "oslogin.users.sshPublicKeys.delete", 181 "id": "oslogin.users.sshPublicKeys.delete",
(...skipping 18 matching lines...) Expand all
200 ] 200 ]
201 }, 201 },
202 "patch": { 202 "patch": {
203 "description": "Updates an SSH public key and return s the profile information. This method\nsupports patch semantics.", 203 "description": "Updates an SSH public key and return s the profile information. This method\nsupports patch semantics.",
204 "httpMethod": "PATCH", 204 "httpMethod": "PATCH",
205 "id": "oslogin.users.sshPublicKeys.patch", 205 "id": "oslogin.users.sshPublicKeys.patch",
206 "parameterOrder": [ 206 "parameterOrder": [
207 "name" 207 "name"
208 ], 208 ],
209 "parameters": { 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": { 210 "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}`.", 211 "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", 212 "location": "path",
219 "pattern": "^users/[^/]+/sshPublicKeys/[^/]+ $", 213 "pattern": "^users/[^/]+/sshPublicKeys/[^/]+ $",
220 "required": true, 214 "required": true,
221 "type": "string" 215 "type": "string"
216 },
217 "updateMask": {
218 "description": "Mask to control which fields get updated. Updates all if not present.",
219 "format": "google-fieldmask",
220 "location": "query",
221 "type": "string"
222 } 222 }
223 }, 223 },
224 "path": "v1alpha/{+name}", 224 "path": "v1alpha/{+name}",
225 "request": { 225 "request": {
226 "$ref": "SshPublicKey" 226 "$ref": "SshPublicKey"
227 }, 227 },
228 "response": { 228 "response": {
229 "$ref": "SshPublicKey" 229 "$ref": "SshPublicKey"
230 }, 230 },
231 "scopes": [ 231 "scopes": [
(...skipping 22 matching lines...) Expand all
254 }, 254 },
255 "scopes": [ 255 "scopes": [
256 "https://www.googleapis.com/auth/cloud-platform" 256 "https://www.googleapis.com/auth/cloud-platform"
257 ] 257 ]
258 } 258 }
259 } 259 }
260 } 260 }
261 } 261 }
262 } 262 }
263 }, 263 },
264 "revision": "20170811", 264 "revision": "20170906",
265 "rootUrl": "https://oslogin.googleapis.com/", 265 "rootUrl": "https://oslogin.googleapis.com/",
266 "schemas": { 266 "schemas": {
267 "LoginProfile": {
268 "description": "The Directory API profile information used for loggi ng in to a virtual\nmachine on Google Compute Engine.",
269 "id": "LoginProfile",
270 "properties": {
271 "suspended": {
272 "description": "Indicates if the user is suspended.",
273 "type": "boolean"
274 },
275 "sshPublicKeys": {
276 "additionalProperties": {
277 "$ref": "SshPublicKey"
278 },
279 "description": "A map from SSH public key fingerprint to the associated key object.",
280 "type": "object"
281 },
282 "posixAccounts": {
283 "description": "The list of POSIX accounts associated with t he Directory API user.",
284 "items": {
285 "$ref": "PosixAccount"
286 },
287 "type": "array"
288 },
289 "name": {
290 "description": "A unique user ID for identifying the user.",
291 "type": "string"
292 }
293 },
294 "type": "object"
295 },
296 "SshPublicKey": {
297 "description": "The SSH public key information associated with a Dir ectory API User.",
298 "id": "SshPublicKey",
299 "properties": {
300 "expirationTimeUsec": {
301 "description": "An expiration time in microseconds since epo ch.",
302 "format": "int64",
303 "type": "string"
304 },
305 "fingerprint": {
306 "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
307 "type": "string"
308 },
309 "key": {
310 "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.",
311 "type": "string"
312 }
313 },
314 "type": "object"
315 },
316 "Empty": {
317 "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 `{}`.",
318 "id": "Empty",
319 "properties": {},
320 "type": "object"
321 },
322 "ImportSshPublicKeyResponse": { 267 "ImportSshPublicKeyResponse": {
323 "description": "A response message for importing an SSH public key." , 268 "description": "A response message for importing an SSH public key." ,
324 "id": "ImportSshPublicKeyResponse", 269 "id": "ImportSshPublicKeyResponse",
325 "properties": { 270 "properties": {
326 "loginProfile": { 271 "loginProfile": {
327 "$ref": "LoginProfile", 272 "$ref": "LoginProfile",
328 "description": "The login profile information for the user." 273 "description": "The login profile information for the user."
329 } 274 }
330 }, 275 },
331 "type": "object" 276 "type": "object"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 "systemId": { 308 "systemId": {
364 "description": "System identifier for which account the user name or uid applies to.\nBy default, the empty value is used.", 309 "description": "System identifier for which account the user name or uid applies to.\nBy default, the empty value is used.",
365 "type": "string" 310 "type": "string"
366 }, 311 },
367 "gecos": { 312 "gecos": {
368 "description": "The GECOS (user information) entry for this account.", 313 "description": "The GECOS (user information) entry for this account.",
369 "type": "string" 314 "type": "string"
370 } 315 }
371 }, 316 },
372 "type": "object" 317 "type": "object"
318 },
319 "LoginProfile": {
320 "description": "The Directory API profile information used for loggi ng in to a virtual\nmachine on Google Compute Engine.",
321 "id": "LoginProfile",
322 "properties": {
323 "sshPublicKeys": {
324 "additionalProperties": {
325 "$ref": "SshPublicKey"
326 },
327 "description": "A map from SSH public key fingerprint to the associated key object.",
328 "type": "object"
329 },
330 "posixAccounts": {
331 "description": "The list of POSIX accounts associated with t he Directory API user.",
332 "items": {
333 "$ref": "PosixAccount"
334 },
335 "type": "array"
336 },
337 "name": {
338 "description": "A unique user ID for identifying the user.",
339 "type": "string"
340 },
341 "suspended": {
342 "description": "Indicates if the user is suspended.",
343 "type": "boolean"
344 }
345 },
346 "type": "object"
347 },
348 "SshPublicKey": {
349 "description": "The SSH public key information associated with a Dir ectory API User.",
350 "id": "SshPublicKey",
351 "properties": {
352 "expirationTimeUsec": {
353 "description": "An expiration time in microseconds since epo ch.",
354 "format": "int64",
355 "type": "string"
356 },
357 "fingerprint": {
358 "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
359 "type": "string"
360 },
361 "key": {
362 "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.",
363 "type": "string"
364 }
365 },
366 "type": "object"
367 },
368 "Empty": {
369 "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 `{}`.",
370 "id": "Empty",
371 "properties": {},
372 "type": "object"
373 } 373 }
374 }, 374 },
375 "servicePath": "", 375 "servicePath": "",
376 "title": "Google Cloud OS Login API", 376 "title": "Google Cloud OS Login API",
377 "version": "v1alpha" 377 "version": "v1alpha"
378 } 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