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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: discovery/googleapis_beta/oslogin__v1alpha.json
diff --git a/discovery/googleapis_beta/oslogin__v1alpha.json b/discovery/googleapis_beta/oslogin__v1alpha.json
index b4b1aa83005245e4f662f4b6997da8a8cb20b792..6147a09d207f2ec0f59db6c8eb21e96a99c80ab6 100644
--- a/discovery/googleapis_beta/oslogin__v1alpha.json
+++ b/discovery/googleapis_beta/oslogin__v1alpha.json
@@ -28,16 +28,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "key": {
- "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.",
- "location": "query",
- "type": "string"
- },
- "access_token": {
- "description": "OAuth access token.",
- "location": "query",
- "type": "string"
- },
"quotaUser": {
"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.",
"location": "query",
@@ -113,21 +103,31 @@
],
"location": "query",
"type": "string"
+ },
+ "key": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
}
},
"protocol": "rest",
"resources": {
"users": {
"methods": {
- "getLoginProfile": {
- "description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.",
- "httpMethod": "GET",
- "id": "oslogin.users.getLoginProfile",
+ "importSshPublicKey": {
+ "description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.",
+ "httpMethod": "POST",
+ "id": "oslogin.users.importSshPublicKey",
"parameterOrder": [
- "name"
+ "parent"
],
"parameters": {
- "name": {
+ "parent": {
"description": "The unique ID for the user in format `users/{user}`.",
"location": "path",
"pattern": "^users/[^/]+$",
@@ -135,24 +135,26 @@
"type": "string"
}
},
- "path": "v1alpha/{+name}/loginProfile",
+ "path": "v1alpha/{+parent}:importSshPublicKey",
+ "request": {
+ "$ref": "SshPublicKey"
+ },
"response": {
- "$ref": "LoginProfile"
+ "$ref": "ImportSshPublicKeyResponse"
},
"scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
+ "https://www.googleapis.com/auth/cloud-platform"
]
},
- "importSshPublicKey": {
- "description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.",
- "httpMethod": "POST",
- "id": "oslogin.users.importSshPublicKey",
+ "getLoginProfile": {
+ "description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.",
+ "httpMethod": "GET",
+ "id": "oslogin.users.getLoginProfile",
"parameterOrder": [
- "parent"
+ "name"
],
"parameters": {
- "parent": {
+ "name": {
"description": "The unique ID for the user in format `users/{user}`.",
"location": "path",
"pattern": "^users/[^/]+$",
@@ -160,15 +162,13 @@
"type": "string"
}
},
- "path": "v1alpha/{+parent}:importSshPublicKey",
- "request": {
- "$ref": "SshPublicKey"
- },
+ "path": "v1alpha/{+name}/loginProfile",
"response": {
- "$ref": "ImportSshPublicKeyResponse"
+ "$ref": "LoginProfile"
},
"scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
},
@@ -207,18 +207,18 @@
"name"
],
"parameters": {
- "updateMask": {
- "description": "Mask to control which fields get updated. Updates all if not present.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- },
"name": {
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
"location": "path",
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
"required": true,
"type": "string"
+ },
+ "updateMask": {
+ "description": "Mask to control which fields get updated. Updates all if not present.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1alpha/{+name}",
@@ -261,64 +261,9 @@
}
}
},
- "revision": "20170811",
+ "revision": "20170906",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
- "LoginProfile": {
- "description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
- "id": "LoginProfile",
- "properties": {
- "suspended": {
- "description": "Indicates if the user is suspended.",
- "type": "boolean"
- },
- "sshPublicKeys": {
- "additionalProperties": {
- "$ref": "SshPublicKey"
- },
- "description": "A map from SSH public key fingerprint to the associated key object.",
- "type": "object"
- },
- "posixAccounts": {
- "description": "The list of POSIX accounts associated with the Directory API user.",
- "items": {
- "$ref": "PosixAccount"
- },
- "type": "array"
- },
- "name": {
- "description": "A unique user ID for identifying the user.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "SshPublicKey": {
- "description": "The SSH public key information associated with a Directory API User.",
- "id": "SshPublicKey",
- "properties": {
- "expirationTimeUsec": {
- "description": "An expiration time in microseconds since epoch.",
- "format": "int64",
- "type": "string"
- },
- "fingerprint": {
- "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
- "type": "string"
- },
- "key": {
- "description": "Public key text in SSH format, defined by\n<a href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\">RFC4253</a>\nsection 6.6.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Empty": {
- "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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
- "id": "Empty",
- "properties": {},
- "type": "object"
- },
"ImportSshPublicKeyResponse": {
"description": "A response message for importing an SSH public key.",
"id": "ImportSshPublicKeyResponse",
@@ -370,6 +315,61 @@
}
},
"type": "object"
+ },
+ "LoginProfile": {
+ "description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
+ "id": "LoginProfile",
+ "properties": {
+ "sshPublicKeys": {
+ "additionalProperties": {
+ "$ref": "SshPublicKey"
+ },
+ "description": "A map from SSH public key fingerprint to the associated key object.",
+ "type": "object"
+ },
+ "posixAccounts": {
+ "description": "The list of POSIX accounts associated with the Directory API user.",
+ "items": {
+ "$ref": "PosixAccount"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "A unique user ID for identifying the user.",
+ "type": "string"
+ },
+ "suspended": {
+ "description": "Indicates if the user is suspended.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "SshPublicKey": {
+ "description": "The SSH public key information associated with a Directory API User.",
+ "id": "SshPublicKey",
+ "properties": {
+ "expirationTimeUsec": {
+ "description": "An expiration time in microseconds since epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "fingerprint": {
+ "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Public key text in SSH format, defined by\n<a href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\">RFC4253</a>\nsection 6.6.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Empty": {
+ "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 it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
}
},
"servicePath": "",
« 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