Skip navigation links

@Generated(value="by gapic-generator-java")

Package com.google.cloud.oslogin.v1

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

See: Description

Package com.google.cloud.oslogin.v1 Description

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);
 }
 
Skip navigation links

Copyright © 2022 Google LLC. All rights reserved.