Class | Description |
---|---|
OsLoginServiceClient |
Service Description: Cloud OS Login API
|
OsLoginServiceSettings |
Settings class to configure an instance of
OsLoginServiceClient . |
OsLoginServiceSettings.Builder |
Builder for OsLoginServiceSettings.
|
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()) {
ProjectName name = ProjectName.of("[USER]", "[PROJECT]");
osLoginServiceClient.deletePosixAccount(name);
}
Copyright © 2019 Google LLC. All rights reserved.