[BindServiceMethod(typeof(OsLoginService), "BindService")]
public abstract class OsLoginService.OsLoginServiceBaseReference documentation and code samples for the Google Cloud OS Login v1beta API class OsLoginService.OsLoginServiceBase.
Base class for server-side implementations of OsLoginService
Namespace
Google.Cloud.OsLogin.V1BetaAssembly
Google.Cloud.OsLogin.V1Beta.dll
Methods
CreateSshPublicKey(CreateSshPublicKeyRequest, ServerCallContext)
public virtual Task<SshPublicKey> CreateSshPublicKey(CreateSshPublicKeyRequest request, ServerCallContext context)Create an SSH public key
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSshPublicKey |
The response to send back to the client (wrapped by a task). |
DeletePosixAccount(DeletePosixAccountRequest, ServerCallContext)
public virtual Task<Empty> DeletePosixAccount(DeletePosixAccountRequest request, ServerCallContext context)Deletes a POSIX account.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePosixAccountRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
DeleteSshPublicKey(DeleteSshPublicKeyRequest, ServerCallContext)
public virtual Task<Empty> DeleteSshPublicKey(DeleteSshPublicKeyRequest request, ServerCallContext context)Deletes an SSH public key.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetLoginProfile(GetLoginProfileRequest, ServerCallContext)
public virtual Task<LoginProfile> GetLoginProfile(GetLoginProfileRequest request, ServerCallContext context)Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
| Parameters | |
|---|---|
| Name | Description |
request |
GetLoginProfileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLoginProfile |
The response to send back to the client (wrapped by a task). |
GetSshPublicKey(GetSshPublicKeyRequest, ServerCallContext)
public virtual Task<SshPublicKey> GetSshPublicKey(GetSshPublicKeyRequest request, ServerCallContext context)Retrieves an SSH public key.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSshPublicKey |
The response to send back to the client (wrapped by a task). |
ImportSshPublicKey(ImportSshPublicKeyRequest, ServerCallContext)
public virtual Task<ImportSshPublicKeyResponse> ImportSshPublicKey(ImportSshPublicKeyRequest request, ServerCallContext context)Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskImportSshPublicKeyResponse |
The response to send back to the client (wrapped by a task). |
SignSshPublicKey(SignSshPublicKeyRequest, ServerCallContext)
public virtual Task<SignSshPublicKeyResponse> SignSshPublicKey(SignSshPublicKeyRequest request, ServerCallContext context)Signs an SSH public key for a user to authenticate to an instance.
| Parameters | |
|---|---|
| Name | Description |
request |
SignSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSignSshPublicKeyResponse |
The response to send back to the client (wrapped by a task). |
UpdateSshPublicKey(UpdateSshPublicKeyRequest, ServerCallContext)
public virtual Task<SshPublicKey> UpdateSshPublicKey(UpdateSshPublicKeyRequest request, ServerCallContext context)Updates an SSH public key and returns the profile information. This method supports patch semantics.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSshPublicKeyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSshPublicKey |
The response to send back to the client (wrapped by a task). |