public class OsLoginServiceClient : ClientBase<OsLoginService.OsLoginServiceClient>
Client for OsLoginService
Inheritance
Object > ClientBase > ClientBase<OsLoginService.OsLoginServiceClient> > OsLoginService.OsLoginServiceClientNamespace
Google.Cloud.OsLogin.V1Assembly
Google.Cloud.OsLogin.V1.dll
Constructors
OsLoginServiceClient()
protected OsLoginServiceClient()
Protected parameterless constructor to allow creation of test doubles.
OsLoginServiceClient(CallInvoker)
public OsLoginServiceClient(CallInvoker callInvoker)
Creates a new client for OsLoginService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
OsLoginServiceClient(Channel)
[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public OsLoginServiceClient(Channel channel)
Creates a new client using a channel.
Parameter | |
---|---|
Name | Description |
channel | Grpc.Core.Channel The channel to use to make remote calls. |
OsLoginServiceClient(ChannelBase)
public OsLoginServiceClient(ChannelBase channel)
Creates a new client for OsLoginService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
OsLoginServiceClient(ClientBase.ClientBaseConfiguration)
protected OsLoginServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
DeletePosixAccount(DeletePosixAccountRequest, CallOptions)
public virtual Empty DeletePosixAccount(DeletePosixAccountRequest request, CallOptions options)
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeletePosixAccount(DeletePosixAccountRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeletePosixAccount(DeletePosixAccountRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeletePosixAccountAsync(DeletePosixAccountRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeletePosixAccountAsync(DeletePosixAccountRequest request, CallOptions options)
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeletePosixAccountAsync(DeletePosixAccountRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeletePosixAccountAsync(DeletePosixAccountRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a POSIX account.
Parameters | |
---|---|
Name | Description |
request | DeletePosixAccountRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteSshPublicKey(DeleteSshPublicKeyRequest, CallOptions)
public virtual Empty DeleteSshPublicKey(DeleteSshPublicKeyRequest request, CallOptions options)
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteSshPublicKey(DeleteSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteSshPublicKey(DeleteSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest request, CallOptions options)
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteSshPublicKeyAsync(DeleteSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an SSH public key.
Parameters | |
---|---|
Name | Description |
request | DeleteSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
GetLoginProfile(GetLoginProfileRequest, CallOptions)
public virtual LoginProfile GetLoginProfile(GetLoginProfileRequest request, CallOptions options)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
LoginProfile | The response received from the server. |
GetLoginProfile(GetLoginProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual LoginProfile GetLoginProfile(GetLoginProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
LoginProfile | The response received from the server. |
GetLoginProfileAsync(GetLoginProfileRequest, CallOptions)
public virtual AsyncUnaryCall<LoginProfile> GetLoginProfileAsync(GetLoginProfileRequest request, CallOptions options)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<LoginProfile> | The call object. |
GetLoginProfileAsync(GetLoginProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<LoginProfile> GetLoginProfileAsync(GetLoginProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Parameters | |
---|---|
Name | Description |
request | GetLoginProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<LoginProfile> | The call object. |
GetSshPublicKey(GetSshPublicKeyRequest, CallOptions)
public virtual SshPublicKey GetSshPublicKey(GetSshPublicKeyRequest request, CallOptions options)
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The response received from the server. |
GetSshPublicKey(GetSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SshPublicKey GetSshPublicKey(GetSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The response received from the server. |
GetSshPublicKeyAsync(GetSshPublicKeyRequest, CallOptions)
public virtual AsyncUnaryCall<SshPublicKey> GetSshPublicKeyAsync(GetSshPublicKeyRequest request, CallOptions options)
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SshPublicKey> | The call object. |
GetSshPublicKeyAsync(GetSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SshPublicKey> GetSshPublicKeyAsync(GetSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves an SSH public key.
Parameters | |
---|---|
Name | Description |
request | GetSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SshPublicKey> | The call object. |
ImportSshPublicKey(ImportSshPublicKeyRequest, CallOptions)
public virtual ImportSshPublicKeyResponse ImportSshPublicKey(ImportSshPublicKeyRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ImportSshPublicKeyResponse | The response received from the server. |
ImportSshPublicKey(ImportSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ImportSshPublicKeyResponse ImportSshPublicKey(ImportSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ImportSshPublicKeyResponse | The response received from the server. |
ImportSshPublicKeyAsync(ImportSshPublicKeyRequest, CallOptions)
public virtual AsyncUnaryCall<ImportSshPublicKeyResponse> ImportSshPublicKeyAsync(ImportSshPublicKeyRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImportSshPublicKeyResponse> | The call object. |
ImportSshPublicKeyAsync(ImportSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ImportSshPublicKeyResponse> ImportSshPublicKeyAsync(ImportSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ImportSshPublicKeyResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override OsLoginService.OsLoginServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
OsLoginService.OsLoginServiceClient |
UpdateSshPublicKey(UpdateSshPublicKeyRequest, CallOptions)
public virtual SshPublicKey UpdateSshPublicKey(UpdateSshPublicKeyRequest request, CallOptions options)
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The response received from the server. |
UpdateSshPublicKey(UpdateSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SshPublicKey UpdateSshPublicKey(UpdateSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
SshPublicKey | The response received from the server. |
UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest, CallOptions)
public virtual AsyncUnaryCall<SshPublicKey> UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest request, CallOptions options)
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SshPublicKey> | The call object. |
UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SshPublicKey> UpdateSshPublicKeyAsync(UpdateSshPublicKeyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Parameters | |
---|---|
Name | Description |
request | UpdateSshPublicKeyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<SshPublicKey> | The call object. |