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

Unified Diff: discovery/googleapis_beta/oslogin__v1alpha.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (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 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 abfed7898ddfbc19c7a44dfc768449bfa1a86cab..29863fe3d70a0f3362f96eca7620d804b56e6034 100644
--- a/discovery/googleapis_beta/oslogin__v1alpha.json
+++ b/discovery/googleapis_beta/oslogin__v1alpha.json
@@ -15,9 +15,9 @@
"baseUrl": "https://oslogin.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Cloud OS Login",
- "description": "A Google Cloud API for managing OS login configuration for Directory API users.",
+ "description": "Manages OS login configuration for Directory API users.",
"discoveryVersion": "v1",
- "documentationLink": "https://developers.google.com/apis-explorer/#p/oslogin/v1alpha/",
+ "documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -28,6 +28,32 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -41,11 +67,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -62,13 +83,13 @@
"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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
@@ -92,27 +113,6 @@
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
- },
- "upload_protocol": {
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
- "location": "query",
- "type": "boolean"
- },
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
@@ -175,16 +175,16 @@
"resources": {
"sshPublicKeys": {
"methods": {
- "get": {
- "description": "Retrieves an SSH public key.",
- "httpMethod": "GET",
- "id": "oslogin.users.sshPublicKeys.get",
+ "delete": {
+ "description": "Deletes an SSH public key.",
+ "httpMethod": "DELETE",
+ "id": "oslogin.users.sshPublicKeys.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
- "description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
+ "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,
@@ -193,7 +193,7 @@
},
"path": "v1alpha/{+name}",
"response": {
- "$ref": "SshPublicKey"
+ "$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -232,16 +232,16 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "delete": {
- "description": "Deletes an SSH public key.",
- "httpMethod": "DELETE",
- "id": "oslogin.users.sshPublicKeys.delete",
+ "get": {
+ "description": "Retrieves an SSH public key.",
+ "httpMethod": "GET",
+ "id": "oslogin.users.sshPublicKeys.get",
"parameterOrder": [
"name"
],
"parameters": {
"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}`.",
+ "description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
"location": "path",
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
"required": true,
@@ -250,7 +250,7 @@
},
"path": "v1alpha/{+name}",
"response": {
- "$ref": "Empty"
+ "$ref": "SshPublicKey"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -261,35 +261,9 @@
}
}
},
- "revision": "20170619",
+ "revision": "20170726",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
- "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"
- },
- "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"
- },
"ImportSshPublicKeyResponse": {
"description": "A response message for importing an SSH public key.",
"id": "ImportSshPublicKeyResponse",
@@ -305,22 +279,6 @@
"description": "The POSIX account information associated with a Directory API User.",
"id": "PosixAccount",
"properties": {
- "shell": {
- "description": "The path to the logic shell for this account.",
- "type": "string"
- },
- "homeDirectory": {
- "description": "The path to the home directory for this account.",
- "type": "string"
- },
- "gecos": {
- "description": "The GECOS (user information) entry for this account.",
- "type": "string"
- },
- "systemId": {
- "description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
- "type": "string"
- },
"primary": {
"description": "Only one POSIX account can be marked as primary.",
"type": "boolean"
@@ -338,6 +296,22 @@
"username": {
"description": "The username of the POSIX account.",
"type": "string"
+ },
+ "shell": {
+ "description": "The path to the logic shell for this account.",
+ "type": "string"
+ },
+ "homeDirectory": {
+ "description": "The path to the home directory for this account.",
+ "type": "string"
+ },
+ "systemId": {
+ "description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
+ "type": "string"
+ },
+ "gecos": {
+ "description": "The GECOS (user information) entry for this account.",
+ "type": "string"
}
},
"type": "object"
@@ -346,6 +320,17 @@
"description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
"id": "LoginProfile",
"properties": {
+ "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"
@@ -356,20 +341,35 @@
},
"description": "A map from SSH public key fingerprint to the associated key object.",
"type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "SshPublicKey": {
+ "description": "The SSH public key information associated with a Directory API User.",
+ "id": "SshPublicKey",
+ "properties": {
+ "fingerprint": {
+ "description": "[Output Only] The SHA-256 fingerprint of the SSH public key.",
+ "type": "string"
},
- "name": {
- "description": "A unique user ID for identifying the user.",
+ "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"
},
- "posixAccounts": {
- "description": "The list of POSIX accounts associated with the Directory API user.",
- "items": {
- "$ref": "PosixAccount"
- },
- "type": "array"
+ "expirationTimeUsec": {
+ "description": "An expiration time in microseconds since epoch.",
+ "format": "int64",
+ "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