| 1 |
{ |
| 2 |
"auth": { |
| 3 |
"oauth2": { |
| 4 |
"scopes": { |
| 5 |
"https://www.googleapis.com/auth/cloud-platform": { |
| 6 |
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." |
| 7 |
}, |
| 8 |
"https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 9 |
"description": "View your data across Google Cloud services and see the email address of your Google Account" |
| 10 |
}, |
| 11 |
"https://www.googleapis.com/auth/compute": { |
| 12 |
"description": "View and manage your Google Compute Engine resources" |
| 13 |
}, |
| 14 |
"https://www.googleapis.com/auth/compute.readonly": { |
| 15 |
"description": "View your Google Compute Engine resources" |
| 16 |
} |
| 17 |
} |
| 18 |
} |
| 19 |
}, |
| 20 |
"basePath": "", |
| 21 |
"baseUrl": "https://oslogin.googleapis.com/", |
| 22 |
"batchPath": "batch", |
| 23 |
"canonicalName": "Cloud OS Login", |
| 24 |
"description": "You can use OS Login to manage access to your VM instances using IAM roles.", |
| 25 |
"discoveryVersion": "v1", |
| 26 |
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/", |
| 27 |
"fullyEncodeReservedExpansion": true, |
| 28 |
"icons": { |
| 29 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 30 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 31 |
}, |
| 32 |
"id": "oslogin:v1beta", |
| 33 |
"kind": "discovery#restDescription", |
| 34 |
"mtlsRootUrl": "https://oslogin.mtls.googleapis.com/", |
| 35 |
"name": "oslogin", |
| 36 |
"ownerDomain": "google.com", |
| 37 |
"ownerName": "Google", |
| 38 |
"parameters": { |
| 39 |
"$.xgafv": { |
| 40 |
"description": "V1 error format.", |
| 41 |
"enum": [ |
| 42 |
"1", |
| 43 |
"2" |
| 44 |
], |
| 45 |
"enumDescriptions": [ |
| 46 |
"v1 error format", |
| 47 |
"v2 error format" |
| 48 |
], |
| 49 |
"location": "query", |
| 50 |
"type": "string" |
| 51 |
}, |
| 52 |
"access_token": { |
| 53 |
"description": "OAuth access token.", |
| 54 |
"location": "query", |
| 55 |
"type": "string" |
| 56 |
}, |
| 57 |
"alt": { |
| 58 |
"default": "json", |
| 59 |
"description": "Data format for response.", |
| 60 |
"enum": [ |
| 61 |
"json", |
| 62 |
"media", |
| 63 |
"proto" |
| 64 |
], |
| 65 |
"enumDescriptions": [ |
| 66 |
"Responses with Content-Type of application/json", |
| 67 |
"Media download with context-dependent Content-Type", |
| 68 |
"Responses with Content-Type of application/x-protobuf" |
| 69 |
], |
| 70 |
"location": "query", |
| 71 |
"type": "string" |
| 72 |
}, |
| 73 |
"callback": { |
| 74 |
"description": "JSONP", |
| 75 |
"location": "query", |
| 76 |
"type": "string" |
| 77 |
}, |
| 78 |
"fields": { |
| 79 |
"description": "Selector specifying which fields to include in a partial response.", |
| 80 |
"location": "query", |
| 81 |
"type": "string" |
| 82 |
}, |
| 83 |
"key": { |
| 84 |
"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.", |
| 85 |
"location": "query", |
| 86 |
"type": "string" |
| 87 |
}, |
| 88 |
"oauth_token": { |
| 89 |
"description": "OAuth 2.0 token for the current user.", |
| 90 |
"location": "query", |
| 91 |
"type": "string" |
| 92 |
}, |
| 93 |
"prettyPrint": { |
| 94 |
"default": "true", |
| 95 |
"description": "Returns response with indentations and line breaks.", |
| 96 |
"location": "query", |
| 97 |
"type": "boolean" |
| 98 |
}, |
| 99 |
"quotaUser": { |
| 100 |
"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.", |
| 101 |
"location": "query", |
| 102 |
"type": "string" |
| 103 |
}, |
| 104 |
"uploadType": { |
| 105 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 106 |
"location": "query", |
| 107 |
"type": "string" |
| 108 |
}, |
| 109 |
"upload_protocol": { |
| 110 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 111 |
"location": "query", |
| 112 |
"type": "string" |
| 113 |
} |
| 114 |
}, |
| 115 |
"protocol": "rest", |
| 116 |
"resources": { |
| 117 |
"projects": { |
| 118 |
"resources": { |
| 119 |
"locations": { |
| 120 |
"methods": { |
| 121 |
"signSshPublicKey": { |
| 122 |
"description": "Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.", |
| 123 |
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}:signSshPublicKey", |
| 124 |
"httpMethod": "POST", |
| 125 |
"id": "oslogin.projects.locations.signSshPublicKey", |
| 126 |
"parameterOrder": [ |
| 127 |
"parent" |
| 128 |
], |
| 129 |
"parameters": { |
| 130 |
"parent": { |
| 131 |
"description": "Required. The parent for the signing request. Format: projects/{project}/locations/{location}", |
| 132 |
"location": "path", |
| 133 |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
| 134 |
"required": true, |
| 135 |
"type": "string" |
| 136 |
} |
| 137 |
}, |
| 138 |
"path": "v1beta/{+parent}:signSshPublicKey", |
| 139 |
"request": { |
| 140 |
"$ref": "GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest" |
| 141 |
}, |
| 142 |
"response": { |
| 143 |
"$ref": "GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse" |
| 144 |
}, |
| 145 |
"scopes": [ |
| 146 |
"https://www.googleapis.com/auth/cloud-platform" |
| 147 |
] |
| 148 |
} |
| 149 |
} |
| 150 |
} |
| 151 |
} |
| 152 |
}, |
| 153 |
"users": { |
| 154 |
"methods": { |
| 155 |
"getLoginProfile": { |
| 156 |
"description": "Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.", |
| 157 |
"flatPath": "v1beta/users/{usersId}/loginProfile", |
| 158 |
"httpMethod": "GET", |
| 159 |
"id": "oslogin.users.getLoginProfile", |
| 160 |
"parameterOrder": [ |
| 161 |
"name" |
| 162 |
], |
| 163 |
"parameters": { |
| 164 |
"name": { |
| 165 |
"description": "Required. The unique ID for the user in format `users/{user}`.", |
| 166 |
"location": "path", |
| 167 |
"pattern": "^users/[^/]+$", |
| 168 |
"required": true, |
| 169 |
"type": "string" |
| 170 |
}, |
| 171 |
"projectId": { |
| 172 |
"description": "Required. The project ID of the Google Cloud Platform project.", |
| 173 |
"location": "query", |
| 174 |
"type": "string" |
| 175 |
}, |
| 176 |
"systemId": { |
| 177 |
"description": "Optional. A system ID for filtering the results of the request.", |
| 178 |
"location": "query", |
| 179 |
"type": "string" |
| 180 |
}, |
| 181 |
"view": { |
| 182 |
"description": "The view configures whether to retrieve security keys information.", |
| 183 |
"enum": [ |
| 184 |
"LOGIN_PROFILE_VIEW_UNSPECIFIED", |
| 185 |
"BASIC", |
| 186 |
"SECURITY_KEY" |
| 187 |
], |
| 188 |
"enumDescriptions": [ |
| 189 |
"The default login profile view. The API defaults to the BASIC view.", |
| 190 |
"Includes POSIX and SSH key information.", |
| 191 |
"Include security key information for the user." |
| 192 |
], |
| 193 |
"location": "query", |
| 194 |
"type": "string" |
| 195 |
} |
| 196 |
}, |
| 197 |
"path": "v1beta/{+name}/loginProfile", |
| 198 |
"response": { |
| 199 |
"$ref": "LoginProfile" |
| 200 |
}, |
| 201 |
"scopes": [ |
| 202 |
"https://www.googleapis.com/auth/cloud-platform", |
| 203 |
"https://www.googleapis.com/auth/cloud-platform.read-only", |
| 204 |
"https://www.googleapis.com/auth/compute", |
| 205 |
"https://www.googleapis.com/auth/compute.readonly" |
| 206 |
] |
| 207 |
}, |
| 208 |
"importSshPublicKey": { |
| 209 |
"description": "Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.", |
| 210 |
"flatPath": "v1beta/users/{usersId}:importSshPublicKey", |
| 211 |
"httpMethod": "POST", |
| 212 |
"id": "oslogin.users.importSshPublicKey", |
| 213 |
"parameterOrder": [ |
| 214 |
"parent" |
| 215 |
], |
| 216 |
"parameters": { |
| 217 |
"parent": { |
| 218 |
"description": "The unique ID for the user in format `users/{user}`.", |
| 219 |
"location": "path", |
| 220 |
"pattern": "^users/[^/]+$", |
| 221 |
"required": true, |
| 222 |
"type": "string" |
| 223 |
}, |
| 224 |
"projectId": { |
| 225 |
"description": "The project ID of the Google Cloud Platform project.", |
| 226 |
"location": "query", |
| 227 |
"type": "string" |
| 228 |
}, |
| 229 |
"regions": { |
| 230 |
"description": "Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.", |
| 231 |
"location": "query", |
| 232 |
"repeated": true, |
| 233 |
"type": "string" |
| 234 |
}, |
| 235 |
"view": { |
| 236 |
"description": "The view configures whether to retrieve security keys information.", |
| 237 |
"enum": [ |
| 238 |
"LOGIN_PROFILE_VIEW_UNSPECIFIED", |
| 239 |
"BASIC", |
| 240 |
"SECURITY_KEY" |
| 241 |
], |
| 242 |
"enumDescriptions": [ |
| 243 |
"The default login profile view. The API defaults to the BASIC view.", |
| 244 |
"Includes POSIX and SSH key information.", |
| 245 |
"Include security key information for the user." |
| 246 |
], |
| 247 |
"location": "query", |
| 248 |
"type": "string" |
| 249 |
} |
| 250 |
}, |
| 251 |
"path": "v1beta/{+parent}:importSshPublicKey", |
| 252 |
"request": { |
| 253 |
"$ref": "SshPublicKey" |
| 254 |
}, |
| 255 |
"response": { |
| 256 |
"$ref": "ImportSshPublicKeyResponse" |
| 257 |
}, |
| 258 |
"scopes": [ |
| 259 |
"https://www.googleapis.com/auth/cloud-platform", |
| 260 |
"https://www.googleapis.com/auth/compute" |
| 261 |
] |
| 262 |
} |
| 263 |
}, |
| 264 |
"resources": { |
| 265 |
"projects": { |
| 266 |
"methods": { |
| 267 |
"delete": { |
| 268 |
"description": "Deletes a POSIX account.", |
| 269 |
"flatPath": "v1beta/users/{usersId}/projects/{projectsId}", |
| 270 |
"httpMethod": "DELETE", |
| 271 |
"id": "oslogin.users.projects.delete", |
| 272 |
"parameterOrder": [ |
| 273 |
"name" |
| 274 |
], |
| 275 |
"parameters": { |
| 276 |
"name": { |
| 277 |
"description": "Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format `users/{user}/projects/{project}`.", |
| 278 |
"location": "path", |
| 279 |
"pattern": "^users/[^/]+/projects/[^/]+$", |
| 280 |
"required": true, |
| 281 |
"type": "string" |
| 282 |
} |
| 283 |
}, |
| 284 |
"path": "v1beta/{+name}", |
| 285 |
"response": { |
| 286 |
"$ref": "Empty" |
| 287 |
}, |
| 288 |
"scopes": [ |
| 289 |
"https://www.googleapis.com/auth/cloud-platform", |
| 290 |
"https://www.googleapis.com/auth/compute" |
| 291 |
] |
| 292 |
}, |
| 293 |
"provisionPosixAccount": { |
| 294 |
"description": "Create a POSIX account if it doesn't exist.", |
| 295 |
"flatPath": "v1beta/users/{usersId}/projects/{projectsId}", |
| 296 |
"httpMethod": "POST", |
| 297 |
"id": "oslogin.users.projects.provisionPosixAccount", |
| 298 |
"parameterOrder": [ |
| 299 |
"name" |
| 300 |
], |
| 301 |
"parameters": { |
| 302 |
"name": { |
| 303 |
"description": "Required. The unique ID for the user in format `users/{user}/projects/{project}`.", |
| 304 |
"location": "path", |
| 305 |
"pattern": "^users/[^/]+/projects/[^/]+$", |
| 306 |
"required": true, |
| 307 |
"type": "string" |
| 308 |
} |
| 309 |
}, |
| 310 |
"path": "v1beta/{+name}", |
| 311 |
"request": { |
| 312 |
"$ref": "ProvisionPosixAccountRequest" |
| 313 |
}, |
| 314 |
"response": { |
| 315 |
"$ref": "PosixAccount" |
| 316 |
}, |
| 317 |
"scopes": [ |
| 318 |
"https://www.googleapis.com/auth/cloud-platform", |
| 319 |
"https://www.googleapis.com/auth/compute" |
| 320 |
] |
| 321 |
} |
| 322 |
}, |
| 323 |
"resources": { |
| 324 |
"locations": { |
| 325 |
"methods": { |
| 326 |
"signSshPublicKey": { |
| 327 |
"description": "Signs an SSH public key for a user to authenticate to an instance.", |
| 328 |
"flatPath": "v1beta/users/{usersId}/projects/{projectsId}/locations/{locationsId}:signSshPublicKey", |
| 329 |
"httpMethod": "POST", |
| 330 |
"id": "oslogin.users.projects.locations.signSshPublicKey", |
| 331 |
"parameterOrder": [ |
| 332 |
"parent" |
| 333 |
], |
| 334 |
"parameters": { |
| 335 |
"parent": { |
| 336 |
"description": "Required. The parent project and region for the signing request.", |
| 337 |
"location": "path", |
| 338 |
"pattern": "^users/[^/]+/projects/[^/]+/locations/[^/]+$", |
| 339 |
"required": true, |
| 340 |
"type": "string" |
| 341 |
} |
| 342 |
}, |
| 343 |
"path": "v1beta/{+parent}:signSshPublicKey", |
| 344 |
"request": { |
| 345 |
"$ref": "SignSshPublicKeyRequest" |
| 346 |
}, |
| 347 |
"response": { |
| 348 |
"$ref": "SignSshPublicKeyResponse" |
| 349 |
}, |
| 350 |
"scopes": [ |
| 351 |
"https://www.googleapis.com/auth/cloud-platform", |
| 352 |
"https://www.googleapis.com/auth/compute" |
| 353 |
] |
| 354 |
} |
| 355 |
} |
| 356 |
}, |
| 357 |
"zones": { |
| 358 |
"methods": { |
| 359 |
"signSshPublicKey": { |
| 360 |
"description": "Signs an SSH public key for a user to authenticate to an instance.", |
| 361 |
"flatPath": "v1beta/users/{usersId}/projects/{projectsId}/zones/{zonesId}:signSshPublicKey", |
| 362 |
"httpMethod": "POST", |
| 363 |
"id": "oslogin.users.projects.zones.signSshPublicKey", |
| 364 |
"parameterOrder": [ |
| 365 |
"parent" |
| 366 |
], |
| 367 |
"parameters": { |
| 368 |
"parent": { |
| 369 |
"description": "Required. The parent project and region for the signing request.", |
| 370 |
"location": "path", |
| 371 |
"pattern": "^users/[^/]+/projects/[^/]+/zones/[^/]+$", |
| 372 |
"required": true, |
| 373 |
"type": "string" |
| 374 |
} |
| 375 |
}, |
| 376 |
"path": "v1beta/{+parent}:signSshPublicKey", |
| 377 |
"request": { |
| 378 |
"$ref": "SignSshPublicKeyRequest" |
| 379 |
}, |
| 380 |
"response": { |
| 381 |
"$ref": "SignSshPublicKeyResponse" |
| 382 |
}, |
| 383 |
"scopes": [ |
| 384 |
"https://www.googleapis.com/auth/cloud-platform", |
| 385 |
"https://www.googleapis.com/auth/compute" |
| 386 |
] |
| 387 |
} |
| 388 |
} |
| 389 |
} |
| 390 |
} |
| 391 |
}, |
| 392 |
"sshPublicKeys": { |
| 393 |
"methods": { |
| 394 |
"create": { |
| 395 |
"description": "Create an SSH public key", |
| 396 |
"flatPath": "v1beta/users/{usersId}/sshPublicKeys", |
| 397 |
"httpMethod": "POST", |
| 398 |
"id": "oslogin.users.sshPublicKeys.create", |
| 399 |
"parameterOrder": [ |
| 400 |
"parent" |
| 401 |
], |
| 402 |
"parameters": { |
| 403 |
"parent": { |
| 404 |
"description": "Required. The unique ID for the user in format `users/{user}`.", |
| 405 |
"location": "path", |
| 406 |
"pattern": "^users/[^/]+$", |
| 407 |
"required": true, |
| 408 |
"type": "string" |
| 409 |
} |
| 410 |
}, |
| 411 |
"path": "v1beta/{+parent}/sshPublicKeys", |
| 412 |
"request": { |
| 413 |
"$ref": "SshPublicKey" |
| 414 |
}, |
| 415 |
"response": { |
| 416 |
"$ref": "SshPublicKey" |
| 417 |
}, |
| 418 |
"scopes": [ |
| 419 |
"https://www.googleapis.com/auth/cloud-platform", |
| 420 |
"https://www.googleapis.com/auth/compute" |
| 421 |
] |
| 422 |
}, |
| 423 |
"delete": { |
| 424 |
"description": "Deletes an SSH public key.", |
| 425 |
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", |
| 426 |
"httpMethod": "DELETE", |
| 427 |
"id": "oslogin.users.sshPublicKeys.delete", |
| 428 |
"parameterOrder": [ |
| 429 |
"name" |
| 430 |
], |
| 431 |
"parameters": { |
| 432 |
"name": { |
| 433 |
"description": "Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", |
| 434 |
"location": "path", |
| 435 |
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", |
| 436 |
"required": true, |
| 437 |
"type": "string" |
| 438 |
} |
| 439 |
}, |
| 440 |
"path": "v1beta/{+name}", |
| 441 |
"response": { |
| 442 |
"$ref": "Empty" |
| 443 |
}, |
| 444 |
"scopes": [ |
| 445 |
"https://www.googleapis.com/auth/cloud-platform", |
| 446 |
"https://www.googleapis.com/auth/compute" |
| 447 |
] |
| 448 |
}, |
| 449 |
"get": { |
| 450 |
"description": "Retrieves an SSH public key.", |
| 451 |
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", |
| 452 |
"httpMethod": "GET", |
| 453 |
"id": "oslogin.users.sshPublicKeys.get", |
| 454 |
"parameterOrder": [ |
| 455 |
"name" |
| 456 |
], |
| 457 |
"parameters": { |
| 458 |
"name": { |
| 459 |
"description": "Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", |
| 460 |
"location": "path", |
| 461 |
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", |
| 462 |
"required": true, |
| 463 |
"type": "string" |
| 464 |
} |
| 465 |
}, |
| 466 |
"path": "v1beta/{+name}", |
| 467 |
"response": { |
| 468 |
"$ref": "SshPublicKey" |
| 469 |
}, |
| 470 |
"scopes": [ |
| 471 |
"https://www.googleapis.com/auth/cloud-platform", |
| 472 |
"https://www.googleapis.com/auth/compute" |
| 473 |
] |
| 474 |
}, |
| 475 |
"patch": { |
| 476 |
"description": "Updates an SSH public key and returns the profile information. This method supports patch semantics.", |
| 477 |
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", |
| 478 |
"httpMethod": "PATCH", |
| 479 |
"id": "oslogin.users.sshPublicKeys.patch", |
| 480 |
"parameterOrder": [ |
| 481 |
"name" |
| 482 |
], |
| 483 |
"parameters": { |
| 484 |
"name": { |
| 485 |
"description": "Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", |
| 486 |
"location": "path", |
| 487 |
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", |
| 488 |
"required": true, |
| 489 |
"type": "string" |
| 490 |
}, |
| 491 |
"updateMask": { |
| 492 |
"description": "Mask to control which fields get updated. Updates all if not present.", |
| 493 |
"format": "google-fieldmask", |
| 494 |
"location": "query", |
| 495 |
"type": "string" |
| 496 |
} |
| 497 |
}, |
| 498 |
"path": "v1beta/{+name}", |
| 499 |
"request": { |
| 500 |
"$ref": "SshPublicKey" |
| 501 |
}, |
| 502 |
"response": { |
| 503 |
"$ref": "SshPublicKey" |
| 504 |
}, |
| 505 |
"scopes": [ |
| 506 |
"https://www.googleapis.com/auth/cloud-platform", |
| 507 |
"https://www.googleapis.com/auth/compute" |
| 508 |
] |
| 509 |
} |
| 510 |
} |
| 511 |
} |
| 512 |
} |
| 513 |
} |
| 514 |
}, |
| 515 |
"revision": "20260610", |
| 516 |
"rootUrl": "https://oslogin.googleapis.com/", |
| 517 |
"schemas": { |
| 518 |
"Empty": { |
| 519 |
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", |
| 520 |
"id": "Empty", |
| 521 |
"properties": {}, |
| 522 |
"type": "object" |
| 523 |
}, |
| 524 |
"GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest": { |
| 525 |
"description": "A request message for signing an SSH public key.", |
| 526 |
"id": "GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest", |
| 527 |
"properties": { |
| 528 |
"appEngineInstance": { |
| 529 |
"description": "The App Engine instance to sign the SSH public key for. Expected format: apps/{app}/services/{service}/versions/{version}/instances/{instance}", |
| 530 |
"type": "string" |
| 531 |
}, |
| 532 |
"cloudRunResource": { |
| 533 |
"description": "Optional. The Cloud Run resource to sign the SSH public key for. Expected formats: - `projects/{project}/locations/{location}/services/{service}` - `projects/{project}/locations/{location}/workerPools/{worker_pool}` - `projects/{project}/locations/{location}/jobs/{job}` - `projects/{project}/locations/{location}/instances/{instance}`", |
| 534 |
"type": "string" |
| 535 |
}, |
| 536 |
"computeInstance": { |
| 537 |
"description": "The Compute instance to sign the SSH public key for. Expected format: projects/{project}/zones/{zone}/instances/{numeric_instance_id}", |
| 538 |
"type": "string" |
| 539 |
}, |
| 540 |
"serviceAccount": { |
| 541 |
"description": "Optional. The service account for the instance. If the instance in question does not have a service account, this field should be left empty. If the wrong service account is provided, this operation will return a signed certificate that will not be accepted by the VM.", |
| 542 |
"type": "string" |
| 543 |
}, |
| 544 |
"sshPublicKey": { |
| 545 |
"description": "Required. The SSH public key to sign.", |
| 546 |
"type": "string" |
| 547 |
} |
| 548 |
}, |
| 549 |
"type": "object" |
| 550 |
}, |
| 551 |
"GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse": { |
| 552 |
"description": "The response message for signing an SSH public key.", |
| 553 |
"id": "GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse", |
| 554 |
"properties": { |
| 555 |
"signedSshPublicKey": { |
| 556 |
"description": "The signed SSH public key to use in the SSH handshake.", |
| 557 |
"type": "string" |
| 558 |
} |
| 559 |
}, |
| 560 |
"type": "object" |
| 561 |
}, |
| 562 |
"ImportSshPublicKeyResponse": { |
| 563 |
"description": "A response message for importing an SSH public key.", |
| 564 |
"id": "ImportSshPublicKeyResponse", |
| 565 |
"properties": { |
| 566 |
"details": { |
| 567 |
"description": "Detailed information about import results.", |
| 568 |
"type": "string" |
| 569 |
}, |
| 570 |
"loginProfile": { |
| 571 |
"$ref": "LoginProfile", |
| 572 |
"description": "The login profile information for the user." |
| 573 |
} |
| 574 |
}, |
| 575 |
"type": "object" |
| 576 |
}, |
| 577 |
"LoginProfile": { |
| 578 |
"description": "The user profile information used for logging in to a virtual machine on Google Compute Engine.", |
| 579 |
"id": "LoginProfile", |
| 580 |
"properties": { |
| 581 |
"name": { |
| 582 |
"description": "Required. A unique user ID.", |
| 583 |
"type": "string" |
| 584 |
}, |
| 585 |
"posixAccounts": { |
| 586 |
"description": "The list of POSIX accounts associated with the user.", |
| 587 |
"items": { |
| 588 |
"$ref": "PosixAccount" |
| 589 |
}, |
| 590 |
"type": "array" |
| 591 |
}, |
| 592 |
"securityKeys": { |
| 593 |
"description": "The registered security key credentials for a user.", |
| 594 |
"items": { |
| 595 |
"$ref": "SecurityKey" |
| 596 |
}, |
| 597 |
"type": "array" |
| 598 |
}, |
| 599 |
"sshPublicKeys": { |
| 600 |
"additionalProperties": { |
| 601 |
"$ref": "SshPublicKey" |
| 602 |
}, |
| 603 |
"description": "A map from SSH public key fingerprint to the associated key object.", |
| 604 |
"type": "object" |
| 605 |
} |
| 606 |
}, |
| 607 |
"type": "object" |
| 608 |
}, |
| 609 |
"PosixAccount": { |
| 610 |
"description": "The POSIX account information associated with a Google account.", |
| 611 |
"id": "PosixAccount", |
| 612 |
"properties": { |
| 613 |
"accountId": { |
| 614 |
"description": "Output only. A POSIX account identifier.", |
| 615 |
"readOnly": true, |
| 616 |
"type": "string" |
| 617 |
}, |
| 618 |
"gecos": { |
| 619 |
"description": "The GECOS (user information) entry for this account.", |
| 620 |
"type": "string" |
| 621 |
}, |
| 622 |
"gid": { |
| 623 |
"description": "The default group ID.", |
| 624 |
"format": "int64", |
| 625 |
"type": "string" |
| 626 |
}, |
| 627 |
"homeDirectory": { |
| 628 |
"description": "The path to the home directory for this account.", |
| 629 |
"type": "string" |
| 630 |
}, |
| 631 |
"name": { |
| 632 |
"description": "Output only. The canonical resource name.", |
| 633 |
"readOnly": true, |
| 634 |
"type": "string" |
| 635 |
}, |
| 636 |
"operatingSystemType": { |
| 637 |
"description": "The operating system type where this account applies.", |
| 638 |
"enum": [ |
| 639 |
"OPERATING_SYSTEM_TYPE_UNSPECIFIED", |
| 640 |
"LINUX", |
| 641 |
"WINDOWS" |
| 642 |
], |
| 643 |
"enumDescriptions": [ |
| 644 |
"The operating system type associated with the user account information is unspecified.", |
| 645 |
"Linux user account information.", |
| 646 |
"Windows user account information." |
| 647 |
], |
| 648 |
"type": "string" |
| 649 |
}, |
| 650 |
"primary": { |
| 651 |
"description": "Only one POSIX account can be marked as primary.", |
| 652 |
"type": "boolean" |
| 653 |
}, |
| 654 |
"shell": { |
| 655 |
"description": "The path to the logic shell for this account.", |
| 656 |
"type": "string" |
| 657 |
}, |
| 658 |
"systemId": { |
| 659 |
"description": "System identifier for which account the username or uid applies to. By default, the empty value is used.", |
| 660 |
"type": "string" |
| 661 |
}, |
| 662 |
"uid": { |
| 663 |
"description": "The user ID.", |
| 664 |
"format": "int64", |
| 665 |
"type": "string" |
| 666 |
}, |
| 667 |
"username": { |
| 668 |
"description": "The username of the POSIX account.", |
| 669 |
"type": "string" |
| 670 |
} |
| 671 |
}, |
| 672 |
"type": "object" |
| 673 |
}, |
| 674 |
"ProvisionPosixAccountRequest": { |
| 675 |
"description": "A request message for creating a POSIX account entry.", |
| 676 |
"id": "ProvisionPosixAccountRequest", |
| 677 |
"properties": { |
| 678 |
"regions": { |
| 679 |
"description": "Optional. The regions to wait for a POSIX account to be written to before returning a response. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.", |
| 680 |
"items": { |
| 681 |
"type": "string" |
| 682 |
}, |
| 683 |
"type": "array" |
| 684 |
} |
| 685 |
}, |
| 686 |
"type": "object" |
| 687 |
}, |
| 688 |
"SecurityKey": { |
| 689 |
"description": "The credential information for a Google registered security key.", |
| 690 |
"id": "SecurityKey", |
| 691 |
"properties": { |
| 692 |
"deviceNickname": { |
| 693 |
"description": "The security key nickname explicitly set by the user.", |
| 694 |
"type": "string" |
| 695 |
}, |
| 696 |
"privateKey": { |
| 697 |
"description": "Hardware-backed private key text in SSH format.", |
| 698 |
"type": "string" |
| 699 |
}, |
| 700 |
"publicKey": { |
| 701 |
"description": "Public key text in SSH format, defined by [RFC4253](\"https://www.ietf.org/rfc/rfc4253.txt\") section 6.6.", |
| 702 |
"type": "string" |
| 703 |
}, |
| 704 |
"universalTwoFactor": { |
| 705 |
"$ref": "UniversalTwoFactor", |
| 706 |
"description": "The U2F protocol type." |
| 707 |
}, |
| 708 |
"webAuthn": { |
| 709 |
"$ref": "WebAuthn", |
| 710 |
"description": "The Web Authentication protocol type." |
| 711 |
} |
| 712 |
}, |
| 713 |
"type": "object" |
| 714 |
}, |
| 715 |
"SignSshPublicKeyRequest": { |
| 716 |
"id": "SignSshPublicKeyRequest", |
| 717 |
"properties": { |
| 718 |
"sshPublicKey": { |
| 719 |
"description": "Required. The SSH public key to sign.", |
| 720 |
"type": "string" |
| 721 |
} |
| 722 |
}, |
| 723 |
"type": "object" |
| 724 |
}, |
| 725 |
"SignSshPublicKeyResponse": { |
| 726 |
"id": "SignSshPublicKeyResponse", |
| 727 |
"properties": { |
| 728 |
"signedSshPublicKey": { |
| 729 |
"description": "The signed SSH public key to use in the SSH handshake.", |
| 730 |
"type": "string" |
| 731 |
} |
| 732 |
}, |
| 733 |
"type": "object" |
| 734 |
}, |
| 735 |
"SshPublicKey": { |
| 736 |
"description": "The SSH public key information associated with a Google account.", |
| 737 |
"id": "SshPublicKey", |
| 738 |
"properties": { |
| 739 |
"expirationTimeUsec": { |
| 740 |
"description": "An expiration time in microseconds since epoch.", |
| 741 |
"format": "int64", |
| 742 |
"type": "string" |
| 743 |
}, |
| 744 |
"fingerprint": { |
| 745 |
"description": "Output only. The SHA-256 fingerprint of the SSH public key.", |
| 746 |
"readOnly": true, |
| 747 |
"type": "string" |
| 748 |
}, |
| 749 |
"key": { |
| 750 |
"description": "Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.", |
| 751 |
"type": "string" |
| 752 |
}, |
| 753 |
"name": { |
| 754 |
"description": "Output only. The canonical resource name.", |
| 755 |
"readOnly": true, |
| 756 |
"type": "string" |
| 757 |
} |
| 758 |
}, |
| 759 |
"type": "object" |
| 760 |
}, |
| 761 |
"UniversalTwoFactor": { |
| 762 |
"description": "Security key information specific to the U2F protocol.", |
| 763 |
"id": "UniversalTwoFactor", |
| 764 |
"properties": { |
| 765 |
"appId": { |
| 766 |
"description": "Application ID for the U2F protocol.", |
| 767 |
"type": "string" |
| 768 |
} |
| 769 |
}, |
| 770 |
"type": "object" |
| 771 |
}, |
| 772 |
"WebAuthn": { |
| 773 |
"description": "Security key information specific to the Web Authentication protocol.", |
| 774 |
"id": "WebAuthn", |
| 775 |
"properties": { |
| 776 |
"rpId": { |
| 777 |
"description": "Relying party ID for Web Authentication.", |
| 778 |
"type": "string" |
| 779 |
} |
| 780 |
}, |
| 781 |
"type": "object" |
| 782 |
} |
| 783 |
}, |
| 784 |
"servicePath": "", |
| 785 |
"title": "Cloud OS Login API", |
| 786 |
"version": "v1beta", |
| 787 |
"version_module": true |
| 788 |
} |