google-cloud-os-login overview

com.google.cloud.oslogin.common

com.google.cloud.oslogin.v1

The interfaces provided are listed below, along with usage samples.

OsLoginServiceClient

Service Description: Cloud OS Login API

The Cloud OS Login API allows you to manage users and their associated SSH public keys for logging into virtual machines on Google Cloud Platform.

Sample for OsLoginServiceClient:


 try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) {
   PosixAccountName name = PosixAccountName.of("[USER]", "[PROJECT]");
   osLoginServiceClient.deletePosixAccount(name);
 }
 

com.google.cloud.oslogin.v1.stub