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(OsLoginServiceClientosLoginServiceClient=OsLoginServiceClient.create()){PosixAccountNamename=PosixAccountName.of("[USER]","[PROJECT]");osLoginServiceClient.deletePosixAccount(name);}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]