public sealed class OsLoginServiceClientImpl : OsLoginServiceClient
OsLoginService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.OsLogin.V1BetaAssembly
Google.Cloud.OsLogin.V1Beta.dll
Remarks
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.
Constructors
OsLoginServiceClientImpl(OsLoginService.OsLoginServiceClient, OsLoginServiceSettings)
public OsLoginServiceClientImpl(OsLoginService.OsLoginServiceClient grpcClient, OsLoginServiceSettings settings)
Constructs a client wrapper for the OsLoginService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | OsLoginService.OsLoginServiceClient The underlying gRPC client. |
settings | OsLoginServiceSettings The base OsLoginServiceSettings used within this client. |
Properties
GrpcClient
public override OsLoginService.OsLoginServiceClient GrpcClient { get; }
The underlying gRPC OsLoginService client
Property Value | |
---|---|
Type | Description |
OsLoginService.OsLoginServiceClient |
Methods
DeletePosixAccount(DeletePosixAccountRequest, CallSettings)
public override void DeletePosixAccount(DeletePosixAccountRequest request, CallSettings callSettings = null)
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeletePosixAccountAsync(DeletePosixAccountRequest, CallSettings)
public override Task DeletePosixAccountAsync(DeletePosixAccountRequest request, CallSettings callSettings = null)
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteSshPublicKey(DeleteSshPublicKeyRequest, CallSettings)
public override void DeleteSshPublicKey(DeleteSshPublicKeyRequest request, CallSettings callSettings = null)
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest, CallSettings)
public override Task DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest request, CallSettings callSettings = null)
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetLoginProfile(GetLoginProfileRequest, CallSettings)
public override LoginProfile GetLoginProfile(GetLoginProfileRequest request, CallSettings callSettings = null)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LoginProfile | The RPC response. |
GetLoginProfileAsync(GetLoginProfileRequest, CallSettings)
public override Task<LoginProfile> GetLoginProfileAsync(GetLoginProfileRequest request, CallSettings callSettings = null)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LoginProfile> | A Task containing the RPC response. |
GetSshPublicKey(GetSshPublicKeyRequest, CallSettings)
public override SshPublicKey GetSshPublicKey(GetSshPublicKeyRequest request, CallSettings callSettings = null)
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The RPC response. |
GetSshPublicKeyAsync(GetSshPublicKeyRequest, CallSettings)
public override Task<SshPublicKey> GetSshPublicKeyAsync(GetSshPublicKeyRequest request, CallSettings callSettings = null)
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<SshPublicKey> | A Task containing the RPC response. |
ImportSshPublicKey(ImportSshPublicKeyRequest, CallSettings)
public override ImportSshPublicKeyResponse ImportSshPublicKey(ImportSshPublicKeyRequest request, CallSettings callSettings = null)
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 | ImportSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ImportSshPublicKeyResponse | The RPC response. |
ImportSshPublicKeyAsync(ImportSshPublicKeyRequest, CallSettings)
public override Task<ImportSshPublicKeyResponse> ImportSshPublicKeyAsync(ImportSshPublicKeyRequest request, CallSettings callSettings = null)
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 | ImportSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ImportSshPublicKeyResponse> | A Task containing the RPC response. |
UpdateSshPublicKey(UpdateSshPublicKeyRequest, CallSettings)
public override SshPublicKey UpdateSshPublicKey(UpdateSshPublicKeyRequest request, CallSettings callSettings = null)
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The RPC response. |
UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest, CallSettings)
public override Task<SshPublicKey> UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest request, CallSettings callSettings = null)
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<SshPublicKey> | A Task containing the RPC response. |