Google Cloud OS Login API

Manages OS login configuration for Directory API users.

Service: oslogin.googleapis.com

All URIs below are relative to https://oslogin.googleapis.com

This service provides the following discovery documents:

REST Resource: v1beta.users

Methods
getLoginProfile GET /v1beta/{name=users/*}/loginProfile
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
importSshPublicKey POST /v1beta/{parent=users/*}:importSshPublicKey
Adds an SSH public key and returns the profile information.

REST Resource: v1beta.users.sshPublicKeys

Methods
delete DELETE /v1beta/{name=users/*/sshPublicKeys/*}
Deletes an SSH public key.
get GET /v1beta/{name=users/*/sshPublicKeys/*}
Retrieves an SSH public key.
patch PATCH /v1beta/{name=users/*/sshPublicKeys/*}
Updates an SSH public key and returns the profile information.

Service: oslogin.googleapis.com

All URIs below are relative to https://oslogin.googleapis.com

This service provides the following discovery documents:

REST Resource: v1alpha.users

Methods
getLoginProfile GET /v1alpha/{name=users/*}/loginProfile
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
importSshPublicKey POST /v1alpha/{parent=users/*}:importSshPublicKey
Adds an SSH public key and returns the profile information.

REST Resource: v1alpha.users.sshPublicKeys

Methods
delete DELETE /v1alpha/{name=users/*/sshPublicKeys/*}
Deletes an SSH public key.
get GET /v1alpha/{name=users/*/sshPublicKeys/*}
Retrieves an SSH public key.
patch PATCH /v1alpha/{name=users/*/sshPublicKeys/*}
Updates an SSH public key and returns the profile information.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Compute Engine