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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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": {
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.",
43 "location": "query",
44 "type": "string"
45 },
46 "pp": {
47 "default": "true",
48 "description": "Pretty-print response.",
49 "location": "query",
50 "type": "boolean"
51 },
52 "oauth_token": {
53 "description": "OAuth 2.0 token for the current user.",
54 "location": "query",
55 "type": "string"
56 },
57 "bearer_token": {
58 "description": "OAuth bearer token.",
59 "location": "query",
60 "type": "string"
61 },
31 "upload_protocol": { 62 "upload_protocol": {
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
33 "location": "query", 64 "location": "query",
34 "type": "string" 65 "type": "string"
35 }, 66 },
36 "prettyPrint": { 67 "prettyPrint": {
37 "default": "true", 68 "default": "true",
38 "description": "Returns response with indentations and line breaks." , 69 "description": "Returns response with indentations and line breaks." ,
39 "location": "query", 70 "location": "query",
40 "type": "boolean" 71 "type": "boolean"
41 }, 72 },
73 "fields": {
74 "description": "Selector specifying which fields to include in a par tial response.",
75 "location": "query",
76 "type": "string"
77 },
42 "uploadType": { 78 "uploadType": {
43 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 79 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
44 "location": "query", 80 "location": "query",
45 "type": "string" 81 "type": "string"
46 }, 82 },
47 "fields": {
48 "description": "Selector specifying which fields to include in a par tial response.",
49 "location": "query",
50 "type": "string"
51 },
52 "callback": { 83 "callback": {
53 "description": "JSONP", 84 "description": "JSONP",
54 "location": "query", 85 "location": "query",
55 "type": "string" 86 "type": "string"
56 }, 87 },
57 "$.xgafv": { 88 "$.xgafv": {
58 "description": "V1 error format.", 89 "description": "V1 error format.",
59 "enum": [ 90 "enum": [
60 "1", 91 "1",
61 "2" 92 "2"
(...skipping 13 matching lines...) Expand all
75 "media", 106 "media",
76 "proto" 107 "proto"
77 ], 108 ],
78 "enumDescriptions": [ 109 "enumDescriptions": [
79 "Responses with Content-Type of application/json", 110 "Responses with Content-Type of application/json",
80 "Media download with context-dependent Content-Type", 111 "Media download with context-dependent Content-Type",
81 "Responses with Content-Type of application/x-protobuf" 112 "Responses with Content-Type of application/x-protobuf"
82 ], 113 ],
83 "location": "query", 114 "location": "query",
84 "type": "string" 115 "type": "string"
85 },
86 "access_token": {
87 "description": "OAuth access token.",
88 "location": "query",
89 "type": "string"
90 },
91 "key": {
92 "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.",
93 "location": "query",
94 "type": "string"
95 },
96 "quotaUser": {
97 "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.",
98 "location": "query",
99 "type": "string"
100 },
101 "pp": {
102 "default": "true",
103 "description": "Pretty-print response.",
104 "location": "query",
105 "type": "boolean"
106 },
107 "oauth_token": {
108 "description": "OAuth 2.0 token for the current user.",
109 "location": "query",
110 "type": "string"
111 },
112 "bearer_token": {
113 "description": "OAuth bearer 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 "importSshPublicKey": { 122 "getLoginProfile": {
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.", 123 "description": "Retrieves the profile information used for l ogging in to a virtual machine\non Google Compute Engine.",
124 "httpMethod": "POST", 124 "httpMethod": "GET",
125 "id": "oslogin.users.importSshPublicKey", 125 "id": "oslogin.users.getLoginProfile",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "parent" 127 "name"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "parent": { 130 "name": {
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/{+parent}:importSshPublicKey", 138 "path": "v1alpha/{+name}/loginProfile",
139 "request": {
140 "$ref": "SshPublicKey"
141 },
142 "response": { 139 "response": {
143 "$ref": "ImportSshPublicKeyResponse" 140 "$ref": "LoginProfile"
144 }, 141 },
145 "scopes": [ 142 "scopes": [
146 "https://www.googleapis.com/auth/cloud-platform" 143 "https://www.googleapis.com/auth/cloud-platform",
144 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
147 ] 145 ]
148 }, 146 },
149 "getLoginProfile": { 147 "importSshPublicKey": {
150 "description": "Retrieves the profile information used for l ogging in to a virtual machine\non Google Compute Engine.", 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.",
151 "httpMethod": "GET", 149 "httpMethod": "POST",
152 "id": "oslogin.users.getLoginProfile", 150 "id": "oslogin.users.importSshPublicKey",
153 "parameterOrder": [ 151 "parameterOrder": [
154 "name" 152 "parent"
155 ], 153 ],
156 "parameters": { 154 "parameters": {
157 "name": { 155 "parent": {
158 "description": "The unique ID for the user in format `users/{user}`.", 156 "description": "The unique ID for the user in format `users/{user}`.",
159 "location": "path", 157 "location": "path",
160 "pattern": "^users/[^/]+$", 158 "pattern": "^users/[^/]+$",
161 "required": true, 159 "required": true,
162 "type": "string" 160 "type": "string"
163 } 161 }
164 }, 162 },
165 "path": "v1alpha/{+name}/loginProfile", 163 "path": "v1alpha/{+parent}:importSshPublicKey",
164 "request": {
165 "$ref": "SshPublicKey"
166 },
166 "response": { 167 "response": {
167 "$ref": "LoginProfile" 168 "$ref": "ImportSshPublicKeyResponse"
168 }, 169 },
169 "scopes": [ 170 "scopes": [
170 "https://www.googleapis.com/auth/cloud-platform", 171 "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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": "20170726", 264 "revision": "20170811",
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 },
267 "ImportSshPublicKeyResponse": { 322 "ImportSshPublicKeyResponse": {
268 "description": "A response message for importing an SSH public key." , 323 "description": "A response message for importing an SSH public key." ,
269 "id": "ImportSshPublicKeyResponse", 324 "id": "ImportSshPublicKeyResponse",
270 "properties": { 325 "properties": {
271 "loginProfile": { 326 "loginProfile": {
272 "$ref": "LoginProfile", 327 "$ref": "LoginProfile",
273 "description": "The login profile information for the user." 328 "description": "The login profile information for the user."
274 } 329 }
275 }, 330 },
276 "type": "object" 331 "type": "object"
277 }, 332 },
278 "PosixAccount": { 333 "PosixAccount": {
279 "description": "The POSIX account information associated with a Dire ctory API User.", 334 "description": "The POSIX account information associated with a Dire ctory API User.",
280 "id": "PosixAccount", 335 "id": "PosixAccount",
281 "properties": { 336 "properties": {
282 "primary": { 337 "primary": {
283 "description": "Only one POSIX account can be marked as prim ary.", 338 "description": "Only one POSIX account can be marked as prim ary.",
284 "type": "boolean" 339 "type": "boolean"
285 }, 340 },
286 "gid": { 341 "gid": {
287 "description": "The default group ID.", 342 "description": "The default group ID.",
288 "format": "int32", 343 "format": "uint32",
289 "type": "integer" 344 "type": "integer"
290 }, 345 },
291 "uid": { 346 "uid": {
292 "description": "The user ID.", 347 "description": "The user ID.",
293 "format": "int32", 348 "format": "uint32",
294 "type": "integer" 349 "type": "integer"
295 }, 350 },
296 "username": { 351 "username": {
297 "description": "The username of the POSIX account.", 352 "description": "The username of the POSIX account.",
298 "type": "string" 353 "type": "string"
299 }, 354 },
300 "shell": { 355 "shell": {
301 "description": "The path to the logic shell for this account .", 356 "description": "The path to the logic shell for this account .",
302 "type": "string" 357 "type": "string"
303 }, 358 },
304 "homeDirectory": { 359 "homeDirectory": {
305 "description": "The path to the home directory for this acco unt.", 360 "description": "The path to the home directory for this acco unt.",
306 "type": "string" 361 "type": "string"
307 }, 362 },
308 "systemId": { 363 "systemId": {
309 "description": "System identifier for which account the user name or uid applies to.\nBy default, the empty value is used.", 364 "description": "System identifier for which account the user name or uid applies to.\nBy default, the empty value is used.",
310 "type": "string" 365 "type": "string"
311 }, 366 },
312 "gecos": { 367 "gecos": {
313 "description": "The GECOS (user information) entry for this account.", 368 "description": "The GECOS (user information) entry for this account.",
314 "type": "string" 369 "type": "string"
315 } 370 }
316 }, 371 },
317 "type": "object" 372 "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 "posixAccounts": {
324 "description": "The list of POSIX accounts associated with t he Directory API user.",
325 "items": {
326 "$ref": "PosixAccount"
327 },
328 "type": "array"
329 },
330 "name": {
331 "description": "A unique user ID for identifying the user.",
332 "type": "string"
333 },
334 "suspended": {
335 "description": "Indicates if the user is suspended.",
336 "type": "boolean"
337 },
338 "sshPublicKeys": {
339 "additionalProperties": {
340 "$ref": "SshPublicKey"
341 },
342 "description": "A map from SSH public key fingerprint to the associated key object.",
343 "type": "object"
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 "fingerprint": {
353 "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
354 "type": "string"
355 },
356 "key": {
357 "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.",
358 "type": "string"
359 },
360 "expirationTimeUsec": {
361 "description": "An expiration time in microseconds since epo ch.",
362 "format": "int64",
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