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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) {
   PosixAccountName name = PosixAccountName.of("[USER]", "[PROJECT]");
   osLoginServiceClient.deletePosixAccount(name);
 }
 
Skip navigation links

Copyright © 2022 Google LLC. All rights reserved.