Class UsersResource
The "users" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudOSLogin.v1beta
Assembly: Google.Apis.CloudOSLogin.v1beta.dll
Syntax
public class UsersResource
Constructors
UsersResource(IClientService)
Constructs a new resource.
Declaration
public UsersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Projects
Gets the Projects resource.
Declaration
public virtual UsersResource.ProjectsResource Projects { get; }
Property Value
Type | Description |
---|---|
UsersResource.ProjectsResource |
SshPublicKeys
Gets the SshPublicKeys resource.
Declaration
public virtual UsersResource.SshPublicKeysResource SshPublicKeys { get; }
Property Value
Type | Description |
---|---|
UsersResource.SshPublicKeysResource |
Methods
GetLoginProfile(string)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Declaration
public virtual UsersResource.GetLoginProfileRequest GetLoginProfile(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The unique ID for the user in format |
Returns
Type | Description |
---|---|
UsersResource.GetLoginProfileRequest |
ImportSshPublicKey(SshPublicKey, string)
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.
Declaration
public virtual UsersResource.ImportSshPublicKeyRequest ImportSshPublicKey(SshPublicKey body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SshPublicKey | body | The body of the request. |
string | parent | The unique ID for the user in format |
Returns
Type | Description |
---|---|
UsersResource.ImportSshPublicKeyRequest |